#D2DEF1

Closest named color: Gainsboro (#DCDCDC). oklch(89.7% 0.029 259.6), rgb(210, 222, 241).

Aa

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

About this color

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

Hue familyNeutrals
Lightnesslight (90%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.45:1
White text1.35:1

Values

HEX#D2DEF1
RGBrgb(210, 222, 241)
HSLhsl(217, 53%, 88%)
OKLCHoklch(89.7% 0.029 259.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 #D2DEF1 1.35:1 Fails Lc -20.1 Dividers and decoration only
Black text on #D2DEF1 15.45:1 AAA Lc 86.1 Fine for body text
#D2DEF1 text on white 1.35:1 Fails Lc 17.6 Dividers and decoration only
#D2DEF1 text on black 15.45:1 AAA Lc -86.0 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200 (this color)

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  4. Step 300

    300

    #B3C2D9

    oklch(81% 0.036 258.9)

  5. Step 400

    400

    #8BA2C7

    oklch(70.8% 0.06 259.8)

  6. Step 500

    500

    #6E8AB8

    oklch(63% 0.077 260.1)

  7. Step 600

    600

    #5674A4

    oklch(55.6% 0.083 259.5)

  8. Step 700

    700

    #46618D

    oklch(49.1% 0.078 259.9)

  9. Step 800

    800

    #3A4F72

    oklch(42.6% 0.064 260.3)

  10. Step 900

    900

    #32425C

    oklch(37.7% 0.049 259.9)

  11. Step 950

    950

    #1D2736

    oklch(27% 0.031 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2DEF1 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)#D8DFF20.009
Deuteranopia (no green cones)#D5DCF10.006
Tritanopia (no blue cones)#CBE2E40.026
Achromatopsia (no color)#DDDDDD0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2DEF1

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  • #E8DBC8

    #E8DBC8

    oklch(89.7% 0.029 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2DEF1

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  • #CAE1ED

    #CAE1ED

    oklch(89.6% 0.03 230.3)

  • #DCDAF0

    #DCDAF0

    oklch(89.7% 0.03 290)

Open the analogous palette in the generator

Split complementary

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

  • #D2DEF1

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  • #EED8CD

    #EED8CD

    oklch(89.7% 0.029 48.4)

  • #DEDFC9

    #DEDFC9

    oklch(89.7% 0.029 109.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2DEF1

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  • #F0D6D5

    #F0D6D5

    oklch(89.7% 0.029 20.4)

  • #D4E2D0

    #D4E2D0

    oklch(89.7% 0.028 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2DEF1

    #D2DEF1

    oklch(89.7% 0.029 259.6)

  • #EDD6E0

    #EDD6E0

    oklch(89.8% 0.029 349.5)

  • #E8DBC8

    #E8DBC8

    oklch(89.7% 0.029 77.5)

  • #CBE4DA

    #CBE4DA

    oklch(89.8% 0.03 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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