#D2D8EC
Closest named color: Cadet Gray (#CED4DA). oklch(88.4% 0.028 272.5), rgb(210, 216, 236).
Aa
Black text reads best on this color (14.77:1).
About this color
#D2D8EC is a light close to neutral grey. In OKLCH its lightness is 88%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.025 away. Black text reads best on it, at 14.77:1.
| Hue family | Neutrals |
| Lightness | light (88%) |
| Chroma | close to neutral grey (0.028) |
| Temperature | neutral |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.77:1 |
| White text | 1.42:1 |
Values
| HEX | #D2D8EC |
| RGB | rgb(210, 216, 236) |
| HSL | hsl(226, 41%, 87%) |
| OKLCH | oklch(88.4% 0.028 272.5) |
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 #D2D8EC | 1.42:1 | Fails | Lc -23.1 | Dividers and decoration only |
| Black text on #D2D8EC | 14.77:1 | AAA | Lc 83.4 | Fine for body text |
| #D2D8EC text on white | 1.42:1 | Fails | Lc 20.3 | Dividers and decoration only |
| #D2D8EC text on black | 14.77:1 | AAA | Lc -83.1 | 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)
#D2D8EC
oklch(88.4% 0.028 272.5)
-
Step 300
300
#B8C0D9
oklch(81% 0.036 271.5)
-
Step 400
400
#949FC6
oklch(70.8% 0.058 272.5)
-
Step 500
500
#7A87B7
oklch(63.1% 0.074 272.4)
-
Step 600
600
#6370A3
oklch(55.6% 0.081 272.6)
-
Step 700
700
#525E8C
oklch(49.2% 0.075 272.2)
-
Step 800
800
#434D71
oklch(42.7% 0.061 271.7)
-
Step 900
900
#39405C
oklch(37.8% 0.049 273.1)
-
Step 950
950
#212636
oklch(27.1% 0.031 270.8)
#D2D8EC 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) | #D3D9ED | 0.003 |
| Deuteranopia (no green cones) | #D1D7EB | 0.003 |
| Tritanopia (no blue cones) | #CCDCDE | 0.027 |
| Achromatopsia (no color) | #D8D8D8 | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2D8EC
#D2D8EC
oklch(88.4% 0.028 272.5)
- #DFD9C4
#DFD9C4
oklch(88.4% 0.029 93.8)
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 #D2D8EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.025
- Gainsboro #DCDCDC ΔE 0.030
- Light Gray #D3D3D3 ΔE 0.033
- Pale Silver #D8E2DC ΔE 0.041
- Platinum #E0E1DD ΔE 0.041
- Lavender #E6E6FA ΔE 0.048
- Powder Blue #B0E0E6 ΔE 0.048
- Light Blue #ADD8E6 ΔE 0.048
Use #D2D8EC 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.