#0C3C57

Closest named color: Midnight Green (#073B4C). oklch(34% 0.068 238.9), rgb(12, 60, 87).

Aa

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

About this color

#0C3C57 is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.068 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.020 away. White text reads best on it, at 11.66:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.068)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.79:1
White text11.66:1

Values

HEX#0C3C57
RGBrgb(12, 60, 87)
HSLhsl(202, 76%, 19%)
OKLCHoklch(34% 0.068 238.9)

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 #0C3C57 11.66:1 AAA Lc -100.2 Preferred for body text
Black text on #0C3C57 1.79:1 Fails Lc 7.4 Not readable
#0C3C57 text on white 11.66:1 AAA Lc 96.5 Preferred for body text
#0C3C57 text on black 1.79: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 900.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DF

    oklch(80.9% 0.052 239.4)

  5. Step 400

    400

    #6FA8CE

    oklch(70.7% 0.082 238.7)

  6. Step 500

    500

    #4592C2

    oklch(63.2% 0.105 238.9)

  7. Step 600

    600

    #1F7BAE

    oklch(55.6% 0.114 239)

  8. Step 700

    700

    #0E6896

    oklch(49.2% 0.106 238.8)

  9. Step 800

    800

    #125579

    oklch(42.8% 0.087 238.2)

  10. Step 900

    900 (this color)

    #0C3C57

    oklch(34% 0.068 238.9)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C3C57 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)#2F3C580.036
Deuteranopia (no green cones)#2535570.030
Tritanopia (no blue cones)#0043450.046
Achromatopsia (no color)#3838380.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C3C57

    #0C3C57

    oklch(34% 0.068 238.9)

  • #512E0E

    #512E0E

    oklch(33.9% 0.068 59.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C3C57

    #0C3C57

    oklch(34% 0.068 238.9)

  • #004048

    #004048

    oklch(34% 0.059 208.7)

  • #29365B

    #29365B

    oklch(34% 0.068 268.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C3C57

    #0C3C57

    oklch(34% 0.068 238.9)

  • #562923

    #562923

    oklch(34% 0.068 29)

  • #463502

    #463502

    oklch(33.9% 0.068 88.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C3C57

    #0C3C57

    oklch(34% 0.068 238.9)

  • #532737

    #532737

    oklch(33.8% 0.068 358.3)

  • #343C0E

    #343C0E

    oklch(33.8% 0.067 118.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C3C57

    #0C3C57

    oklch(34% 0.068 238.9)

  • #4B2A49

    #4B2A49

    oklch(34% 0.068 329.1)

  • #512E0E

    #512E0E

    oklch(33.9% 0.068 59.2)

  • #1B4123

    #1B4123

    oklch(33.8% 0.068 148.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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