#12231B

Closest named color: Jet (#212529). oklch(23.8% 0.028 163), rgb(18, 35, 27).

Aa

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

About this color

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

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

Values

HEX#12231B
RGBrgb(18, 35, 27)
HSLhsl(152, 32%, 10%)
OKLCHoklch(23.8% 0.028 163)

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 #12231B 16.38:1 AAA Lc -105.8 Preferred for body text
Black text on #12231B 1.28:1 Fails Lc 0.0 Not readable
#12231B text on white 16.38:1 AAA Lc 103.3 Preferred for body text
#12231B 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CFDDD6

    oklch(88.5% 0.018 164.6)

  4. Step 300

    300

    #AEC8BB

    oklch(81% 0.033 164)

  5. Step 400

    400

    #83AB97

    oklch(70.6% 0.052 163)

  6. Step 500

    500

    #63977E

    oklch(63.2% 0.067 162.8)

  7. Step 600

    600

    #488167

    oklch(55.6% 0.073 163)

  8. Step 700

    700

    #396D56

    oklch(49.1% 0.068 163.5)

  9. Step 800

    800

    #305946

    oklch(42.8% 0.057 162.7)

  10. Step 900

    900

    #2B493B

    oklch(37.7% 0.044 163.2)

  11. Step 950

    950 (this color)

    #12231B

    oklch(23.8% 0.028 163)

Export this scale for Tailwind in the Tailwind colors tool

#12231B 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)#22211B0.026
Deuteranopia (no green cones)#201F1B0.026
Tritanopia (no blue cones)#0E23210.012
Achromatopsia (no color)#2020200.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

  • #281A22

    #281A22

    oklch(23.9% 0.026 344)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

  • #1A2214

    #1A2214

    oklch(23.9% 0.028 132.4)

  • #0D2322

    #0D2322

    oklch(23.8% 0.028 191.5)

Open the analogous palette in the generator

Split complementary

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

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #2B191B

    #2B191B

    oklch(23.8% 0.029 12.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

  • #1D1D2C

    #1D1D2C

    oklch(23.8% 0.029 284)

  • #2A1B14

    #2A1B14

    oklch(23.9% 0.027 46)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

  • #15202C

    #15202C

    oklch(23.9% 0.028 251.2)

  • #281A22

    #281A22

    oklch(23.9% 0.026 344)

  • #271D10

    #271D10

    oklch(23.9% 0.028 73.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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