#D8DEF7#D8DEF7
#D8DEF7 is a very light, muted blue. Relative luminance 0.736; OKLCH L 90.4% C 0.035 H 275.0°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D8DEF7 |
|---|---|
| RGB | rgb(216, 222, 247) |
| HSL | hsl(228, 66%, 91%) |
| HSV | hsv(228, 13%, 97%) |
| CMYK | cmyk(12.6%, 10.1%, 0%, 3.1%) |
| CIE-LAB | lab(88.71, 2.81, -12.84) |
| CIE-LCH | lch(88.71, 13.14, 282.33°) |
| OKLab | oklab(90.37% 0.003 -0.0346) |
| OKLCH | oklch(90.37% 0.035 275) |
| XYZ | xyz(71.2250, 73.5561, 98.4230) |
| Luminance | 0.7356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 3.44
Light Blue Grey
#B7C9E2
ΔE00 7.45
Periwinkle
#CCCCFF
ΔE00 8.24
Fog
#D8DCE0
ΔE00 8.75
Lightsteelblue
#B0C4DE
ΔE00 8.86
Ghostwhite
#F8F8FF
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8DEF7 #F7F1D8
analogous
#D8EDF7 #D8DEF7 #E1D8F7
triadic
#D8DEF7 #F7D8DE #DEF7D8
tetradic
#D8DEF7 #F7D8ED #F7F1D8 #D8F7E1
square
#D8DEF7 #F7D8ED #F7F1D8 #D8F7E1
split-complementary
#D8DEF7 #F7E1D8 #EDF7D8
monochromatic
#7288E2 #A5B3ED #D8DEF7 #E6EAFA #E6EAFA
Accessibility & contrast
On white
1.34
#D8DEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.71
#D8DEF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8DEF7
15.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8DEF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8DEF7 | 1.00 | 1.34 | 15.71 | 15.71 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7E0F8
Deuteranopia (green-blind)
#D5DEF6
Tritanopia (blue-blind)
#D1E2E6
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #d8def7; /* rgb */ color: rgb(216, 222, 247); /* oklch */ color: oklch(90.4% 0.035 275.0);
Tailwind
colors: {
custom: {
50: '#e4e8f9',
500: '#d8def7',
950: '#000000',
},
}SCSS
$custom: #d8def7; $custom-light: #e4e8f9; $custom-dark: #000000;
JSON
{
"hex": "#d8def7",
"rgb": {
"r": 216,
"g": 222,
"b": 247
},
"hsl": {
"h": 228.387,
"s": 65.957,
"l": 90.784
},
"oklch": {
"l": 0.90368,
"c": 0.03477,
"h": 275
},
"luminance": 0.73557
}Semantic roles & 50–950 ramp
primary
#D8DEF7
secondary
#DACD9A
accent
#AB18CE
background
#FEFEFF
surface
#FCFCFF
border
#D5D5D7
text
#151617
muted
#848485