#D4DEF2
Closest named color: Gainsboro (#DCDCDC). oklch(89.9% 0.029 264.4), rgb(212, 222, 242).
Aa
Black text reads best on this color (15.53:1).
About this color
#D4DEF2 is a light close to neutral grey. In OKLCH its lightness is 90%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.030 away. Black text reads best on it, at 15.53:1.
| Hue family | Neutrals |
| Lightness | light (90%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 15.53:1 |
| White text | 1.35:1 |
Values
| HEX | #D4DEF2 |
| RGB | rgb(212, 222, 242) |
| HSL | hsl(220, 54%, 89%) |
| OKLCH | oklch(89.9% 0.029 264.4) |
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 #D4DEF2 | 1.35:1 | Fails | Lc -19.8 | Dividers and decoration only |
| Black text on #D4DEF2 | 15.53:1 | AAA | Lc 86.4 | Fine for body text |
| #D4DEF2 text on white | 1.35:1 | Fails | Lc 17.3 | Dividers and decoration only |
| #D4DEF2 text on black | 15.53:1 | AAA | Lc -86.3 | 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
#E6EAF1
oklch(93.6% 0.01 261.8)
-
Step 200
200 (this color)
#D4DEF2
oklch(89.9% 0.029 264.4)
-
Step 300
300
#B4C1DA
oklch(80.9% 0.038 263.6)
-
Step 400
400
#8EA1C7
oklch(70.8% 0.06 264.1)
-
Step 500
500
#7289B9
oklch(63.1% 0.077 264.5)
-
Step 600
600
#5A72A5
oklch(55.5% 0.085 264.5)
-
Step 700
700
#4A608D
oklch(49.1% 0.077 263.8)
-
Step 800
800
#3D4E73
oklch(42.6% 0.066 264.9)
-
Step 900
900
#34415D
oklch(37.7% 0.051 264.9)
-
Step 950
950
#1F2636
oklch(26.9% 0.032 266.1)
#D4DEF2 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) | #D8DFF3 | 0.006 |
| Deuteranopia (no green cones) | #D5DCF2 | 0.005 |
| Tritanopia (no blue cones) | #CDE2E4 | 0.027 |
| Achromatopsia (no color) | #DDDDDD | 0.030 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4DEF2
#D4DEF2
oklch(89.9% 0.029 264.4)
- #E7DDC8
#E7DDC8
oklch(90% 0.03 85.6)
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 #D4DEF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.030
- Lavender #E6E6FA ΔE 0.034
- Platinum #E0E1DD ΔE 0.035
- Pale Silver #D8E2DC ΔE 0.036
- Cadet Gray #CED4DA ΔE 0.038
- Light Gray #D3D3D3 ΔE 0.044
- Powder Blue #B0E0E6 ΔE 0.049
- Diamond #B9F2FF ΔE 0.055
Use #D4DEF2 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.