#21281E

Closest named color: Jet (#212529). oklch(26.6% 0.021 136.3), rgb(33, 40, 30).

Aa

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

About this color

#21281E 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.026 away. White text reads best on it, at 15.14:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.14:1

Values

HEX#21281E
RGBrgb(33, 40, 30)
HSLhsl(102, 14%, 14%)
OKLCHoklch(26.6% 0.021 136.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 #21281E 15.14:1 AAA Lc -104.8 Preferred for body text
Black text on #21281E 1.38:1 Fails Lc 0.0 Not readable
#21281E text on white 15.14:1 AAA Lc 102.0 Preferred for body text
#21281E text on black 1.38: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

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D5DBD2

    oklch(88.4% 0.014 134.9)

  4. Step 300

    300

    #BAC4B5

    oklch(80.8% 0.023 135)

  5. Step 400

    400

    #96A78F

    oklch(70.8% 0.039 136.5)

  6. Step 500

    500

    #7C9173

    oklch(63.2% 0.05 136.3)

  7. Step 600

    600

    #657B5B

    oklch(55.6% 0.055 136)

  8. Step 700

    700

    #54684B

    oklch(49.2% 0.051 136.1)

  9. Step 800

    800

    #45543E

    oklch(42.6% 0.04 135.8)

  10. Step 900

    900

    #3A4634

    oklch(37.8% 0.034 135.3)

  11. Step 950

    950 (this color)

    #21281E

    oklch(26.6% 0.021 136.3)

Export this scale for Tailwind in the Tailwind colors tool

#21281E 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)#29261D0.015
Deuteranopia (no green cones)#28261E0.014
Tritanopia (no blue cones)#2127250.014
Achromatopsia (no color)#2626260.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #21281E

    #21281E

    oklch(26.6% 0.021 136.3)

  • #2A232C

    #2A232C

    oklch(26.8% 0.019 318.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21281E

    #21281E

    oklch(26.6% 0.021 136.3)

  • #27261B

    #27261B

    oklch(26.6% 0.02 103.3)

  • #1C2923

    #1C2923

    oklch(26.7% 0.021 164.8)

Open the analogous palette in the generator

Split complementary

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

  • #21281E

    #21281E

    oklch(26.6% 0.021 136.3)

  • #25242F

    #25242F

    oklch(26.6% 0.02 289.1)

  • #2D2228

    #2D2228

    oklch(26.7% 0.02 344.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21281E

    #21281E

    oklch(26.6% 0.021 136.3)

  • #1F2630

    #1F2630

    oklch(26.6% 0.021 257.3)

  • #2F2222

    #2F2222

    oklch(26.8% 0.02 18.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21281E

    #21281E

    oklch(26.6% 0.021 136.3)

  • #1B282D

    #1B282D

    oklch(26.7% 0.02 223.7)

  • #2A232C

    #2A232C

    oklch(26.8% 0.019 318.7)

  • #2E231D

    #2E231D

    oklch(26.7% 0.02 50.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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