#0C211C

Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.029 176.1), rgb(12, 33, 28).

Aa

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

About this color

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

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

Values

HEX#0C211C
RGBrgb(12, 33, 28)
HSLhsl(166, 47%, 9%)
OKLCHoklch(22.8% 0.029 176.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 #0C211C 16.80:1 AAA Lc -106.1 Preferred for body text
Black text on #0C211C 1.24:1 Fails Lc 0.0 Not readable
#0C211C text on white 16.80:1 AAA Lc 103.7 Preferred for body text
#0C211C 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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECE9

    oklch(93.5% 0.01 174.3)

  3. Step 200

    200

    #CDDDD8

    oklch(88.4% 0.018 175.3)

  4. Step 300

    300

    #AAC8C0

    oklch(80.8% 0.034 177.5)

  5. Step 400

    400

    #7CAC9F

    oklch(70.6% 0.055 176)

  6. Step 500

    500

    #589888

    oklch(63.2% 0.071 176)

  7. Step 600

    600

    #3B8272

    oklch(55.6% 0.076 176.5)

  8. Step 700

    700

    #2C6E5F

    oklch(49.1% 0.072 175.8)

  9. Step 800

    800

    #265A4E

    oklch(42.8% 0.059 176)

  10. Step 900

    900

    #254A41

    oklch(37.8% 0.046 176.1)

  11. Step 950

    950 (this color)

    #0C211C

    oklch(22.8% 0.029 176.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C211C 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)#201F1C0.031
Deuteranopia (no green cones)#1C1C1C0.029
Tritanopia (no blue cones)#05211F0.009
Achromatopsia (no color)#1D1D1D0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C211C

    #0C211C

    oklch(22.8% 0.029 176.1)

  • #28171D

    #28171D

    oklch(23% 0.029 356.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C211C

    #0C211C

    oklch(22.8% 0.029 176.1)

  • #132014

    #132014

    oklch(22.7% 0.029 146.4)

  • #0A2023

    #0A2023

    oklch(22.7% 0.028 207.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C211C

    #0C211C

    oklch(22.8% 0.029 176.1)

  • #241824

    #241824

    oklch(23% 0.029 326.5)

  • #291715

    #291715

    oklch(22.8% 0.03 26.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C211C

    #0C211C

    oklch(22.8% 0.029 176.1)

  • #1E1A29

    #1E1A29

    oklch(23% 0.029 296.3)

  • #27190F

    #27190F

    oklch(22.8% 0.029 56.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C211C

    #0C211C

    oklch(22.8% 0.029 176.1)

  • #161C2A

    #161C2A

    oklch(22.7% 0.029 266.3)

  • #28171D

    #28171D

    oklch(23% 0.029 356.9)

  • #231C0C

    #231C0C

    oklch(23% 0.029 86.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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