#0C5E6B

Closest named color: Petrol (#005F6A). oklch(44.4% 0.074 211.8), rgb(12, 94, 107).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (44%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.82:1
White text7.42:1

Values

HEX#0C5E6B
RGBrgb(12, 94, 107)
HSLhsl(188, 80%, 23%)
OKLCHoklch(44.4% 0.074 211.8)

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 #0C5E6B 7.42:1 AAA Lc -90.3 Preferred for body text
Black text on #0C5E6B 2.82:1 Fails Lc 18.6 Dividers and decoration only
#0C5E6B text on white 7.42:1 AAA Lc 85.4 Fine for body text
#0C5E6B text on black 2.82:1 Fails Lc -16.6 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

    #C8DEE2

    oklch(88.5% 0.024 209.8)

  4. Step 300

    300

    #A1C9D1

    oklch(81% 0.044 211.2)

  5. Step 400

    400

    #6CACB9

    oklch(70.6% 0.068 211.9)

  6. Step 500

    500

    #3D98A8

    oklch(63.2% 0.088 211.1)

  7. Step 600

    600

    #068294

    oklch(55.7% 0.096 211.8)

  8. Step 700

    700

    #006D7D

    oklch(49.1% 0.086 212.3)

  9. Step 800

    800 (this color)

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  10. Step 900

    900

    #124A53

    oklch(37.8% 0.058 210.5)

  11. Step 950

    950

    #0D2B31

    oklch(27% 0.037 212.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C5E6B 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)#545A6C0.069
Deuteranopia (no green cones)#48516B0.063
Tritanopia (no blue cones)#0063620.026
Achromatopsia (no color)#5555550.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5E6B

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  • #774339

    #774339

    oklch(44.3% 0.074 31.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5E6B

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  • #126156

    #126156

    oklch(44.5% 0.074 180.9)

  • #2A5879

    #2A5879

    oklch(44.3% 0.074 242.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C5E6B

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  • #754150

    #754150

    oklch(44.3% 0.074 2)

  • #714A25

    #714A25

    oklch(44.5% 0.074 62.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5E6B

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  • #6B4466

    #6B4466

    oklch(44.4% 0.073 331.4)

  • #62521D

    #62521D

    oklch(44.3% 0.074 92.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5E6B

    #0C5E6B

    oklch(44.4% 0.074 211.8)

  • #5B4976

    #5B4976

    oklch(44.3% 0.075 301.8)

  • #774339

    #774339

    oklch(44.3% 0.074 31.8)

  • #4D5A29

    #4D5A29

    oklch(44.4% 0.074 121.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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