#221817

Closest named color: Jet (#212529). oklch(22.1% 0.016 25), rgb(34, 24, 23).

Aa

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

About this color

#221817 is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.048 away. White text reads best on it, at 17.34:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.21:1
White text17.34:1

Values

HEX#221817
RGBrgb(34, 24, 23)
HSLhsl(5, 19%, 11%)
OKLCHoklch(22.1% 0.016 25)

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 #221817 17.34:1 AAA Lc -106.5 Preferred for body text
Black text on #221817 1.21:1 Fails Lc 0.0 Not readable
#221817 text on white 17.34:1 AAA Lc 104.2 Preferred for body text
#221817 text on black 1.21: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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE8E8

    oklch(93.5% 0.005 17.3)

  3. Step 200

    200

    #E0D6D5

    oklch(88.4% 0.011 24.3)

  4. Step 300

    300

    #CDBCBA

    oklch(80.9% 0.02 25.6)

  5. Step 400

    400

    #B39A97

    oklch(70.8% 0.03 26)

  6. Step 500

    500

    #A0817D

    oklch(63.1% 0.039 26.8)

  7. Step 600

    600

    #8B6A67

    oklch(55.6% 0.043 24.5)

  8. Step 700

    700

    #765855

    oklch(49.1% 0.04 25.2)

  9. Step 800

    800

    #604846

    oklch(42.7% 0.033 24)

  10. Step 900

    900

    #4F3C3B

    oklch(37.7% 0.027 21.9)

  11. Step 950

    950 (this color)

    #221817

    oklch(22.1% 0.016 25)

Export this scale for Tailwind in the Tailwind colors tool

#221817 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)#1A19170.016
Deuteranopia (no green cones)#1C1B170.016
Tritanopia (no blue cones)#2417180.006
Achromatopsia (no color)#1A1A1A0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #221817

    #221817

    oklch(22.1% 0.016 25)

  • #121D1E

    #121D1E

    oklch(22.1% 0.016 203.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #221817

    #221817

    oklch(22.1% 0.016 25)

  • #21181B

    #21181B

    oklch(22.1% 0.015 356.5)

  • #211914

    #211914

    oklch(22.1% 0.016 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #221817

    #221817

    oklch(22.1% 0.016 25)

  • #131D1A

    #131D1A

    oklch(22% 0.016 174.4)

  • #141C21

    #141C21

    oklch(22.1% 0.015 235.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #221817

    #221817

    oklch(22.1% 0.016 25)

  • #161D16

    #161D16

    oklch(22.1% 0.017 145)

  • #171B23

    #171B23

    oklch(22.2% 0.017 264.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #221817

    #221817

    oklch(22.1% 0.016 25)

  • #1A1C13

    #1A1C13

    oklch(22.1% 0.017 118)

  • #121D1E

    #121D1E

    oklch(22.1% 0.016 203.1)

  • #1B1922

    #1B1922

    oklch(22% 0.018 295.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #221817 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.