#12232A

Closest named color: Dark (#1B2431). oklch(24.5% 0.026 226.2), rgb(18, 35, 42).

Aa

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

About this color

#12232A 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.020 away. White text reads best on it, at 16.15:1.

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

Values

HEX#12232A
RGBrgb(18, 35, 42)
HSLhsl(197, 40%, 12%)
OKLCHoklch(24.5% 0.026 226.2)

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 #12232A 16.15:1 AAA Lc -105.6 Preferred for body text
Black text on #12232A 1.29:1 Fails Lc 0.0 Not readable
#12232A text on white 16.15:1 AAA Lc 103.1 Preferred for body text
#12232A text on black 1.29: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

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE2

    oklch(88.6% 0.017 225.2)

  4. Step 300

    300

    #ACC5D0

    oklch(80.8% 0.031 226.1)

  5. Step 400

    400

    #80A8B9

    oklch(70.8% 0.05 225.9)

  6. Step 500

    500

    #5E92A7

    oklch(63.1% 0.064 225.5)

  7. Step 600

    600

    #437C92

    oklch(55.6% 0.069 225.3)

  8. Step 700

    700

    #34687D

    oklch(49% 0.065 226.7)

  9. Step 800

    800

    #2C5565

    oklch(42.7% 0.053 225.6)

  10. Step 900

    900

    #284653

    oklch(37.6% 0.042 227.6)

  11. Step 950

    950 (this color)

    #12232A

    oklch(24.5% 0.026 226.2)

Export this scale for Tailwind in the Tailwind colors tool

#12232A 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)#1F222A0.020
Deuteranopia (no green cones)#1C202A0.018
Tritanopia (no blue cones)#0725250.018
Achromatopsia (no color)#2121210.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #12232A

    #12232A

    oklch(24.5% 0.026 226.2)

  • #2B1C16

    #2B1C16

    oklch(24.4% 0.026 42.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12232A

    #12232A

    oklch(24.5% 0.026 226.2)

  • #102424

    #102424

    oklch(24.4% 0.026 195.6)

  • #18212D

    #18212D

    oklch(24.5% 0.026 255.8)

Open the analogous palette in the generator

Split complementary

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

  • #12232A

    #12232A

    oklch(24.5% 0.026 226.2)

  • #2C1B1C

    #2C1B1C

    oklch(24.4% 0.027 15.4)

  • #281F12

    #281F12

    oklch(24.6% 0.027 76.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12232A

    #12232A

    oklch(24.5% 0.026 226.2)

  • #2A1B23

    #2A1B23

    oklch(24.4% 0.027 346.1)

  • #222112

    #222112

    oklch(24.4% 0.026 104.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12232A

    #12232A

    oklch(24.5% 0.026 226.2)

  • #251D29

    #251D29

    oklch(24.5% 0.025 314.3)

  • #2B1C16

    #2B1C16

    oklch(24.4% 0.026 42.7)

  • #1B2317

    #1B2317

    oklch(24.4% 0.025 135.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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