#D4DEF3
Closest named color: Gainsboro (#DCDCDC). oklch(89.9% 0.031 265.3), rgb(212, 222, 243).
Aa
Black text reads best on this color (15.54:1).
About this color
#D4DEF3 is a light, muted blue. In OKLCH its lightness is 90%, its chroma 0.031 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.031 away. Black text reads best on it, at 15.54:1.
| Hue family | Blues |
| Lightness | light (90%) |
| Chroma | muted (0.031) |
| Temperature | cool |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 15.54:1 |
| White text | 1.35:1 |
Values
| HEX | #D4DEF3 |
| RGB | rgb(212, 222, 243) |
| HSL | hsl(221, 56%, 89%) |
| OKLCH | oklch(89.9% 0.031 265.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 #D4DEF3 | 1.35:1 | Fails | Lc -19.8 | Dividers and decoration only |
| Black text on #D4DEF3 | 15.54:1 | AAA | Lc 86.4 | Fine for body text |
| #D4DEF3 text on white | 1.35:1 | Fails | Lc 17.2 | Dividers and decoration only |
| #D4DEF3 text on black | 15.54:1 | AAA | Lc -86.4 | 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
#E6EAF2
oklch(93.6% 0.012 264.5)
-
Step 200
200 (this color)
#D4DEF3
oklch(89.9% 0.031 265.3)
-
Step 300
300
#B4C1DB
oklch(80.9% 0.039 264.3)
-
Step 400
400
#8EA0C9
oklch(70.6% 0.064 266.3)
-
Step 500
500
#7289BB
oklch(63.2% 0.08 265.1)
-
Step 600
600
#5A72A7
oklch(55.6% 0.088 265.1)
-
Step 700
700
#4A5F8F
oklch(49% 0.082 265.5)
-
Step 800
800
#3D4E74
oklch(42.7% 0.067 265.3)
-
Step 900
900
#34415E
oklch(37.7% 0.053 265.4)
-
Step 950
950
#1E2637
oklch(26.9% 0.034 264.8)
#D4DEF3 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) | #D8DFF4 | 0.006 |
| Deuteranopia (no green cones) | #D5DCF2 | 0.005 |
| Tritanopia (no blue cones) | #CDE2E5 | 0.027 |
| Achromatopsia (no color) | #DEDEDE | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4DEF3
#D4DEF3
oklch(89.9% 0.031 265.3)
- #E7DDC7
#E7DDC7
oklch(90% 0.031 86.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 #D4DEF3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.031
- Lavender #E6E6FA ΔE 0.033
- Platinum #E0E1DD ΔE 0.036
- Pale Silver #D8E2DC ΔE 0.037
- Cadet Gray #CED4DA ΔE 0.039
- Light Gray #D3D3D3 ΔE 0.045
- Powder Blue #B0E0E6 ΔE 0.050
- Diamond #B9F2FF ΔE 0.055
Use #D4DEF3 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.