#1D202A

Closest named color: Dark (#1B2431). oklch(24.5% 0.02 271.8), rgb(29, 32, 42).

Aa

White text reads best on this color (16.25:1).

About this color

#1D202A is a very dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.016 away. White text reads best on it, at 16.25:1.

Hue familyNeutrals
Lightnessvery dark (25%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.25:1

Values

HEX#1D202A
RGBrgb(29, 32, 42)
HSLhsl(226, 18%, 14%)
OKLCHoklch(24.5% 0.02 271.8)

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 #1D202A 16.25:1 AAA Lc -105.7 Preferred for body text
Black text on #1D202A 1.29:1 Fails Lc 0.0 Not readable
#1D202A text on white 16.25:1 AAA Lc 103.2 Preferred for body text
#1D202A text on black 1.29:1 Fails Lc 0.0 Not readable

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 950.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D6D9E2

    oklch(88.6% 0.013 271.3)

  4. Step 300

    300

    #BBC0D0

    oklch(80.9% 0.023 272)

  5. Step 400

    400

    #98A0B8

    oklch(70.7% 0.036 270.9)

  6. Step 500

    500

    #7F88A7

    oklch(63.1% 0.048 272.3)

  7. Step 600

    600

    #687292

    oklch(55.6% 0.051 271.2)

  8. Step 700

    700

    #575F7C

    oklch(49% 0.048 272.6)

  9. Step 800

    800

    #474E65

    oklch(42.7% 0.039 271.5)

  10. Step 900

    900

    #3C4152

    oklch(37.8% 0.03 272.1)

  11. Step 950

    950 (this color)

    #1D202A

    oklch(24.5% 0.02 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#1D202A 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)#1D212A0.004
Deuteranopia (no green cones)#1C202A0.002
Tritanopia (no blue cones)#1A22230.018
Achromatopsia (no color)#2020200.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D202A

    #1D202A

    oklch(24.5% 0.02 271.8)

  • #242016

    #242016

    oklch(24.5% 0.019 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D202A

    #1D202A

    oklch(24.5% 0.02 271.8)

  • #182229

    #182229

    oklch(24.6% 0.02 239.1)

  • #221E28

    #221E28

    oklch(24.4% 0.02 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #1D202A

    #1D202A

    oklch(24.5% 0.02 271.8)

  • #271E17

    #271E17

    oklch(24.3% 0.019 59.6)

  • #1F2218

    #1F2218

    oklch(24.5% 0.019 121.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D202A

    #1D202A

    oklch(24.5% 0.02 271.8)

  • #291D1B

    #291D1B

    oklch(24.5% 0.019 29.3)

  • #1A231C

    #1A231C

    oklch(24.5% 0.018 151.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D202A

    #1D202A

    oklch(24.5% 0.02 271.8)

  • #291D20

    #291D20

    oklch(24.7% 0.019 2)

  • #242016

    #242016

    oklch(24.5% 0.019 88.8)

  • #162421

    #162421

    oklch(24.6% 0.02 179.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1D202A 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.