#D8DEFB

Closest named color: Lavender (#E6E6FA). oklch(90.5% 0.04 276.3), rgb(216, 222, 251).

Aa

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

About this color

#D8DEFB is a very light, muted blue. In OKLCH its lightness is 90%, its chroma 0.040 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender (#E6E6FA), ΔE 0.030 away. Black text reads best on it, at 15.76:1.

Hue familyBlues
Lightnessvery light (90%)
Chromamuted (0.040)
Temperaturecool
Nearest nameLavender (#E6E6FA)
Black text15.76:1
White text1.33:1

Values

HEX#D8DEFB
RGBrgb(216, 222, 251)
HSLhsl(230, 81%, 92%)
OKLCHoklch(90.5% 0.04 276.3)

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 #D8DEFB 1.33:1 Fails Lc -18.8 Dividers and decoration only
Black text on #D8DEFB 15.76:1 AAA Lc 87.3 Fine for body text
#D8DEFB text on white 1.33:1 Fails Lc 16.4 Dividers and decoration only
#D8DEFB text on black 15.76:1 AAA Lc -87.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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200 (this color)

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  4. Step 300

    300

    #B7BEE3

    oklch(80.8% 0.053 276.7)

  5. Step 400

    400

    #929CD4

    oklch(70.6% 0.083 276.2)

  6. Step 500

    500

    #7983C9

    oklch(63.1% 0.106 276.7)

  7. Step 600

    600

    #626CB6

    oklch(55.7% 0.115 276.2)

  8. Step 700

    700

    #515A9C

    oklch(49.1% 0.106 275.9)

  9. Step 800

    800

    #42497F

    oklch(42.6% 0.09 276.3)

  10. Step 900

    900

    #383E66

    oklch(37.8% 0.069 276.1)

  11. Step 950

    950

    #21243C

    oklch(27% 0.045 277.5)

Export this scale for Tailwind in the Tailwind colors tool

#D8DEFB 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)#D6E0FC0.005
Deuteranopia (no green cones)#D4DEFA0.006
Tritanopia (no blue cones)#D0E3E70.037
Achromatopsia (no color)#DFDFDF0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8DEFB

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  • #E7E0C2

    #E7E0C2

    oklch(90.4% 0.04 96.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8DEFB

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  • #CBE3F9

    #CBE3F9

    oklch(90.5% 0.04 245.9)

  • #E6D9F5

    #E6D9F5

    oklch(90.4% 0.04 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #D8DEFB

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  • #F3DBC4

    #F3DBC4

    oklch(90.5% 0.041 66.1)

  • #D9E5C9

    #D9E5C9

    oklch(90.5% 0.04 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8DEFB

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  • #F9D7CD

    #F9D7CD

    oklch(90.5% 0.041 37)

  • #CBE8D5

    #CBE8D5

    oklch(90.5% 0.04 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8DEFB

    #D8DEFB

    oklch(90.5% 0.04 276.3)

  • #F9D5DB

    #F9D5DB

    oklch(90.5% 0.041 6.6)

  • #E7E0C2

    #E7E0C2

    oklch(90.4% 0.04 96.3)

  • #C3E9E4

    #C3E9E4

    oklch(90.6% 0.04 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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