#0C4052

Closest named color: Midnight Green (#073B4C). oklch(34.8% 0.06 226.4), rgb(12, 64, 82).

Aa

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

About this color

#0C4052 is a dark, muted teal or cyan. In OKLCH its lightness is 35%, its chroma 0.060 and its hue 226°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.019 away. White text reads best on it, at 11.22:1.

Hue familyTeals and cyans
Lightnessdark (35%)
Chromamuted (0.060)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.87:1
White text11.22:1

Values

HEX#0C4052
RGBrgb(12, 64, 82)
HSLhsl(195, 74%, 18%)
OKLCHoklch(34.8% 0.06 226.4)

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 #0C4052 11.22:1 AAA Lc -99.4 Preferred for body text
Black text on #0C4052 1.87:1 Fails Lc 8.3 Not readable
#0C4052 text on white 11.22:1 AAA Lc 95.6 Preferred for body text
#0C4052 text on black 1.87: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

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C9DDE6

    oklch(88.5% 0.025 226.5)

  4. Step 300

    300

    #A3C7D7

    oklch(80.9% 0.045 226.7)

  5. Step 400

    400

    #6EAAC4

    oklch(70.7% 0.073 227.3)

  6. Step 500

    500

    #4295B4

    oklch(63.1% 0.092 225.7)

  7. Step 600

    600

    #187FA0

    oklch(55.7% 0.1 225.8)

  8. Step 700

    700

    #036B89

    oklch(49.2% 0.093 225.9)

  9. Step 800

    800

    #0D576F

    oklch(42.7% 0.077 226.1)

  10. Step 900

    900 (this color)

    #0C4052

    oklch(34.8% 0.06 226.4)

  11. Step 950

    950

    #0F2A35

    oklch(27% 0.038 227.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C4052 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)#363F530.044
Deuteranopia (no green cones)#2D38520.039
Tritanopia (no blue cones)#0045460.032
Achromatopsia (no color)#3B3B3B0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4052

    #0C4052

    oklch(34.8% 0.06 226.4)

  • #542F1D

    #542F1D

    oklch(34.8% 0.062 46)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4052

    #0C4052

    oklch(34.8% 0.06 226.4)

  • #004344

    #004344

    oklch(34.7% 0.059 196.5)

  • #243B59

    #243B59

    oklch(34.8% 0.06 255.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C4052

    #0C4052

    oklch(34.8% 0.06 226.4)

  • #552C2F

    #552C2F

    oklch(34.8% 0.06 16)

  • #4C3511

    #4C3511

    oklch(34.8% 0.06 75.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4052

    #0C4052

    oklch(34.8% 0.06 226.4)

  • #502C40

    #502C40

    oklch(34.6% 0.06 346.3)

  • #3E3C12

    #3E3C12

    oklch(34.8% 0.061 106.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4052

    #0C4052

    oklch(34.8% 0.06 226.4)

  • #46304F

    #46304F

    oklch(34.8% 0.06 315.8)

  • #542F1D

    #542F1D

    oklch(34.8% 0.062 46)

  • #2B4121

    #2B4121

    oklch(34.8% 0.06 136.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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