#22271B

Closest named color: Jet (#212529). oklch(26.4% 0.023 126.3), rgb(34, 39, 27).

Aa

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

About this color

#22271B is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.029 away. White text reads best on it, at 15.28:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.28:1

Values

HEX#22271B
RGBrgb(34, 39, 27)
HSLhsl(85, 18%, 13%)
OKLCHoklch(26.4% 0.023 126.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 #22271B 15.28:1 AAA Lc -104.9 Preferred for body text
Black text on #22271B 1.37:1 Fails Lc 0.0 Not readable
#22271B text on white 15.28:1 AAA Lc 102.2 Preferred for body text
#22271B text on black 1.37: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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E8EBE5

    oklch(93.6% 0.009 128.6)

  3. Step 200

    200

    #D6DBD1

    oklch(88.5% 0.015 128.6)

  4. Step 300

    300

    #BCC4B2

    oklch(80.9% 0.026 126.6)

  5. Step 400

    400

    #9AA689

    oklch(70.8% 0.043 125.8)

  6. Step 500

    500

    #81906C

    oklch(63.1% 0.055 126.3)

  7. Step 600

    600

    #6A7A53

    oklch(55.6% 0.061 126.4)

  8. Step 700

    700

    #596744

    oklch(49.2% 0.056 126.1)

  9. Step 800

    800

    #485438

    oklch(42.7% 0.047 127.1)

  10. Step 900

    900

    #3D4530

    oklch(37.7% 0.036 125)

  11. Step 950

    950 (this color)

    #22271B

    oklch(26.4% 0.023 126.3)

Export this scale for Tailwind in the Tailwind colors tool

#22271B 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)#28251A0.012
Deuteranopia (no green cones)#28251C0.013
Tritanopia (no blue cones)#2326240.018
Achromatopsia (no color)#2525250.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #22271B

    #22271B

    oklch(26.4% 0.023 126.3)

  • #28222E

    #28222E

    oklch(26.4% 0.024 307.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22271B

    #22271B

    oklch(26.4% 0.023 126.3)

  • #282518

    #282518

    oklch(26.4% 0.023 96.7)

  • #1C2820

    #1C2820

    oklch(26.3% 0.022 155.4)

Open the analogous palette in the generator

Split complementary

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

  • #22271B

    #22271B

    oklch(26.4% 0.023 126.3)

  • #222430

    #222430

    oklch(26.4% 0.023 277.3)

  • #2C2129

    #2C2129

    oklch(26.4% 0.022 336.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22271B

    #22271B

    oklch(26.4% 0.023 126.3)

  • #1C262F

    #1C262F

    oklch(26.3% 0.022 245.9)

  • #2F2023

    #2F2023

    oklch(26.3% 0.024 5.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22271B

    #22271B

    oklch(26.4% 0.023 126.3)

  • #18282C

    #18282C

    oklch(26.4% 0.023 215.1)

  • #28222E

    #28222E

    oklch(26.4% 0.024 307.5)

  • #2F211D

    #2F211D

    oklch(26.3% 0.023 36.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22271B 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.