#0C5E7A

Closest named color: Petrol (#005F6A). oklch(45.1% 0.084 228), rgb(12, 94, 122).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.89:1
White text7.24:1

Values

HEX#0C5E7A
RGBrgb(12, 94, 122)
HSLhsl(195, 82%, 26%)
OKLCHoklch(45.1% 0.084 228)

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 #0C5E7A 7.24:1 AAA Lc -89.7 Fine for body text
Black text on #0C5E7A 2.89:1 Fails Lc 19.3 Dividers and decoration only
#0C5E7A text on white 7.24:1 AAA Lc 84.7 Fine for body text
#0C5E7A text on black 2.89:1 Fails Lc -17.3 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C7DDE7

    oklch(88.4% 0.027 226.8)

  4. Step 300

    300

    #A0C8DA

    oklch(81% 0.049 227.1)

  5. Step 400

    400

    #6AABC7

    oklch(70.8% 0.078 227.4)

  6. Step 500

    500

    #3A95B9

    oklch(63.1% 0.1 227.9)

  7. Step 600

    600

    #007FA5

    oklch(55.7% 0.108 227.8)

  8. Step 700

    700

    #006A8B

    oklch(49% 0.096 228.3)

  9. Step 800

    800 (this color)

    #0C5E7A

    oklch(45.1% 0.084 228)

  10. Step 900

    900

    #10485D

    oklch(37.7% 0.066 228.2)

  11. Step 950

    950

    #0C2A36

    oklch(26.9% 0.042 227.8)

Export this scale for Tailwind in the Tailwind colors tool

#0C5E7A 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)#4F5C7B0.060
Deuteranopia (no green cones)#41537A0.051
Tritanopia (no blue cones)#0066670.047
Achromatopsia (no color)#5757570.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5E7A

    #0C5E7A

    oklch(45.1% 0.084 228)

  • #7B4629

    #7B4629

    oklch(45.1% 0.084 48.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5E7A

    #0C5E7A

    oklch(45.1% 0.084 228)

  • #006265

    #006265

    oklch(45% 0.077 198.5)

  • #375684

    #375684

    oklch(45.1% 0.084 258.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C5E7A

    #0C5E7A

    oklch(45.1% 0.084 228)

  • #7E4144

    #7E4144

    oklch(45.2% 0.084 17.9)

  • #6F4F14

    #6F4F14

    oklch(45.1% 0.084 78.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5E7A

    #0C5E7A

    oklch(45.1% 0.084 228)

  • #77415E

    #77415E

    oklch(45.1% 0.084 347.6)

  • #5A5918

    #5A5918

    oklch(45.2% 0.085 108.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5E7A

    #0C5E7A

    oklch(45.1% 0.084 228)

  • #694674

    #694674

    oklch(45.2% 0.084 317.9)

  • #7B4629

    #7B4629

    oklch(45.1% 0.084 48.3)

  • #3D6031

    #3D6031

    oklch(45% 0.083 138.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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