#D4DAF2
Closest named color: Gainsboro (#DCDCDC). oklch(89.1% 0.034 274.5), rgb(212, 218, 242).
Aa
Black text reads best on this color (15.11:1).
About this color
#D4DAF2 is a light, muted blue. In OKLCH its lightness is 89%, its chroma 0.034 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.034 away. Black text reads best on it, at 15.11:1.
| Hue family | Blues |
| Lightness | light (89%) |
| Chroma | muted (0.034) |
| Temperature | cool |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 15.11:1 |
| White text | 1.38:1 |
Values
| HEX | #D4DAF2 |
| RGB | rgb(212, 218, 242) |
| HSL | hsl(228, 54%, 89%) |
| OKLCH | oklch(89.1% 0.034 274.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 #D4DAF2 | 1.38:1 | Fails | Lc -21.6 | Dividers and decoration only |
| Black text on #D4DAF2 | 15.11:1 | AAA | Lc 84.7 | Fine for body text |
| #D4DAF2 text on white | 1.38:1 | Fails | Lc 18.9 | Dividers and decoration only |
| #D4DAF2 text on black | 15.11:1 | AAA | Lc -84.5 | 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)
#D4DAF2
oklch(89.1% 0.034 274.5)
-
Step 300
300
#B8BFDD
oklch(80.9% 0.043 275)
-
Step 400
400
#939ECC
oklch(70.7% 0.069 274.1)
-
Step 500
500
#7985BF
oklch(63% 0.089 274.6)
-
Step 600
600
#636EAB
oklch(55.6% 0.096 275.1)
-
Step 700
700
#525C93
oklch(49.1% 0.089 274.8)
-
Step 800
800
#434B77
oklch(42.6% 0.074 275)
-
Step 900
900
#383F60
oklch(37.7% 0.057 274.2)
-
Step 950
950
#212538
oklch(27% 0.036 274.6)
#D4DAF2 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) | #D4DCF3 | 0.005 |
| Deuteranopia (no green cones) | #D2DAF1 | 0.003 |
| Tritanopia (no blue cones) | #CEDEE2 | 0.029 |
| Achromatopsia (no color) | #DBDBDB | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4DAF2
#D4DAF2
oklch(89.1% 0.034 274.5)
- #E2DBC3
#E2DBC3
oklch(89.1% 0.033 93.5)
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 #D4DAF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.034
- Cadet Gray #CED4DA ΔE 0.034
- Lavender #E6E6FA ΔE 0.041
- Light Gray #D3D3D3 ΔE 0.041
- Platinum #E0E1DD ΔE 0.042
- Pale Silver #D8E2DC ΔE 0.043
- Pale Lavender #EECFFE ΔE 0.050
- Pale Lilac #E4CBFF ΔE 0.051
Use #D4DAF2 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.