#0C798D

Closest named color: Ocean (#017B92). oklch(53.1% 0.091 215), rgb(12, 121, 141).

Aa

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

About this color

#0C798D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.091 and its hue 215°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.008 away. White text reads best on it, at 5.07:1.

Hue familyTeals and cyans
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.13:1
White text5.07:1

Values

HEX#0C798D
RGBrgb(12, 121, 141)
HSLhsl(189, 84%, 30%)
OKLCHoklch(53.1% 0.091 215)

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 #0C798D 5.07:1 AA Lc -80.0 Fine for body text
Black text on #0C798D 4.13:1 AA large text Lc 29.5 Dividers and decoration only
#0C798D text on white 5.07:1 AA Lc 74.6 Content text, not long reading
#0C798D text on black 4.13:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C9DDE3

    oklch(88.4% 0.023 217.7)

  4. Step 300

    300

    #A3C8D1

    oklch(80.9% 0.041 214.2)

  5. Step 400

    400

    #6FABBA

    oklch(70.6% 0.066 215.3)

  6. Step 500

    500

    #4496A9

    oklch(63% 0.084 215.3)

  7. Step 600

    600 (this color)

    #0C798D

    oklch(53.1% 0.091 215)

  8. Step 700

    700

    #076C7F

    oklch(49% 0.085 215.8)

  9. Step 800

    800

    #0F5867

    oklch(42.6% 0.07 215.7)

  10. Step 900

    900

    #174954

    oklch(37.7% 0.055 215.1)

  11. Step 950

    950

    #102B31

    oklch(27.1% 0.034 214.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C798D 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)#6B758E0.081
Deuteranopia (no green cones)#5B698D0.073
Tritanopia (no blue cones)#00807F0.036
Achromatopsia (no color)#6E6E6E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C798D

    #0C798D

    oklch(53.1% 0.091 215)

  • #995847

    #995847

    oklch(53.1% 0.09 35.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C798D

    #0C798D

    oklch(53.1% 0.091 215)

  • #0B7D73

    #0B7D73

    oklch(53.1% 0.091 185)

  • #3A719D

    #3A719D

    oklch(53.1% 0.091 244.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C798D

    #0C798D

    oklch(53.1% 0.091 215)

  • #985465

    #985465

    oklch(53% 0.092 4.7)

  • #90602D

    #90602D

    oklch(53% 0.091 65.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C798D

    #0C798D

    oklch(53.1% 0.091 215)

  • #8D5781

    #8D5781

    oklch(53.2% 0.092 335.3)

  • #7D6B25

    #7D6B25

    oklch(53.1% 0.091 94.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C798D

    #0C798D

    oklch(53.1% 0.091 215)

  • #785E97

    #785E97

    oklch(53.1% 0.092 304.4)

  • #995847

    #995847

    oklch(53.1% 0.09 35.5)

  • #607537

    #607537

    oklch(53.1% 0.091 124.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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