#0C4050

Closest named color: Midnight Green (#073B4C). oklch(34.7% 0.059 223.5), rgb(12, 64, 80).

Aa

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

About this color

#0C4050 is a dark, muted teal or cyan. In OKLCH its lightness is 35%, its chroma 0.059 and its hue 224°. 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.26:1.

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

Values

HEX#0C4050
RGBrgb(12, 64, 80)
HSLhsl(194, 74%, 18%)
OKLCHoklch(34.7% 0.059 223.5)

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 #0C4050 11.26:1 AAA Lc -99.5 Preferred for body text
Black text on #0C4050 1.86:1 Fails Lc 8.2 Not readable
#0C4050 text on white 11.26:1 AAA Lc 95.7 Preferred for body text
#0C4050 text on black 1.86: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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C9DDE5

    oklch(88.5% 0.024 223.7)

  4. Step 300

    300

    #A3C7D6

    oklch(80.8% 0.044 225.1)

  5. Step 400

    400

    #6EABC1

    oklch(70.8% 0.071 222.8)

  6. Step 500

    500

    #4395B1

    oklch(63% 0.089 223.5)

  7. Step 600

    600

    #197F9D

    oklch(55.6% 0.097 223.5)

  8. Step 700

    700

    #046B86

    oklch(49% 0.091 223.4)

  9. Step 800

    800

    #0D576D

    oklch(42.6% 0.075 224)

  10. Step 900

    900 (this color)

    #0C4050

    oklch(34.7% 0.059 223.5)

  11. Step 950

    950

    #0F2A34

    oklch(26.9% 0.038 225.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C4050 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)#373E510.046
Deuteranopia (no green cones)#2E38500.040
Tritanopia (no blue cones)#0045450.030
Achromatopsia (no color)#3B3B3B0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4050

    #0C4050

    oklch(34.7% 0.059 223.5)

  • #532F20

    #532F20

    oklch(34.7% 0.058 43.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4050

    #0C4050

    oklch(34.7% 0.059 223.5)

  • #024342

    #024342

    oklch(34.7% 0.058 193.1)

  • #233B57

    #233B57

    oklch(34.7% 0.058 253.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C4050

    #0C4050

    oklch(34.7% 0.059 223.5)

  • #542C31

    #542C31

    oklch(34.7% 0.059 12.6)

  • #4C3513

    #4C3513

    oklch(34.8% 0.059 74.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4050

    #0C4050

    oklch(34.7% 0.059 223.5)

  • #4F2D41

    #4F2D41

    oklch(34.7% 0.058 344.4)

  • #3F3B13

    #3F3B13

    oklch(34.7% 0.058 103.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4050

    #0C4050

    oklch(34.7% 0.059 223.5)

  • #45304F

    #45304F

    oklch(34.7% 0.059 314.4)

  • #532F20

    #532F20

    oklch(34.7% 0.058 43.1)

  • #2D4020

    #2D4020

    oklch(34.6% 0.058 133.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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