#0C212A

Closest named color: Rich Black (#0D1B2A). oklch(23.5% 0.032 228.3), rgb(12, 33, 42).

Aa

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

About this color

#0C212A is a very dark, muted teal or cyan. In OKLCH its lightness is 24%, its chroma 0.032 and its hue 228°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.022 away. White text reads best on it, at 16.57:1.

Hue familyTeals and cyans
Lightnessvery dark (24%)
Chromamuted (0.032)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.57:1

Values

HEX#0C212A
RGBrgb(12, 33, 42)
HSLhsl(198, 56%, 11%)
OKLCHoklch(23.5% 0.032 228.3)

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 #0C212A 16.57:1 AAA Lc -105.9 Preferred for body text
Black text on #0C212A 1.26:1 Fails Lc 0.0 Not readable
#0C212A text on white 16.57:1 AAA Lc 103.4 Preferred for body text
#0C212A text on black 1.26: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CCDCE4

    oklch(88.5% 0.02 229.1)

  4. Step 300

    300

    #A8C6D4

    oklch(80.9% 0.038 227.7)

  5. Step 400

    400

    #79A8BF

    oklch(70.6% 0.06 229.8)

  6. Step 500

    500

    #5493AF

    oklch(63.2% 0.077 228.6)

  7. Step 600

    600

    #357D9A

    oklch(55.7% 0.084 227.7)

  8. Step 700

    700

    #276984

    oklch(49.1% 0.078 228.7)

  9. Step 800

    800

    #22566B

    oklch(42.8% 0.065 227.8)

  10. Step 900

    900

    #224757

    oklch(37.8% 0.05 228.4)

  11. Step 950

    950 (this color)

    #0C212A

    oklch(23.5% 0.032 228.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C212A 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)#1C202A0.023
Deuteranopia (no green cones)#181D2A0.021
Tritanopia (no blue cones)#0024240.022
Achromatopsia (no color)#1E1E1E0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C212A

    #0C212A

    oklch(23.5% 0.032 228.3)

  • #2A1910

    #2A1910

    oklch(23.3% 0.032 48.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C212A

    #0C212A

    oklch(23.5% 0.032 228.3)

  • #082324

    #082324

    oklch(23.6% 0.032 198.6)

  • #151E2D

    #151E2D

    oklch(23.4% 0.032 260.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C212A

    #0C212A

    oklch(23.5% 0.032 228.3)

  • #2B1818

    #2B1818

    oklch(23.5% 0.031 19.6)

  • #261C0C

    #261C0C

    oklch(23.4% 0.031 78)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C212A

    #0C212A

    oklch(23.5% 0.032 228.3)

  • #291821

    #291821

    oklch(23.5% 0.031 346.8)

  • #1F1F0D

    #1F1F0D

    oklch(23.4% 0.031 108.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C212A

    #0C212A

    oklch(23.5% 0.032 228.3)

  • #241928

    #241928

    oklch(23.4% 0.032 316.9)

  • #2A1910

    #2A1910

    oklch(23.3% 0.032 48.6)

  • #162213

    #162213

    oklch(23.6% 0.033 139.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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