#D4D7EC
Closest named color: Cadet Gray (#CED4DA). oklch(88.3% 0.029 279.3), rgb(212, 215, 236).
Aa
Black text reads best on this color (14.73:1).
About this color
#D4D7EC is a light close to neutral grey. In OKLCH its lightness is 88%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.026 away. Black text reads best on it, at 14.73:1.
| Hue family | Neutrals |
| Lightness | light (88%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.73:1 |
| White text | 1.42:1 |
Values
| HEX | #D4D7EC |
| RGB | rgb(212, 215, 236) |
| HSL | hsl(233, 39%, 88%) |
| OKLCH | oklch(88.3% 0.029 279.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D4D7EC | 1.42:1 | Fails | Lc -23.3 | Dividers and decoration only |
| Black text on #D4D7EC | 14.73:1 | AAA | Lc 83.2 | Fine for body text |
| #D4D7EC text on white | 1.42:1 | Fails | Lc 20.5 | Dividers and decoration only |
| #D4D7EC text on black | 14.73:1 | AAA | Lc -82.9 | Fine for body text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.
-
Step 50
50
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E8E9F1
oklch(93.6% 0.011 280.5)
-
Step 200
200 (this color)
#D4D7EC
oklch(88.3% 0.029 279.3)
-
Step 300
300
#BBBFD9
oklch(81% 0.037 278.6)
-
Step 400
400
#989DC6
oklch(70.6% 0.06 279.3)
-
Step 500
500
#7F85B7
oklch(63.1% 0.075 278.7)
-
Step 600
600
#696EA3
oklch(55.6% 0.082 279.2)
-
Step 700
700
#585C8C
oklch(49.2% 0.077 279.5)
-
Step 800
800
#484B71
oklch(42.7% 0.063 279.9)
-
Step 900
900
#3C3F5C
oklch(37.8% 0.05 279.2)
-
Step 950
950
#232536
oklch(27% 0.032 278.9)
#D4D7EC with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D2D9ED | 0.005 |
| Deuteranopia (no green cones) | #D1D7EB | 0.004 |
| Tritanopia (no blue cones) | #CFDADE | 0.025 |
| Achromatopsia (no color) | #D8D8D8 | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4D7EC
#D4D7EC
oklch(88.3% 0.029 279.3)
- #DDD9C4
#DDD9C4
oklch(88.3% 0.028 98.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D4D7EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.026
- Gainsboro #DCDCDC ΔE 0.031
- Light Gray #D3D3D3 ΔE 0.033
- Platinum #E0E1DD ΔE 0.042
- Pale Silver #D8E2DC ΔE 0.043
- Lavender #E6E6FA ΔE 0.048
- Light Blue #ADD8E6 ΔE 0.050
- Powder Blue #B0E0E6 ΔE 0.051
Use #D4D7EC in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.