#D3D7EF
Closest named color: Cadet Gray (#CED4DA). oklch(88.3% 0.033 278.2), rgb(211, 215, 239).
Aa
Black text reads best on this color (14.73:1).
About this color
#D3D7EF is a light, muted blue. In OKLCH its lightness is 88%, its chroma 0.033 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.030 away. Black text reads best on it, at 14.73:1.
| Hue family | Blues |
| Lightness | light (88%) |
| Chroma | muted (0.033) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.73:1 |
| White text | 1.42:1 |
Values
| HEX | #D3D7EF |
| RGB | rgb(211, 215, 239) |
| HSL | hsl(231, 47%, 88%) |
| OKLCH | oklch(88.3% 0.033 278.2) |
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 #D3D7EF | 1.42:1 | Fails | Lc -23.3 | Dividers and decoration only |
| Black text on #D3D7EF | 14.73:1 | AAA | Lc 83.3 | Fine for body text |
| #D3D7EF text on white | 1.42:1 | Fails | Lc 20.4 | Dividers and decoration only |
| #D3D7EF text on black | 14.73:1 | AAA | Lc -83.0 | 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
#E8E9F2
oklch(93.6% 0.012 281.1)
-
Step 200
200 (this color)
#D3D7EF
oklch(88.3% 0.033 278.2)
-
Step 300
300
#BABEDD
oklch(80.8% 0.044 279.6)
-
Step 400
400
#969DCB
oklch(70.7% 0.068 277.8)
-
Step 500
500
#7D84BE
oklch(63.1% 0.088 278.3)
-
Step 600
600
#676DAA
oklch(55.6% 0.095 278.6)
-
Step 700
700
#555B92
oklch(49.1% 0.088 277.9)
-
Step 800
800
#464A77
oklch(42.6% 0.075 278.9)
-
Step 900
900
#3B3E60
oklch(37.7% 0.058 279.3)
-
Step 950
950
#222538
oklch(27.1% 0.036 276.8)
#D3D7EF 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.006 |
| Tritanopia (no blue cones) | #CDDBDF | 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°).
- #D3D7EF
#D3D7EF
oklch(88.3% 0.033 278.2)
- #DED9C1
#DED9C1
oklch(88.3% 0.033 97.3)
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 #D3D7EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.030
- Gainsboro #DCDCDC ΔE 0.035
- Light Gray #D3D3D3 ΔE 0.037
- Platinum #E0E1DD ΔE 0.045
- Pale Silver #D8E2DC ΔE 0.046
- Lavender #E6E6FA ΔE 0.048
- Pale Lilac #E4CBFF ΔE 0.049
- Pale Lavender #EECFFE ΔE 0.050
Use #D3D7EF 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.