#0C2137

Closest named color: Dark (#1B2431). oklch(24.3% 0.05 251.6), rgb(12, 33, 55).

Aa

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

About this color

#0C2137 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.050 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.027 away. White text reads best on it, at 16.30:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.050)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.30:1

Values

HEX#0C2137
RGBrgb(12, 33, 55)
HSLhsl(211, 64%, 13%)
OKLCHoklch(24.3% 0.05 251.6)

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 #0C2137 16.30:1 AAA Lc -105.7 Preferred for body text
Black text on #0C2137 1.28:1 Fails Lc 0.0 Not readable
#0C2137 text on white 16.30:1 AAA Lc 103.1 Preferred for body text
#0C2137 text on black 1.28: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A5C4E7

    oklch(80.9% 0.06 251.7)

  5. Step 400

    400

    #74A5DA

    oklch(70.8% 0.094 251.1)

  6. Step 500

    500

    #4D8DD0

    oklch(63.1% 0.121 251.3)

  7. Step 600

    600

    #2E76BD

    oklch(55.6% 0.131 251.2)

  8. Step 700

    700

    #2063A3

    oklch(49.2% 0.122 251.1)

  9. Step 800

    800

    #1D5184

    oklch(42.7% 0.101 251.1)

  10. Step 900

    900

    #1E436A

    oklch(37.6% 0.079 251.8)

  11. Step 950

    950 (this color)

    #0C2137

    oklch(24.3% 0.05 251.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C2137 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)#1722380.015
Deuteranopia (no green cones)#111E370.011
Tritanopia (no blue cones)#0026290.039
Achromatopsia (no color)#2020200.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2137

    #0C2137

    oklch(24.3% 0.05 251.6)

  • #2F1B01

    #2F1B01

    oklch(24.3% 0.051 70.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2137

    #0C2137

    oklch(24.3% 0.05 251.6)

  • #00252F

    #00252F

    oklch(24.5% 0.045 220.2)

  • #1C1D37

    #1C1D37

    oklch(24.4% 0.049 280.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C2137

    #0C2137

    oklch(24.3% 0.05 251.6)

  • #34170C

    #34170C

    oklch(24.4% 0.051 41)

  • #252000

    #252000

    oklch(24.2% 0.05 100.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2137

    #0C2137

    oklch(24.3% 0.05 251.6)

  • #34151A

    #34151A

    oklch(24.4% 0.05 11.4)

  • #172509

    #172509

    oklch(24.4% 0.051 131.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2137

    #0C2137

    oklch(24.3% 0.05 251.6)

  • #301627

    #301627

    oklch(24.4% 0.05 341.7)

  • #2F1B01

    #2F1B01

    oklch(24.3% 0.051 70.5)

  • #032718

    #032718

    oklch(24.3% 0.05 161.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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