#12221F

Closest named color: Jet (#212529). oklch(23.7% 0.023 181.1), rgb(18, 34, 31).

Aa

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

About this color

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

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

Values

HEX#12221F
RGBrgb(18, 34, 31)
HSLhsl(169, 31%, 10%)
OKLCHoklch(23.7% 0.023 181.1)

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

    #E5ECEA

    oklch(93.7% 0.008 177.3)

  3. Step 200

    200

    #CFDCD9

    oklch(88.4% 0.015 180.7)

  4. Step 300

    300

    #AFC7C1

    oklch(81% 0.027 178.9)

  5. Step 400

    400

    #84AAA2

    oklch(70.8% 0.043 180.7)

  6. Step 500

    500

    #64958B

    oklch(63.2% 0.055 180.2)

  7. Step 600

    600

    #4A7F75

    oklch(55.6% 0.059 180.6)

  8. Step 700

    700

    #3A6B62

    oklch(49% 0.056 180.7)

  9. Step 800

    800

    #315750

    oklch(42.6% 0.045 180.9)

  10. Step 900

    900

    #2C4843

    oklch(37.8% 0.035 181.9)

  11. Step 950

    950 (this color)

    #12221F

    oklch(23.7% 0.023 181.1)

Export this scale for Tailwind in the Tailwind colors tool

#12221F 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)#21201F0.025
Deuteranopia (no green cones)#1E1E1F0.023
Tritanopia (no blue cones)#0D23210.007
Achromatopsia (no color)#1F1F1F0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #12221F

    #12221F

    oklch(23.7% 0.023 181.1)

  • #281A1E

    #281A1E

    oklch(23.7% 0.023 0.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12221F

    #12221F

    oklch(23.7% 0.023 181.1)

  • #172219

    #172219

    oklch(23.8% 0.023 149.9)

  • #112124

    #112124

    oklch(23.5% 0.022 210.7)

Open the analogous palette in the generator

Split complementary

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

  • #12221F

    #12221F

    oklch(23.7% 0.023 181.1)

  • #251B23

    #251B23

    oklch(23.8% 0.021 333.3)

  • #281B18

    #281B18

    oklch(23.7% 0.022 33.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12221F

    #12221F

    oklch(23.7% 0.023 181.1)

  • #201C28

    #201C28

    oklch(23.7% 0.023 299.9)

  • #261C13

    #261C13

    oklch(23.6% 0.023 63.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12221F

    #12221F

    oklch(23.7% 0.023 181.1)

  • #1A1E29

    #1A1E29

    oklch(23.6% 0.022 269.1)

  • #281A1E

    #281A1E

    oklch(23.7% 0.023 0.3)

  • #221E12

    #221E12

    oklch(23.6% 0.022 91.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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