#D4DEF3

Closest named color: Gainsboro (#DCDCDC). oklch(89.9% 0.031 265.3), rgb(212, 222, 243).

Aa

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

About this color

#D4DEF3 is a light, muted blue. In OKLCH its lightness is 90%, its chroma 0.031 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.031 away. Black text reads best on it, at 15.54:1.

Hue familyBlues
Lightnesslight (90%)
Chromamuted (0.031)
Temperaturecool
Nearest nameGainsboro (#DCDCDC)
Black text15.54:1
White text1.35:1

Values

HEX#D4DEF3
RGBrgb(212, 222, 243)
HSLhsl(221, 56%, 89%)
OKLCHoklch(89.9% 0.031 265.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 #D4DEF3 1.35:1 Fails Lc -19.8 Dividers and decoration only
Black text on #D4DEF3 15.54:1 AAA Lc 86.4 Fine for body text
#D4DEF3 text on white 1.35:1 Fails Lc 17.2 Dividers and decoration only
#D4DEF3 text on black 15.54:1 AAA Lc -86.4 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200 (this color)

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  4. Step 300

    300

    #B4C1DB

    oklch(80.9% 0.039 264.3)

  5. Step 400

    400

    #8EA0C9

    oklch(70.6% 0.064 266.3)

  6. Step 500

    500

    #7289BB

    oklch(63.2% 0.08 265.1)

  7. Step 600

    600

    #5A72A7

    oklch(55.6% 0.088 265.1)

  8. Step 700

    700

    #4A5F8F

    oklch(49% 0.082 265.5)

  9. Step 800

    800

    #3D4E74

    oklch(42.7% 0.067 265.3)

  10. Step 900

    900

    #34415E

    oklch(37.7% 0.053 265.4)

  11. Step 950

    950

    #1E2637

    oklch(26.9% 0.034 264.8)

Export this scale for Tailwind in the Tailwind colors tool

#D4DEF3 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)#D8DFF40.006
Deuteranopia (no green cones)#D5DCF20.005
Tritanopia (no blue cones)#CDE2E50.027
Achromatopsia (no color)#DEDEDE0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4DEF3

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  • #E7DDC7

    #E7DDC7

    oklch(90% 0.031 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4DEF3

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  • #CBE2F0

    #CBE2F0

    oklch(90% 0.031 234.5)

  • #DFDAF1

    #DFDAF1

    oklch(89.9% 0.032 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #D4DEF3

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  • #EFD9CB

    #EFD9CB

    oklch(90% 0.031 54.7)

  • #DDE1CA

    #DDE1CA

    oklch(90% 0.031 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4DEF3

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  • #F2D7D3

    #F2D7D3

    oklch(90% 0.031 27.8)

  • #D2E4D2

    #D2E4D2

    oklch(90% 0.031 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4DEF3

    #D4DEF3

    oklch(89.9% 0.031 265.3)

  • #F0D6DF

    #F0D6DF

    oklch(90% 0.031 354.8)

  • #E7DDC7

    #E7DDC7

    oklch(90% 0.031 86.5)

  • #CAE5DD

    #CAE5DD

    oklch(90% 0.03 175.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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