#20202A

Closest named color: Dark (#1B2431). oklch(24.8% 0.019 284.9), rgb(32, 32, 42).

Aa

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

About this color

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

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

Values

HEX#20202A
RGBrgb(32, 32, 42)
HSLhsl(240, 14%, 15%)
OKLCHoklch(24.8% 0.019 284.9)

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 #20202A 16.13:1 AAA Lc -105.6 Preferred for body text
Black text on #20202A 1.30:1 Fails Lc 0.0 Not readable
#20202A text on white 16.13:1 AAA Lc 103.1 Preferred for body text
#20202A text on black 1.30: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E1

    oklch(88.5% 0.012 286.1)

  4. Step 300

    300

    #BFBFCF

    oklch(81% 0.022 285.9)

  5. Step 400

    400

    #9E9EB7

    oklch(70.8% 0.036 285.4)

  6. Step 500

    500

    #8686A5

    oklch(63.1% 0.046 285)

  7. Step 600

    600

    #707090

    oklch(55.7% 0.049 284.7)

  8. Step 700

    700

    #5E5D7A

    oklch(49.1% 0.046 286.1)

  9. Step 800

    800

    #4C4C63

    oklch(42.6% 0.038 284.7)

  10. Step 900

    900

    #404051

    oklch(37.8% 0.029 284.9)

  11. Step 950

    950 (this color)

    #20202A

    oklch(24.8% 0.019 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#20202A 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)#1E212A0.005
Deuteranopia (no green cones)#1D212A0.006
Tritanopia (no blue cones)#1E22230.018
Achromatopsia (no color)#2121210.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #20202A

    #20202A

    oklch(24.8% 0.019 284.9)

  • #222217

    #222217

    oklch(24.8% 0.02 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20202A

    #20202A

    oklch(24.8% 0.019 284.9)

  • #1B222A

    #1B222A

    oklch(24.9% 0.018 252)

  • #251F27

    #251F27

    oklch(25% 0.017 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #20202A

    #20202A

    oklch(24.8% 0.019 284.9)

  • #272017

    #272017

    oklch(24.9% 0.019 73.7)

  • #1D231A

    #1D231A

    oklch(24.7% 0.019 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20202A

    #20202A

    oklch(24.8% 0.019 284.9)

  • #291E1A

    #291E1A

    oklch(24.7% 0.019 40.9)

  • #19241F

    #19241F

    oklch(24.8% 0.018 165.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20202A

    #20202A

    oklch(24.8% 0.019 284.9)

  • #2A1E1E

    #2A1E1E

    oklch(25% 0.019 18.5)

  • #222217

    #222217

    oklch(24.8% 0.02 107.8)

  • #162424

    #162424

    oklch(24.8% 0.019 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20202A 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.