#0C141B

Closest named color: Rich Navy (#001219). oklch(18.7% 0.019 245.4), rgb(12, 20, 27).

Aa

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

About this color

#0C141B 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.024 away. White text reads best on it, at 18.55:1.

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

Values

HEX#0C141B
RGBrgb(12, 20, 27)
HSLhsl(208, 38%, 8%)
OKLCHoklch(18.7% 0.019 245.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 #0C141B 18.55:1 AAA Lc -107.2 Preferred for body text
Black text on #0C141B 1.13:1 Fails Lc 0.0 Not readable
#0C141B text on white 18.55:1 AAA Lc 105.1 Preferred for body text
#0C141B text on black 1.13: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

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D3DAE1

    oklch(88.5% 0.012 248)

  4. Step 300

    300

    #B5C2CE

    oklch(80.8% 0.022 245.9)

  5. Step 400

    400

    #8FA3B6

    oklch(70.6% 0.036 247)

  6. Step 500

    500

    #738DA4

    oklch(63.2% 0.046 245.3)

  7. Step 600

    600

    #5B778F

    oklch(55.7% 0.05 244.7)

  8. Step 700

    700

    #4B647A

    oklch(49.2% 0.046 245.5)

  9. Step 800

    800

    #3E5163

    oklch(42.6% 0.038 247.4)

  10. Step 900

    900

    #354351

    oklch(37.6% 0.03 248.6)

  11. Step 950

    950 (this color)

    #0C141B

    oklch(18.7% 0.019 245.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C141B 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)#11141B0.009
Deuteranopia (no green cones)#0F121B0.009
Tritanopia (no blue cones)#0716160.017
Achromatopsia (no color)#1313130.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C141B

    #0C141B

    oklch(18.7% 0.019 245.4)

  • #19110A

    #19110A

    oklch(18.6% 0.019 62.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C141B

    #0C141B

    oklch(18.7% 0.019 245.4)

  • #091518

    #091518

    oklch(18.6% 0.018 215.3)

  • #11121C

    #11121C

    oklch(18.6% 0.02 279.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C141B

    #0C141B

    oklch(18.7% 0.019 245.4)

  • #1B100D

    #1B100D

    oklch(18.7% 0.02 35.9)

  • #161309

    #161309

    oklch(18.7% 0.019 93.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C141B

    #0C141B

    oklch(18.7% 0.019 245.4)

  • #1A1012

    #1A1012

    oklch(18.7% 0.017 5.6)

  • #11150B

    #11150B

    oklch(18.8% 0.02 126)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C141B

    #0C141B

    oklch(18.7% 0.019 245.4)

  • #181016

    #181016

    oklch(18.6% 0.018 335.4)

  • #19110A

    #19110A

    oklch(18.6% 0.019 62.4)

  • #0C160F

    #0C160F

    oklch(18.8% 0.021 153.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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