#21242E

Closest named color: Dark (#1B2431). oklch(26.2% 0.019 271.9), rgb(33, 36, 46).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.35:1
White text15.48:1

Values

HEX#21242E
RGBrgb(33, 36, 46)
HSLhsl(226, 16%, 15%)
OKLCHoklch(26.2% 0.019 271.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 #21242E 15.48:1 AAA Lc -105.1 Preferred for body text
Black text on #21242E 1.35:1 Fails Lc 0.0 Not readable
#21242E text on white 15.48:1 AAA Lc 102.4 Preferred for body text
#21242E text on black 1.35: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

    #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

    #7F88A6

    oklch(63% 0.046 271.9)

  7. Step 600

    600

    #697292

    oklch(55.7% 0.051 272.4)

  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)

    #21242E

    oklch(26.2% 0.019 271.9)

Export this scale for Tailwind in the Tailwind colors tool

#21242E 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)#21252E0.004
Deuteranopia (no green cones)#20242E0.002
Tritanopia (no blue cones)#1E26270.018
Achromatopsia (no color)#2424240.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #21242E

    #21242E

    oklch(26.2% 0.019 271.9)

  • #28241A

    #28241A

    oklch(26.1% 0.019 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21242E

    #21242E

    oklch(26.2% 0.019 271.9)

  • #1C262D

    #1C262D

    oklch(26.2% 0.019 239)

  • #26222C

    #26222C

    oklch(26.1% 0.019 303.3)

Open the analogous palette in the generator

Split complementary

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

  • #21242E

    #21242E

    oklch(26.2% 0.019 271.9)

  • #2B221B

    #2B221B

    oklch(26% 0.019 59.7)

  • #23261C

    #23261C

    oklch(26.2% 0.019 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21242E

    #21242E

    oklch(26.2% 0.019 271.9)

  • #2D211F

    #2D211F

    oklch(26.1% 0.019 29.3)

  • #1E2720

    #1E2720

    oklch(26.1% 0.018 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21242E

    #21242E

    oklch(26.2% 0.019 271.9)

  • #2D2124

    #2D2124

    oklch(26.3% 0.019 1.8)

  • #28241A

    #28241A

    oklch(26.1% 0.019 88.8)

  • #1A2825

    #1A2825

    oklch(26.3% 0.02 179.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21242E 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.