#12222A

Closest named color: Dark (#1B2431). oklch(24.2% 0.026 231), rgb(18, 34, 42).

Aa

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

About this color

#12222A 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 Dark (#1B2431), ΔE 0.021 away. White text reads best on it, at 16.30:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.30:1

Values

HEX#12222A
RGBrgb(18, 34, 42)
HSLhsl(200, 40%, 12%)
OKLCHoklch(24.2% 0.026 231)

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 #12222A 16.30:1 AAA Lc -105.7 Preferred for body text
Black text on #12222A 1.28:1 Fails Lc 0.0 Not readable
#12222A text on white 16.30:1 AAA Lc 103.2 Preferred for body text
#12222A text on black 1.28: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CEDBE3

    oklch(88.4% 0.018 234.5)

  4. Step 300

    300

    #ADC5D1

    oklch(80.9% 0.031 229.3)

  5. Step 400

    400

    #81A7BB

    oklch(70.7% 0.051 231.3)

  6. Step 500

    500

    #6091A9

    oklch(63.1% 0.064 230.2)

  7. Step 600

    600

    #467B95

    oklch(55.7% 0.069 231.1)

  8. Step 700

    700

    #37677F

    oklch(49% 0.065 231.9)

  9. Step 800

    800

    #2E5467

    oklch(42.6% 0.054 231.6)

  10. Step 900

    900

    #294654

    oklch(37.7% 0.042 230.2)

  11. Step 950

    950 (this color)

    #12222A

    oklch(24.2% 0.026 231)

Export this scale for Tailwind in the Tailwind colors tool

#12222A 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)#1E212A0.018
Deuteranopia (no green cones)#1B1F2A0.016
Tritanopia (no blue cones)#0724250.019
Achromatopsia (no color)#2020200.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #12222A

    #12222A

    oklch(24.2% 0.026 231)

  • #2A1C14

    #2A1C14

    oklch(24.2% 0.027 50.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12222A

    #12222A

    oklch(24.2% 0.026 231)

  • #0F2325

    #0F2325

    oklch(24% 0.026 203.9)

  • #18202C

    #18202C

    oklch(24.2% 0.026 258.3)

Open the analogous palette in the generator

Split complementary

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

  • #12222A

    #12222A

    oklch(24.2% 0.026 231)

  • #2B1B1A

    #2B1B1A

    oklch(24.2% 0.026 23.1)

  • #261E11

    #261E11

    oklch(24.1% 0.026 79.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12222A

    #12222A

    oklch(24.2% 0.026 231)

  • #2A1A21

    #2A1A21

    oklch(24.1% 0.028 351.5)

  • #202112

    #202112

    oklch(24.2% 0.027 111.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12222A

    #12222A

    oklch(24.2% 0.026 231)

  • #261C27

    #261C27

    oklch(24.3% 0.025 323.3)

  • #2A1C14

    #2A1C14

    oklch(24.2% 0.027 50.8)

  • #192317

    #192317

    oklch(24.2% 0.026 140.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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