#D8DEF0

Closest named color: Gainsboro (#DCDCDC). oklch(90.1% 0.025 271.1), rgb(216, 222, 240).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery light (90%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.62:1
White text1.34:1

Values

HEX#D8DEF0
RGBrgb(216, 222, 240)
HSLhsl(225, 44%, 89%)
OKLCHoklch(90.1% 0.025 271.1)

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 #D8DEF0 1.34:1 Fails Lc -19.4 Dividers and decoration only
Black text on #D8DEF0 15.62:1 AAA Lc 86.7 Fine for body text
#D8DEF0 text on white 1.34:1 Fails Lc 16.9 Dividers and decoration only
#D8DEF0 text on black 15.62:1 AAA Lc -86.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.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200 (this color)

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  4. Step 300

    300

    #B9C0D6

    oklch(80.9% 0.032 271.6)

  5. Step 400

    400

    #949FC2

    oklch(70.6% 0.053 271.3)

  6. Step 500

    500

    #7A88B3

    oklch(63.2% 0.067 270.4)

  7. Step 600

    600

    #63719E

    oklch(55.5% 0.072 270.6)

  8. Step 700

    700

    #525F87

    oklch(49.1% 0.066 270)

  9. Step 800

    800

    #444D6E

    oklch(42.7% 0.056 272.1)

  10. Step 900

    900

    #394059

    oklch(37.6% 0.044 272.1)

  11. Step 950

    950

    #212634

    oklch(27% 0.027 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8DEF0 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)#D9DFF10.003
Deuteranopia (no green cones)#D7DDF00.003
Tritanopia (no blue cones)#D3E1E40.022
Achromatopsia (no color)#DEDEDE0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8DEF0

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  • #E5DECC

    #E5DECC

    oklch(90.1% 0.025 89.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8DEF0

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  • #D0E1EE

    #D0E1EE

    oklch(90.1% 0.026 240.7)

  • #E1DBED

    #E1DBED

    oklch(90.2% 0.025 301)

Open the analogous palette in the generator

Split complementary

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

  • #D8DEF0

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  • #ECDBCE

    #ECDBCE

    oklch(90.2% 0.026 59.9)

  • #DCE1CF

    #DCE1CF

    oklch(90.1% 0.025 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8DEF0

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  • #EFD9D4

    #EFD9D4

    oklch(90.2% 0.025 32.9)

  • #D3E4D6

    #D3E4D6

    oklch(90.2% 0.026 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8DEF0

    #D8DEF0

    oklch(90.1% 0.025 271.1)

  • #EED8DD

    #EED8DD

    oklch(90.2% 0.025 2.1)

  • #E5DECC

    #E5DECC

    oklch(90.1% 0.025 89.2)

  • #CDE4DF

    #CDE4DF

    oklch(90% 0.025 181.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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