#0C5F6E

Closest named color: Petrol (#005F6A). oklch(44.8% 0.075 214), rgb(12, 95, 110).

Aa

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

About this color

#0C5F6E is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 45%, its chroma 0.075 and its hue 214°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.008 away. White text reads best on it, at 7.29:1.

Hue familyTeals and cyans
Lightnessdark (45%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.87:1
White text7.29:1

Values

HEX#0C5F6E
RGBrgb(12, 95, 110)
HSLhsl(189, 80%, 24%)
OKLCHoklch(44.8% 0.075 214)

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 #0C5F6E 7.29:1 AAA Lc -89.8 Fine for body text
Black text on #0C5F6E 2.87:1 Fails Lc 19.1 Dividers and decoration only
#0C5F6E text on white 7.29:1 AAA Lc 84.9 Fine for body text
#0C5F6E text on black 2.87:1 Fails Lc -17.1 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DEE3

    oklch(88.6% 0.024 212.9)

  4. Step 300

    300

    #A1C9D2

    oklch(81% 0.044 212.9)

  5. Step 400

    400

    #6BACBB

    oklch(70.6% 0.07 214)

  6. Step 500

    500

    #3C97AB

    oklch(63% 0.09 214.8)

  7. Step 600

    600

    #008196

    oklch(55.5% 0.098 214.4)

  8. Step 700

    700

    #006D7E

    oklch(49.1% 0.086 213.3)

  9. Step 800

    800 (this color)

    #0C5F6E

    oklch(44.8% 0.075 214)

  10. Step 900

    900

    #114955

    oklch(37.6% 0.059 215.5)

  11. Step 950

    950

    #0D2B31

    oklch(27% 0.037 212.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C5F6E 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)#545C6F0.067
Deuteranopia (no green cones)#48526E0.062
Tritanopia (no blue cones)#0065640.029
Achromatopsia (no color)#5656560.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5F6E

    #0C5F6E

    oklch(44.8% 0.075 214)

  • #794438

    #794438

    oklch(44.8% 0.076 33.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5F6E

    #0C5F6E

    oklch(44.8% 0.075 214)

  • #0E6259

    #0E6259

    oklch(44.8% 0.075 183.6)

  • #2C597B

    #2C597B

    oklch(44.8% 0.075 243.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C5F6E

    #0C5F6E

    oklch(44.8% 0.075 214)

  • #774250

    #774250

    oklch(44.8% 0.075 3.6)

  • #724B24

    #724B24

    oklch(44.8% 0.076 63.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5F6E

    #0C5F6E

    oklch(44.8% 0.075 214)

  • #6E4466

    #6E4466

    oklch(44.8% 0.076 333.9)

  • #62541D

    #62541D

    oklch(44.8% 0.075 94.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5F6E

    #0C5F6E

    oklch(44.8% 0.075 214)

  • #5E4A77

    #5E4A77

    oklch(44.9% 0.075 303.9)

  • #794438

    #794438

    oklch(44.8% 0.076 33.7)

  • #4C5C2A

    #4C5C2A

    oklch(44.9% 0.076 124.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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