#D7D8E2

Closest named color: Gainsboro (#DCDCDC). oklch(88.4% 0.014 281.5), rgb(215, 216, 226).

Aa

Black text reads best on this color (14.80:1).

About this color

#D7D8E2 is a light close to neutral grey. In OKLCH its lightness is 88%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.017 away. Black text reads best on it, at 14.80:1.

Hue familyNeutrals
Lightnesslight (88%)
Chromaclose to neutral grey (0.014)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text14.80:1
White text1.41:1

Values

HEX#D7D8E2
RGBrgb(215, 216, 226)
HSLhsl(235, 16%, 86%)
OKLCHoklch(88.4% 0.014 281.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D7D8E2 1.41:1 Fails Lc -23.0 Dividers and decoration only
Black text on #D7D8E2 14.80:1 AAA Lc 83.5 Fine for body text
#D7D8E2 text on white 1.41:1 Fails Lc 20.2 Dividers and decoration only
#D7D8E2 text on black 14.80:1 AAA Lc -83.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.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200 (this color)

    #D7D8E2

    oklch(88.4% 0.014 281.5)

  4. Step 300

    300

    #BEBFCC

    oklch(80.8% 0.018 282.5)

  5. Step 400

    400

    #9D9FB2

    oklch(70.7% 0.028 280.9)

  6. Step 500

    500

    #85879F

    oklch(63% 0.036 281.5)

  7. Step 600

    600

    #6F718A

    oklch(55.6% 0.039 281.5)

  8. Step 700

    700

    #5D5F75

    oklch(49.2% 0.035 280.9)

  9. Step 800

    800

    #4C4D5F

    oklch(42.6% 0.03 282.6)

  10. Step 900

    900

    #3F404E

    oklch(37.6% 0.024 282)

  11. Step 950

    950

    #25262E

    oklch(27.1% 0.015 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#D7D8E2 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#D6D9E30.003
Deuteranopia (no green cones)#D5D8E20.003
Tritanopia (no blue cones)#D5DADB0.013
Achromatopsia (no color)#D9D9D90.014

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D7D8E2, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D7D8E2 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.