Tailwind CSS v3 color
Tailwind sky-300 #7DD3FC
Tailwind CSS v3's sky-300 is #7DD3FC. It is a pale soft blue in the blue family. In OKLCH it sits at lightness 0.828, chroma 0.101 and hue 230.3°. The nearest CSS named color is lightskyblue (#87CEFA), ΔE2000 2.8 away.
- Relative luminance
- 0.5798
- OKLCH L · C · h
- 0.828 · 0.101 · 230.3
- Best text
- Black 12.59:1
- Hue family
- Blue
#7DD3FC color codes
- HEX
#7DD3FC- RGB
rgb(125, 211, 252)- HSL
hsl(199, 95%, 74%)- OKLCH
oklch(0.828 0.101 230.3)- OKLab
oklab(0.828 -0.065 -0.078)- CIELAB (D65)
L* 80.72, a* -15.13, b* -28.07- XYZ (D65)
X 49.32, Y 57.97, Z 100.67- CMYK (naive)
cmyk(50%, 16%, 0%, 1%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #7DD3FC accessible?
Black text on it reaches 12.59:1, passing AAA. White text fails at 1.66:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
12.59:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +74
-
White text on it
1.66:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −32
-
As text on black
12.59:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −73
-
As text on white
1.66:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +29
Nearest versions that pass 4.5:1
-
For text on white
#227FA5 4.51:1
Darkening its OKLCH lightness from 0.83 to 0.56 reaches 4.51:1 on white, keeping the hue.
-
For text on black
#7DD3FC 12.59:1
It already reaches 12.59:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #7DD3FC live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #7DD3FC
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #7DD3FC sits at step 300.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Tailwind CSS v3 sky scale
The real Tailwind palette, for comparison with the computed ramp above.
Gamut
How vivid #7DD3FC can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.107; #7DD3FC uses 95% of it. Display P3, which many recent phones and laptops show, reaches 0.116 there: 9% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.101
- sRGB edge
- 0.107
- Display P3 edge
- 0.116
- Rec. 2020 edge
- 0.118
- Dominant wavelength
- 483 nm
- Excitation purity
- 32%
- Chromaticity
- x 0.2371, y 0.2788
- This color#7DD3FC
- Most vivid in sRGB#77D4FF
- Most vivid in Display P3oklch(0.828 0.116 230.3)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #7dd3fc;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.5321 0.8236 1); }
}
Mixing
Mixing #7DD3FC
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#BEE9FE
- OKLab50%#C1EAFE
- OKLCH50%#C1EAFE
Black #000000
- sRGB50%#3F6A7E
- OKLab50%#2C5162
- OKLCH50%#2C5162
Its complement #FCB38A
- sRGB50%#BDC3C3
- OKLab50%#C6C6C6
- OKLCH50%#E4B1EF
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #7dd3fc, white);
color: color-mix(in oklch, #7dd3fc 50%, white);
In use
#7DD3FC in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:112.59:1 Passes
- Link and body-size textText, 4.5:11.66:1 Fails
- Large headingLarge text, 3:11.66:1 Fails
- Icons, borders and focus ringsNon-text, 3:11.66:1 Fails
For text on this page, the nearest shade that passes is #227FA5 4.51:1
Dark page
- Button labelText, 4.5:112.59:1 Passes
- Link and body-size textText, 4.5:111.23:1 Passes
- Large headingLarge text, 3:111.23:1 Passes
- Icons, borders and focus ringsNon-text, 3:111.23:1 Passes
Color vision
How #7DD3FC looks with color blindness
Achromatopsia changes it most, ΔE2000 19.6; deuteranopia changes it least, 14.8.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#BED0FE ΔE2000 15.4
Distinct
Reads as pale muted blue
-
Deuteranopia
No working green (medium-wavelength) cones
#ACC2FB ΔE2000 14.8
Distinct
Reads as light muted blue
-
Tritanopia
No working blue (short-wavelength) cones
#33DEE0 ΔE2000 15.9
Distinct
Reads as pale soft cyan
-
Achromatopsia
No cone color vision; lightness only
#C8C8C8 ΔE2000 19.6
Distinct
Reads as light gray
Pairing check
Checked against its complement, #FCB38A. Their lightness contrast is only 1.05:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #7DD3FC · #FCB38A | 42.7 | Stays distinct |
| Protanopia | #BED0FE · #C7BA87 | 36.4 | Stays distinct |
| Deuteranopia | #ACC2FB · #D8CA8A | 41.6 | Stays distinct |
| Tritanopia | #33DEE0 · #FFA6A8 | 51.7 | Stays distinct |
| Achromatopsia | #C8C8C8 · #C3C3C3 | 1.3 | Easily confused |
Harmony
Color harmonies for #7DD3FC
Its complement is #FCB38A, a pale soft orange, on the warm side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#7DD3FC
- Complement#FCB38A
Complementary
Open in Harmony Studio- −30°#6CDBE1
- Base#7DD3FC
- +30°#A6C8FF
Analogous
Open in Harmony Studio- Base#7DD3FC
- +120°#F9ABCF
- +240°#CACD7E
Triadic
Open in Harmony Studio- Base#7DD3FC
- +150°#FFAEAC
- +210°#E9C078
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-sky-300: #7dd3fc;
}
// tailwind.config.js — already built in as sky-300;
// pin the v3 value explicitly like this:
module.exports = {
theme: {
extend: {
colors: {
sky: { 300: '#7dd3fc' },
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own sky-300; this pins the v3 value. */
--color-sky-300: oklch(0.828 0.101 230.3);
}
{
"color": {
"sky-300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.4902, 0.8275, 0.9882],
"hex": "#7dd3fc"
},
"$description": "Tailwind CSS v3 sky-300"
}
}
}
import SwiftUI
enum Palette {
static let sky300 = Color(.sRGB, red: 0.490, green: 0.827, blue: 0.988, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Sky300 = Color(0xFF7DD3FC)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #7DD3FC in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.