#D7D8EB
Closest named color: Gainsboro (#DCDCDC). oklch(88.7% 0.026 283.5), rgb(215, 216, 235).
Aa
Black text reads best on this color (14.91:1).
About this color
#D7D8EB is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.027 away. Black text reads best on it, at 14.91:1.
| Hue family | Neutrals |
| Lightness | light (89%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 14.91:1 |
| White text | 1.40:1 |
Values
| HEX | #D7D8EB |
| RGB | rgb(215, 216, 235) |
| HSL | hsl(237, 33%, 88%) |
| OKLCH | oklch(88.7% 0.026 283.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 #D7D8EB | 1.40:1 | Fails | Lc -22.5 | Dividers and decoration only |
| Black text on #D7D8EB | 14.91:1 | AAA | Lc 84.0 | Fine for body text |
| #D7D8EB text on white | 1.40:1 | Fails | Lc 19.7 | Dividers and decoration only |
| #D7D8EB text on black | 14.91:1 | AAA | Lc -83.7 | 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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9F0
oklch(93.6% 0.009 286.2)
-
Step 200
200 (this color)
#D7D8EB
oklch(88.7% 0.026 283.5)
-
Step 300
300
#BDBED6
oklch(80.8% 0.034 283.7)
-
Step 400
400
#9C9DC2
oklch(70.8% 0.054 283.7)
-
Step 500
500
#8484B2
oklch(63.1% 0.069 284.3)
-
Step 600
600
#6D6E9E
oklch(55.7% 0.074 282.8)
-
Step 700
700
#5B5B87
oklch(49% 0.07 283.5)
-
Step 800
800
#4B4B6D
oklch(42.7% 0.056 283.8)
-
Step 900
900
#3E3F59
oklch(37.8% 0.044 282.4)
-
Step 950
950
#242534
oklch(27% 0.028 281.4)
#D7D8EB 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) | #D4DAEC | 0.006 |
| Deuteranopia (no green cones) | #D3D9EA | 0.006 |
| Tritanopia (no blue cones) | #D3DBDE | 0.023 |
| Achromatopsia (no color) | #D9D9D9 | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7D8EB
#D7D8EB
oklch(88.7% 0.026 283.5)
- #DCDBC8
#DCDBC8
oklch(88.7% 0.026 104.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 #D7D8EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.027
- Cadet Gray #CED4DA ΔE 0.027
- Light Gray #D3D3D3 ΔE 0.033
- Platinum #E0E1DD ΔE 0.037
- Pale Silver #D8E2DC ΔE 0.039
- Lavender #E6E6FA ΔE 0.044
- Pale Lavender #EECFFE ΔE 0.051
- Powder Blue #B0E0E6 ΔE 0.053
Use #D7D8EB 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.