#12798C

Closest named color: Ocean (#017B92). oklch(53.1% 0.089 214.4), rgb(18, 121, 140).

Aa

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

About this color

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

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

Values

HEX#12798C
RGBrgb(18, 121, 140)
HSLhsl(189, 77%, 31%)
OKLCHoklch(53.1% 0.089 214.4)

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

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #C9DDE2

    oklch(88.4% 0.022 214.4)

  4. Step 300

    300

    #A4C8D1

    oklch(81% 0.04 214.6)

  5. Step 400

    400

    #70ABB9

    oklch(70.6% 0.064 214.3)

  6. Step 500

    500

    #4696A8

    oklch(63% 0.082 214.6)

  7. Step 600

    600 (this color)

    #12798C

    oklch(53.1% 0.089 214.4)

  8. Step 700

    700

    #0D6C7E

    oklch(49% 0.083 215.1)

  9. Step 800

    800

    #125866

    oklch(42.6% 0.069 214.8)

  10. Step 900

    900

    #194953

    oklch(37.8% 0.053 213.9)

  11. Step 950

    950

    #102B31

    oklch(27.1% 0.034 214.3)

Export this scale for Tailwind in the Tailwind colors tool

#12798C 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)#6B758D0.079
Deuteranopia (no green cones)#5C6A8C0.071
Tritanopia (no blue cones)#00807F0.035
Achromatopsia (no color)#6E6E6E0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #12798C

    #12798C

    oklch(53.1% 0.089 214.4)

  • #995849

    #995849

    oklch(53.2% 0.09 33.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12798C

    #12798C

    oklch(53.1% 0.089 214.4)

  • #137D72

    #137D72

    oklch(53.2% 0.09 183.8)

  • #3B719C

    #3B719C

    oklch(53.1% 0.089 244.7)

Open the analogous palette in the generator

Split complementary

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

  • #12798C

    #12798C

    oklch(53.1% 0.089 214.4)

  • #975566

    #975566

    oklch(53.1% 0.089 4)

  • #90602F

    #90602F

    oklch(53.1% 0.09 64.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12798C

    #12798C

    oklch(53.1% 0.089 214.4)

  • #8C5881

    #8C5881

    oklch(53.2% 0.089 334.8)

  • #7D6B27

    #7D6B27

    oklch(53.1% 0.089 94.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12798C

    #12798C

    oklch(53.1% 0.089 214.4)

  • #785F96

    #785F96

    oklch(53.2% 0.089 304.4)

  • #995849

    #995849

    oklch(53.2% 0.09 33.9)

  • #617538

    #617538

    oklch(53.2% 0.089 124.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12798C 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.