#12221B

Closest named color: Jet (#212529). oklch(23.5% 0.026 164.9), rgb(18, 34, 27).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.27:1
White text16.53:1

Values

HEX#12221B
RGBrgb(18, 34, 27)
HSLhsl(154, 31%, 10%)
OKLCHoklch(23.5% 0.026 164.9)

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 #12221B 16.53:1 AAA Lc -105.9 Preferred for body text
Black text on #12221B 1.27:1 Fails Lc 0.0 Not readable
#12221B text on white 16.53:1 AAA Lc 103.4 Preferred for body text
#12221B text on black 1.27: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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #CFDDD6

    oklch(88.5% 0.018 164.6)

  4. Step 300

    300

    #AFC7BC

    oklch(80.8% 0.03 166.3)

  5. Step 400

    400

    #85AB99

    oklch(70.8% 0.049 164.5)

  6. Step 500

    500

    #659680

    oklch(63.2% 0.063 164.7)

  7. Step 600

    600

    #4B8069

    oklch(55.6% 0.068 164.6)

  8. Step 700

    700

    #3C6C58

    oklch(49.1% 0.062 165.3)

  9. Step 800

    800

    #325848

    oklch(42.7% 0.051 165.3)

  10. Step 900

    900

    #2C493C

    oklch(37.8% 0.042 164.3)

  11. Step 950

    950 (this color)

    #12221B

    oklch(23.5% 0.026 164.9)

Export this scale for Tailwind in the Tailwind colors tool

#12221B 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)#21201B0.025
Deuteranopia (no green cones)#1F1E1B0.025
Tritanopia (no blue cones)#0E22200.010
Achromatopsia (no color)#1F1F1F0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #12221B

    #12221B

    oklch(23.5% 0.026 164.9)

  • #271921

    #271921

    oklch(23.5% 0.026 344.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12221B

    #12221B

    oklch(23.5% 0.026 164.9)

  • #192115

    #192115

    oklch(23.6% 0.025 135.4)

  • #0E2222

    #0E2222

    oklch(23.5% 0.026 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #12221B

    #12221B

    oklch(23.5% 0.026 164.9)

  • #231A27

    #231A27

    oklch(23.5% 0.028 315.3)

  • #29191A

    #29191A

    oklch(23.5% 0.026 15.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12221B

    #12221B

    oklch(23.5% 0.026 164.9)

  • #1D1C2A

    #1D1C2A

    oklch(23.4% 0.027 287.4)

  • #281A14

    #281A14

    oklch(23.4% 0.025 44.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12221B

    #12221B

    oklch(23.5% 0.026 164.9)

  • #161F2A

    #161F2A

    oklch(23.6% 0.025 253.8)

  • #271921

    #271921

    oklch(23.5% 0.026 344.1)

  • #251C10

    #251C10

    oklch(23.4% 0.025 74)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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