#21222A

Closest named color: Jet (#212529). oklch(25.4% 0.015 279.6), rgb(33, 34, 42).

Aa

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

About this color

#21222A is a dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.012 away. White text reads best on it, at 15.82:1.

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.32:1
White text15.82:1

Values

HEX#21222A
RGBrgb(33, 34, 42)
HSLhsl(233, 12%, 15%)
OKLCHoklch(25.4% 0.015 279.6)

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 #21222A 15.82:1 AAA Lc -105.4 Preferred for body text
Black text on #21222A 1.32:1 Fails Lc 0.0 Not readable
#21222A text on white 15.82:1 AAA Lc 102.8 Preferred for body text
#21222A text on black 1.32: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

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200

    #D7D8E0

    oklch(88.4% 0.011 280.5)

  4. Step 300

    300

    #BEC0CC

    oklch(81% 0.017 278.4)

  5. Step 400

    400

    #9C9FB3

    oklch(70.7% 0.029 278.9)

  6. Step 500

    500

    #8488A0

    oklch(63.2% 0.036 277.8)

  7. Step 600

    600

    #6E718B

    oklch(55.6% 0.04 279.8)

  8. Step 700

    700

    #5C5F76

    oklch(49.2% 0.037 279.1)

  9. Step 800

    800

    #4B4D60

    oklch(42.6% 0.032 280.3)

  10. Step 900

    900

    #3F404E

    oklch(37.6% 0.024 282)

  11. Step 950

    950 (this color)

    #21222A

    oklch(25.4% 0.015 279.6)

Export this scale for Tailwind in the Tailwind colors tool

#21222A 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)#20232A0.004
Deuteranopia (no green cones)#20222A0.002
Tritanopia (no blue cones)#1F23250.012
Achromatopsia (no color)#2222220.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #21222A

    #21222A

    oklch(25.4% 0.015 279.6)

  • #24231B

    #24231B

    oklch(25.4% 0.015 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21222A

    #21222A

    oklch(25.4% 0.015 279.6)

  • #1D232A

    #1D232A

    oklch(25.3% 0.016 252.4)

  • #252128

    #252128

    oklch(25.5% 0.014 310.8)

Open the analogous palette in the generator

Split complementary

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

  • #21222A

    #21222A

    oklch(25.4% 0.015 279.6)

  • #28211B

    #28211B

    oklch(25.4% 0.015 62.7)

  • #20241D

    #20241D

    oklch(25.4% 0.014 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21222A

    #21222A

    oklch(25.4% 0.015 279.6)

  • #29201D

    #29201D

    oklch(25.3% 0.015 39.3)

  • #1D2520

    #1D2520

    oklch(25.5% 0.015 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21222A

    #21222A

    oklch(25.4% 0.015 279.6)

  • #292021

    #292021

    oklch(25.4% 0.014 10.6)

  • #24231B

    #24231B

    oklch(25.4% 0.015 101.5)

  • #1A2524

    #1A2524

    oklch(25.4% 0.016 189.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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