#21291F

Closest named color: Jet (#212529). oklch(27% 0.021 139.4), rgb(33, 41, 31).

Aa

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

About this color

#21291F is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.027 away. White text reads best on it, at 14.98:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.40:1
White text14.98:1

Values

HEX#21291F
RGBrgb(33, 41, 31)
HSLhsl(108, 14%, 14%)
OKLCHoklch(27% 0.021 139.4)

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 #21291F 14.98:1 AAA Lc -104.6 Preferred for body text
Black text on #21291F 1.40:1 Fails Lc 0.0 Not readable
#21291F text on white 14.98:1 AAA Lc 101.9 Preferred for body text
#21291F text on black 1.40: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE6

    oklch(93.6% 0.008 139.4)

  3. Step 200

    200

    #D4DBD3

    oklch(88.4% 0.013 141.8)

  4. Step 300

    300

    #B8C5B5

    oklch(80.9% 0.026 139.8)

  5. Step 400

    400

    #94A78F

    oklch(70.7% 0.04 139.2)

  6. Step 500

    500

    #7A9174

    oklch(63% 0.05 139.2)

  7. Step 600

    600

    #627C5C

    oklch(55.7% 0.057 139.8)

  8. Step 700

    700

    #51684C

    oklch(49% 0.052 140)

  9. Step 800

    800

    #43553E

    oklch(42.7% 0.043 138.9)

  10. Step 900

    900

    #384635

    oklch(37.6% 0.034 140.1)

  11. Step 950

    950 (this color)

    #21291F

    oklch(27% 0.021 139.4)

Export this scale for Tailwind in the Tailwind colors tool

#21291F 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)#2A271E0.016
Deuteranopia (no green cones)#28261F0.015
Tritanopia (no blue cones)#2128260.014
Achromatopsia (no color)#2727270.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #21291F

    #21291F

    oklch(27% 0.021 139.4)

  • #2B232D

    #2B232D

    oklch(26.9% 0.022 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21291F

    #21291F

    oklch(27% 0.021 139.4)

  • #27271B

    #27271B

    oklch(26.9% 0.021 107.7)

  • #1C2A25

    #1C2A25

    oklch(27% 0.021 170.6)

Open the analogous palette in the generator

Split complementary

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

  • #21291F

    #21291F

    oklch(27% 0.021 139.4)

  • #262530

    #262530

    oklch(27% 0.02 289.1)

  • #2F2228

    #2F2228

    oklch(27% 0.022 349.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21291F

    #21291F

    oklch(27% 0.021 139.4)

  • #202731

    #202731

    oklch(27% 0.021 257.3)

  • #302222

    #302222

    oklch(26.9% 0.022 18.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21291F

    #21291F

    oklch(27% 0.021 139.4)

  • #1B282F

    #1B282F

    oklch(26.8% 0.022 232.2)

  • #2B232D

    #2B232D

    oklch(26.9% 0.022 319.5)

  • #2F231D

    #2F231D

    oklch(26.8% 0.021 47.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21291F 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.