#DEF2FF#DEF2FF
#DEF2FF is a very light, muted cyan. Relative luminance 0.863; OKLCH L 95.0% C 0.028 H 236.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF2FF |
|---|---|
| RGB | rgb(222, 242, 255) |
| HSL | hsl(204, 100%, 94%) |
| HSV | hsv(204, 13%, 100%) |
| CMYK | cmyk(12.9%, 5.1%, 0%, 0%) |
| CIE-LAB | lab(94.42, -4.02, -8.48) |
| CIE-LCH | lch(94.42, 9.38, 244.65°) |
| OKLab | oklab(95.03% -0.0153 -0.0228) |
| OKLCH | oklch(95.03% 0.028 236.2) |
| XYZ | xyz(79.9221, 86.2524, 107.0260) |
| Luminance | 0.8625 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Aliceblue
#F0F8FF
ΔE00 4.66
Azure (CSS)
#F0FFFF
ΔE00 6.32
Fog
#D8DCE0
ΔE00 7.47
Lightcyan
#E0FFFF
ΔE00 8.06
Ghostwhite
#F8F8FF
ΔE00 8.22
Whitesmoke
#F5F5F5
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF2FF #FFEBDE
analogous
#DEFFFB #DEF2FF #DEE1FF
triadic
#DEF2FF #FFDEF2 #F2FFDE
tetradic
#DEF2FF #FBDEFF #FFEBDE #E1FFDE
square
#DEF2FF #FBDEFF #FFEBDE #E1FFDE
split-complementary
#DEF2FF #FFDEE1 #FFFBDE
monochromatic
#64C2FF #A1DAFF #DEF2FF #E0F3FF #E0F3FF
Accessibility & contrast
On white
1.15
#DEF2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.25
#DEF2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF2FF
18.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF2FF | 1.00 | 1.15 | 18.25 | 18.25 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECF1FF
Deuteranopia (green-blind)
#E8EDFF
Tritanopia (blue-blind)
#D6F5F6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #def2ff; /* rgb */ color: rgb(222, 242, 255); /* oklch */ color: oklch(95.0% 0.028 236.2);
Tailwind
colors: {
custom: {
50: '#e8f6ff',
500: '#def2ff',
950: '#000000',
},
}SCSS
$custom: #def2ff; $custom-light: #e8f6ff; $custom-dark: #000000;
JSON
{
"hex": "#def2ff",
"rgb": {
"r": 222,
"g": 242,
"b": 255
},
"hsl": {
"h": 203.636,
"s": 100,
"l": 93.529
},
"oklch": {
"l": 0.95032,
"c": 0.0275,
"h": 236.2
},
"luminance": 0.86254
}Semantic roles & 50–950 ramp
primary
#DEF2FF
secondary
#ECB795
accent
#5A00E6
background
#FEFFFF
surface
#FCFEFF
border
#D5D6D7
text
#161718
muted
#848586