#D8ECF2

Closest named color: Lavender (#E6E6FA). oklch(93% 0.023 217.6), rgb(216, 236, 242).

Aa

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

About this color

#D8ECF2 is a very light close to neutral grey. In OKLCH its lightness is 93%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Lavender (#E6E6FA), ΔE 0.028 away. Black text reads best on it, at 17.20:1.

Hue familyNeutrals
Lightnessvery light (93%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameLavender (#E6E6FA)
Black text17.20:1
White text1.22:1

Values

HEX#D8ECF2
RGBrgb(216, 236, 242)
HSLhsl(194, 50%, 90%)
OKLCHoklch(93% 0.023 217.6)

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 #D8ECF2 1.22:1 Fails Lc -12.7 Not readable
Black text on #D8ECF2 17.20:1 AAA Lc 92.7 Preferred for body text
#D8ECF2 text on white 1.22:1 Fails Lc 10.9 Not readable
#D8ECF2 text on black 17.20:1 AAA Lc -93.2 Preferred 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 100.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100 (this color)

    #D8ECF2

    oklch(93% 0.023 217.6)

  3. Step 200

    200

    #CEDCE0

    oklch(88.5% 0.016 216.7)

  4. Step 300

    300

    #ADC6CD

    oklch(81% 0.029 216.5)

  5. Step 400

    400

    #80A8B4

    oklch(70.7% 0.047 218.2)

  6. Step 500

    500

    #5F93A1

    oklch(63.2% 0.059 216.6)

  7. Step 600

    600

    #437D8C

    oklch(55.6% 0.065 216.6)

  8. Step 700

    700

    #356977

    oklch(49.1% 0.06 217.5)

  9. Step 800

    800

    #2C5661

    oklch(42.7% 0.05 216.8)

  10. Step 900

    900

    #28474F

    oklch(37.7% 0.039 216.1)

  11. Step 950

    950

    #18292E

    oklch(26.8% 0.024 218.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8ECF2 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)#E8EAF20.021
Deuteranopia (no green cones)#E3E7F20.018
Tritanopia (no blue cones)#D1EEEE0.012
Achromatopsia (no color)#E8E8E80.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8ECF2

    #D8ECF2

    oklch(93% 0.023 217.6)

  • #F6E3DD

    #F6E3DD

    oklch(92.9% 0.022 38.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8ECF2

    #D8ECF2

    oklch(93% 0.023 217.6)

  • #D8EDEA

    #D8EDEA

    oklch(93% 0.023 186.5)

  • #DCEAF7

    #DCEAF7

    oklch(93% 0.023 246)

Open the analogous palette in the generator

Split complementary

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

  • #D8ECF2

    #D8ECF2

    oklch(93% 0.023 217.6)

  • #F6E2E5

    #F6E2E5

    oklch(93% 0.022 7.2)

  • #F3E5D8

    #F3E5D8

    oklch(93% 0.023 65.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8ECF2

    #D8ECF2

    oklch(93% 0.023 217.6)

  • #F3E2ED

    #F3E2ED

    oklch(93% 0.023 338.6)

  • #ECE8D7

    #ECE8D7

    oklch(93% 0.023 96)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8ECF2

    #D8ECF2

    oklch(93% 0.023 217.6)

  • #ECE4F4

    #ECE4F4

    oklch(93% 0.023 308.2)

  • #F6E3DD

    #F6E3DD

    oklch(92.9% 0.022 38.3)

  • #E3EBDB

    #E3EBDB

    oklch(93% 0.023 128.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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