#0C161C

Closest named color: Rich Navy (#001219). oklch(19.3% 0.019 235.4), rgb(12, 22, 28).

Aa

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

About this color

#0C161C is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.028 away. White text reads best on it, at 18.30:1.

Hue familyNeutrals
Lightnessvery dark (19%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.14:1
White text18.30:1

Values

HEX#0C161C
RGBrgb(12, 22, 28)
HSLhsl(203, 40%, 8%)
OKLCHoklch(19.3% 0.019 235.4)

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 #0C161C 18.30:1 AAA Lc -107.1 Preferred for body text
Black text on #0C161C 1.14:1 Fails Lc 0.0 Not readable
#0C161C text on white 18.30:1 AAA Lc 104.9 Preferred for body text
#0C161C text on black 1.14: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBEE

    oklch(93.7% 0.007 233.6)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B3C3CD

    oklch(80.8% 0.023 235.1)

  5. Step 400

    400

    #8CA5B4

    oklch(70.8% 0.035 234.3)

  6. Step 500

    500

    #6F8EA2

    oklch(63% 0.046 236.8)

  7. Step 600

    600

    #56788D

    oklch(55.5% 0.051 236)

  8. Step 700

    700

    #466578

    oklch(49% 0.047 235.9)

  9. Step 800

    800

    #3A5361

    oklch(42.8% 0.038 233.4)

  10. Step 900

    900

    #324450

    oklch(37.6% 0.031 237.8)

  11. Step 950

    950 (this color)

    #0C161C

    oklch(19.3% 0.019 235.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C161C 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)#13161C0.012
Deuteranopia (no green cones)#11141C0.011
Tritanopia (no blue cones)#0618180.016
Achromatopsia (no color)#1515150.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C161C

    #0C161C

    oklch(19.3% 0.019 235.4)

  • #1B120C

    #1B120C

    oklch(19.2% 0.019 55)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C161C

    #0C161C

    oklch(19.3% 0.019 235.4)

  • #0A1719

    #0A1719

    oklch(19.4% 0.019 208.2)

  • #10141D

    #10141D

    oklch(19.2% 0.019 266)

Open the analogous palette in the generator

Split complementary

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

  • #0C161C

    #0C161C

    oklch(19.3% 0.019 235.4)

  • #1C1110

    #1C1110

    oklch(19.2% 0.019 24.8)

  • #18140B

    #18140B

    oklch(19.3% 0.018 86.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C161C

    #0C161C

    oklch(19.3% 0.019 235.4)

  • #1C1115

    #1C1115

    oklch(19.4% 0.02 355.5)

  • #14160C

    #14160C

    oklch(19.4% 0.019 117.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C161C

    #0C161C

    oklch(19.3% 0.019 235.4)

  • #191219

    #191219

    oklch(19.4% 0.018 326.2)

  • #1B120C

    #1B120C

    oklch(19.2% 0.019 55)

  • #0F170F

    #0F170F

    oklch(19.4% 0.02 144.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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