#0C201E

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.026 187.1), rgb(12, 32, 30).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.92:1

Values

HEX#0C201E
RGBrgb(12, 32, 30)
HSLhsl(174, 45%, 9%)
OKLCHoklch(22.6% 0.026 187.1)

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 #0C201E 16.92:1 AAA Lc -106.2 Preferred for body text
Black text on #0C201E 1.24:1 Fails Lc 0.0 Not readable
#0C201E text on white 16.92:1 AAA Lc 103.8 Preferred for body text
#0C201E text on black 1.24: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E4ECEB

    oklch(93.7% 0.009 188.1)

  3. Step 200

    200

    #CDDDDB

    oklch(88.5% 0.017 187.8)

  4. Step 300

    300

    #ABC8C4

    oklch(81% 0.032 186.4)

  5. Step 400

    400

    #7DABA6

    oklch(70.7% 0.05 187.7)

  6. Step 500

    500

    #5A9690

    oklch(63% 0.063 187.6)

  7. Step 600

    600

    #3D817A

    oklch(55.7% 0.07 186.5)

  8. Step 700

    700

    #2F6D67

    oklch(49.2% 0.065 186.8)

  9. Step 800

    800

    #285954

    oklch(42.8% 0.054 186.6)

  10. Step 900

    900

    #264945

    oklch(37.8% 0.041 186.1)

  11. Step 950

    950 (this color)

    #0C201E

    oklch(22.6% 0.026 187.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C201E 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)#1E1E1E0.028
Deuteranopia (no green cones)#1B1C1E0.026
Tritanopia (no blue cones)#04211F0.008
Achromatopsia (no color)#1D1D1D0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C201E

    #0C201E

    oklch(22.6% 0.026 187.1)

  • #27171A

    #27171A

    oklch(22.7% 0.026 7.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C201E

    #0C201E

    oklch(22.6% 0.026 187.1)

  • #112017

    #112017

    oklch(22.7% 0.027 157.1)

  • #0C1F24

    #0C1F24

    oklch(22.6% 0.027 216.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C201E

    #0C201E

    oklch(22.6% 0.026 187.1)

  • #241720

    #241720

    oklch(22.5% 0.026 338.3)

  • #271813

    #271813

    oklch(22.7% 0.026 39.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C201E

    #0C201E

    oklch(22.6% 0.026 187.1)

  • #1F1926

    #1F1926

    oklch(22.7% 0.026 305.5)

  • #241A0E

    #241A0E

    oklch(22.7% 0.027 70.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C201E

    #0C201E

    oklch(22.6% 0.026 187.1)

  • #191B28

    #191B28

    oklch(22.6% 0.025 277.4)

  • #27171A

    #27171A

    oklch(22.7% 0.026 7.1)

  • #1F1C0D

    #1F1C0D

    oklch(22.5% 0.027 98.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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