#0C3C56

Closest named color: Midnight Green (#073B4C). oklch(33.9% 0.067 237.9), rgb(12, 60, 86).

Aa

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

About this color

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

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

Values

HEX#0C3C56
RGBrgb(12, 60, 86)
HSLhsl(201, 76%, 19%)
OKLCHoklch(33.9% 0.067 237.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 #0C3C56 11.69:1 AAA Lc -100.2 Preferred for body text
Black text on #0C3C56 1.79:1 Fails Lc 7.3 Not readable
#0C3C56 text on white 11.69:1 AAA Lc 96.6 Preferred for body text
#0C3C56 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DE

    oklch(80.9% 0.051 238.2)

  5. Step 400

    400

    #6FA8CD

    oklch(70.6% 0.081 237.9)

  6. Step 500

    500

    #4592C0

    oklch(63.1% 0.103 237.7)

  7. Step 600

    600

    #1F7BAD

    oklch(55.5% 0.113 238.4)

  8. Step 700

    700

    #0F6894

    oklch(49.1% 0.103 237.7)

  9. Step 800

    800

    #125578

    oklch(42.7% 0.086 237.5)

  10. Step 900

    900 (this color)

    #0C3C56

    oklch(33.9% 0.067 237.9)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C3C56 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)#303C570.038
Deuteranopia (no green cones)#2635560.031
Tritanopia (no blue cones)#0043450.044
Achromatopsia (no color)#3838380.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C3C56

    #0C3C56

    oklch(33.9% 0.067 237.9)

  • #512E10

    #512E10

    oklch(33.9% 0.067 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C3C56

    #0C3C56

    oklch(33.9% 0.067 237.9)

  • #004047

    #004047

    oklch(34% 0.058 207)

  • #29365A

    #29365A

    oklch(34% 0.066 267.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C3C56

    #0C3C56

    oklch(33.9% 0.067 237.9)

  • #552924

    #552924

    oklch(33.9% 0.066 27.8)

  • #463503

    #463503

    oklch(33.9% 0.067 87.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C3C56

    #0C3C56

    oklch(33.9% 0.067 237.9)

  • #532838

    #532838

    oklch(34% 0.067 357.6)

  • #353C0E

    #353C0E

    oklch(33.9% 0.067 117.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C3C56

    #0C3C56

    oklch(33.9% 0.067 237.9)

  • #4A2A49

    #4A2A49

    oklch(33.8% 0.067 328)

  • #512E10

    #512E10

    oklch(33.9% 0.067 58)

  • #1C4123

    #1C4123

    oklch(33.9% 0.067 148.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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