#D7DBEC

Closest named color: Gainsboro (#DCDCDC). oklch(89.3% 0.024 275.3), rgb(215, 219, 236).

Aa

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

About this color

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

Hue familyNeutrals
Lightnesslight (89%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.23:1
White text1.37:1

Values

HEX#D7DBEC
RGBrgb(215, 219, 236)
HSLhsl(229, 36%, 88%)
OKLCHoklch(89.3% 0.024 275.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 #D7DBEC 1.37:1 Fails Lc -21.1 Dividers and decoration only
Black text on #D7DBEC 15.23:1 AAA Lc 85.2 Fine for body text
#D7DBEC text on white 1.37:1 Fails Lc 18.5 Dividers and decoration only
#D7DBEC text on black 15.23:1 AAA Lc -85.1 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

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200 (this color)

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  4. Step 300

    300

    #BBBFD5

    oklch(80.8% 0.031 277.5)

  5. Step 400

    400

    #979FC0

    oklch(70.7% 0.049 274.4)

  6. Step 500

    500

    #7E87B0

    oklch(63.1% 0.063 274.9)

  7. Step 600

    600

    #68709B

    oklch(55.6% 0.068 275.8)

  8. Step 700

    700

    #565E85

    oklch(49.1% 0.063 274.9)

  9. Step 800

    800

    #474D6C

    oklch(42.8% 0.052 275.5)

  10. Step 900

    900

    #3B4057

    oklch(37.7% 0.04 274.8)

  11. Step 950

    950

    #232633

    oklch(27.1% 0.025 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#D7DBEC 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)#D7DCED0.003
Deuteranopia (no green cones)#D5DBEC0.003
Tritanopia (no blue cones)#D3DEE00.022
Achromatopsia (no color)#DBDBDB0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7DBEC

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  • #E0DCCB

    #E0DCCB

    oklch(89.3% 0.023 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7DBEC

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  • #D0DEEB

    #D0DEEB

    oklch(89.4% 0.023 246.1)

  • #DFD8E9

    #DFD8E9

    oklch(89.3% 0.024 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #D7DBEC

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  • #E7D9CC

    #E7D9CC

    oklch(89.3% 0.023 65.4)

  • #D8DFCE

    #D8DFCE

    oklch(89.4% 0.024 125.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7DBEC

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  • #EBD7D1

    #EBD7D1

    oklch(89.4% 0.024 37.4)

  • #D0E1D5

    #D0E1D5

    oklch(89.4% 0.024 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7DBEC

    #D7DBEC

    oklch(89.3% 0.024 275.3)

  • #EBD6D9

    #EBD6D9

    oklch(89.4% 0.024 7.7)

  • #E0DCCB

    #E0DCCB

    oklch(89.3% 0.023 96)

  • #CBE1DE

    #CBE1DE

    oklch(89.3% 0.024 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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