#D1D7EA
Closest named color: Cadet Gray (#CED4DA). oklch(88% 0.027 271.8), rgb(209, 215, 234).
Aa
Black text reads best on this color (14.61:1).
About this color
#D1D7EA is a light close to neutral grey. In OKLCH its lightness is 88%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.022 away. Black text reads best on it, at 14.61:1.
| Hue family | Neutrals |
| Lightness | light (88%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.61:1 |
| White text | 1.43:1 |
Values
| HEX | #D1D7EA |
| RGB | rgb(209, 215, 234) |
| HSL | hsl(226, 37%, 87%) |
| OKLCH | oklch(88% 0.027 271.8) |
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 #D1D7EA | 1.43:1 | Fails | Lc -23.8 | Dividers and decoration only |
| Black text on #D1D7EA | 14.61:1 | AAA | Lc 82.8 | Fine for body text |
| #D1D7EA text on white | 1.43:1 | Fails | Lc 20.9 | Dividers and decoration only |
| #D1D7EA text on black | 14.61:1 | AAA | Lc -82.4 | 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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E7EAF1
oklch(93.7% 0.01 267.4)
-
Step 200
200 (this color)
#D1D7EA
oklch(88% 0.027 271.8)
-
Step 300
300
#B8C0D8
oklch(80.9% 0.035 271)
-
Step 400
400
#949FC4
oklch(70.7% 0.056 272)
-
Step 500
500
#7A87B5
oklch(63.1% 0.071 272)
-
Step 600
600
#6371A1
oklch(55.7% 0.077 271.3)
-
Step 700
700
#525E8A
oklch(49.1% 0.072 271.9)
-
Step 800
800
#434D70
oklch(42.7% 0.06 271.5)
-
Step 900
900
#39405A
oklch(37.7% 0.046 272.4)
-
Step 950
950
#212635
oklch(27.1% 0.029 270.1)
#D1D7EA 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) | #D2D8EB | 0.003 |
| Deuteranopia (no green cones) | #D0D6EA | 0.003 |
| Tritanopia (no blue cones) | #CCDADD | 0.023 |
| Achromatopsia (no color) | #D7D7D7 | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1D7EA
#D1D7EA
oklch(88% 0.027 271.8)
- #DED7C4
#DED7C4
oklch(88% 0.027 90.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 #D1D7EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.022
- Light Gray #D3D3D3 ΔE 0.030
- Gainsboro #DCDCDC ΔE 0.030
- Pale Silver #D8E2DC ΔE 0.041
- Platinum #E0E1DD ΔE 0.042
- Light Blue #ADD8E6 ΔE 0.046
- Powder Blue #B0E0E6 ΔE 0.047
- Lavender #E6E6FA ΔE 0.051
Use #D1D7EA 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.