#D2D7EF
Closest named color: Cadet Gray (#CED4DA). oklch(88.3% 0.033 276.3), rgb(210, 215, 239).
Aa
Black text reads best on this color (14.70:1).
About this color
#D2D7EF is a light, muted blue. In OKLCH its lightness is 88%, its chroma 0.033 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.029 away. Black text reads best on it, at 14.70:1.
| Hue family | Blues |
| Lightness | light (88%) |
| Chroma | muted (0.033) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.70:1 |
| White text | 1.42:1 |
Values
| HEX | #D2D7EF |
| RGB | rgb(210, 215, 239) |
| HSL | hsl(230, 48%, 88%) |
| OKLCH | oklch(88.3% 0.033 276.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 #D2D7EF | 1.42:1 | Fails | Lc -23.4 | Dividers and decoration only |
| Black text on #D2D7EF | 14.70:1 | AAA | Lc 83.1 | Fine for body text |
| #D2D7EF text on white | 1.42:1 | Fails | Lc 20.6 | Dividers and decoration only |
| #D2D7EF text on black | 14.70:1 | AAA | Lc -82.8 | 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
#E7E9F2
oklch(93.5% 0.012 276.1)
-
Step 200
200 (this color)
#D2D7EF
oklch(88.3% 0.033 276.3)
-
Step 300
300
#B9BFDD
oklch(81% 0.043 276.5)
-
Step 400
400
#959DCC
oklch(70.7% 0.069 277)
-
Step 500
500
#7B85BF
oklch(63.2% 0.088 276.1)
-
Step 600
600
#656EAB
oklch(55.7% 0.095 276.5)
-
Step 700
700
#535B93
oklch(49% 0.09 276.4)
-
Step 800
800
#444B77
oklch(42.7% 0.073 275.9)
-
Step 900
900
#393F60
oklch(37.7% 0.057 275.4)
-
Step 950
950
#222538
oklch(27.1% 0.036 276.8)
#D2D7EF 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) | #D1D9F0 | 0.005 |
| Deuteranopia (no green cones) | #CFD7EE | 0.004 |
| Tritanopia (no blue cones) | #CCDBDF | 0.029 |
| Achromatopsia (no color) | #D8D8D8 | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2D7EF
#D2D7EF
oklch(88.3% 0.033 276.3)
- #DED9C0
#DED9C0
oklch(88.3% 0.034 97.7)
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 #D2D7EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.029
- Gainsboro #DCDCDC ΔE 0.035
- Light Gray #D3D3D3 ΔE 0.037
- Platinum #E0E1DD ΔE 0.046
- Pale Silver #D8E2DC ΔE 0.046
- Lavender #E6E6FA ΔE 0.049
- Light Blue #ADD8E6 ΔE 0.049
- Pale Lilac #E4CBFF ΔE 0.049
Use #D2D7EF 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.