#0C181A

Closest named color: Rich Black (#0D1B2A). oklch(19.9% 0.018 209), rgb(12, 24, 26).

Aa

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

About this color

#0C181A is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.032 away. White text reads best on it, at 18.08:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.08:1

Values

HEX#0C181A
RGBrgb(12, 24, 26)
HSLhsl(189, 37%, 7%)
OKLCHoklch(19.9% 0.018 209)

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 #0C181A 18.08:1 AAA Lc -106.9 Preferred for body text
Black text on #0C181A 1.16:1 Fails Lc 0.0 Not readable
#0C181A text on white 18.08:1 AAA Lc 104.8 Preferred for body text
#0C181A text on black 1.16: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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDD

    oklch(88.4% 0.011 211)

  4. Step 300

    300

    #B2C5C8

    oklch(81% 0.021 208.1)

  5. Step 400

    400

    #89A7AC

    oklch(70.7% 0.034 208.8)

  6. Step 500

    500

    #6C9197

    oklch(63.1% 0.042 208.5)

  7. Step 600

    600

    #537B82

    oklch(55.6% 0.046 209.6)

  8. Step 700

    700

    #43686E

    oklch(49.2% 0.043 208.7)

  9. Step 800

    800

    #375559

    oklch(42.8% 0.036 206.4)

  10. Step 900

    900

    #304649

    oklch(37.7% 0.028 206.6)

  11. Step 950

    950 (this color)

    #0C181A

    oklch(19.9% 0.018 209)

Export this scale for Tailwind in the Tailwind colors tool

#0C181A 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)#16171A0.017
Deuteranopia (no green cones)#14151A0.017
Tritanopia (no blue cones)#0719190.008
Achromatopsia (no color)#1616160.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C181A

    #0C181A

    oklch(19.9% 0.018 209)

  • #1D1311

    #1D1311

    oklch(19.9% 0.017 31.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C181A

    #0C181A

    oklch(19.9% 0.018 209)

  • #0D1816

    #0D1816

    oklch(19.8% 0.016 182)

  • #0E171D

    #0E171D

    oklch(19.9% 0.018 238)

Open the analogous palette in the generator

Split complementary

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

  • #0C181A

    #0C181A

    oklch(19.9% 0.018 209)

  • #1D1215

    #1D1215

    oklch(19.8% 0.019 1)

  • #1C140E

    #1C140E

    oklch(19.9% 0.017 58.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C181A

    #0C181A

    oklch(19.9% 0.018 209)

  • #1A131A

    #1A131A

    oklch(19.9% 0.018 326.2)

  • #19150D

    #19150D

    oklch(19.8% 0.016 84.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C181A

    #0C181A

    oklch(19.9% 0.018 209)

  • #17141D

    #17141D

    oklch(19.9% 0.018 300)

  • #1D1311

    #1D1311

    oklch(19.9% 0.017 31.5)

  • #15170E

    #15170E

    oklch(19.9% 0.017 118.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C181A 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.