#D7DCE8

Closest named color: Gainsboro (#DCDCDC). oklch(89.4% 0.017 267.8), rgb(215, 220, 232).

Aa

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

About this color

#D7DCE8 is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.017. 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 15.29:1.

Hue familyNeutrals
Lightnesslight (89%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.29:1
White text1.37:1

Values

HEX#D7DCE8
RGBrgb(215, 220, 232)
HSLhsl(222, 27%, 88%)
OKLCHoklch(89.4% 0.017 267.8)

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 #D7DCE8 1.37:1 Fails Lc -20.8 Dividers and decoration only
Black text on #D7DCE8 15.29:1 AAA Lc 85.4 Fine for body text
#D7DCE8 text on white 1.37:1 Fails Lc 18.2 Dividers and decoration only
#D7DCE8 text on black 15.29:1 AAA Lc -85.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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200 (this color)

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  4. Step 300

    300

    #BAC0CF

    oklch(80.8% 0.022 268.4)

  5. Step 400

    400

    #97A0B8

    oklch(70.7% 0.037 269.2)

  6. Step 500

    500

    #7D89A6

    oklch(63.1% 0.046 267.4)

  7. Step 600

    600

    #677391

    oklch(55.7% 0.049 267.8)

  8. Step 700

    700

    #55607B

    oklch(49% 0.046 267.4)

  9. Step 800

    800

    #464F64

    oklch(42.8% 0.037 266.7)

  10. Step 900

    900

    #3B4152

    oklch(37.7% 0.03 269.7)

  11. Step 950

    950

    #222630

    oklch(26.9% 0.02 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#D7DCE8 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)#D9DDE90.004
Deuteranopia (no green cones)#D7DBE80.003
Tritanopia (no blue cones)#D3DEE00.015
Achromatopsia (no color)#DCDCDC0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7DCE8

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  • #E1DCD0

    #E1DCD0

    oklch(89.5% 0.017 88)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7DCE8

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  • #D2DEE6

    #D2DEE6

    oklch(89.4% 0.017 236.7)

  • #DDDAE6

    #DDDAE6

    oklch(89.4% 0.017 297.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D7DCE8

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  • #E5DAD1

    #E5DAD1

    oklch(89.5% 0.017 61.9)

  • #DBDED1

    #DBDED1

    oklch(89.5% 0.018 117.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7DCE8

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  • #E7D8D6

    #E7D8D6

    oklch(89.4% 0.017 26.7)

  • #D5DFD6

    #D5DFD6

    oklch(89.4% 0.016 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7DCE8

    #D7DCE8

    oklch(89.4% 0.017 267.8)

  • #E6D8DC

    #E6D8DC

    oklch(89.5% 0.016 358.1)

  • #E1DCD0

    #E1DCD0

    oklch(89.5% 0.017 88)

  • #D1E0DC

    #D1E0DC

    oklch(89.4% 0.017 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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