#12778D

Closest named color: Ocean (#017B92). oklch(52.7% 0.09 217.5), rgb(18, 119, 141).

Aa

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

About this color

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

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

Values

HEX#12778D
RGBrgb(18, 119, 141)
HSLhsl(191, 77%, 31%)
OKLCHoklch(52.7% 0.09 217.5)

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 #12778D 5.18:1 AA Lc -80.6 Fine for body text
Black text on #12778D 4.04:1 AA large text Lc 28.8 Dividers and decoration only
#12778D text on white 5.18:1 AA Lc 75.3 Fine for body text
#12778D text on black 4.04:1 AA large text Lc -26.5 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

    #C9DDE3

    oklch(88.4% 0.023 217.7)

  4. Step 300

    300

    #A4C8D2

    oklch(81% 0.041 216.5)

  5. Step 400

    400

    #71ABBB

    oklch(70.7% 0.065 217)

  6. Step 500

    500

    #4796AB

    oklch(63.2% 0.083 217.7)

  7. Step 600

    600 (this color)

    #12778D

    oklch(52.7% 0.09 217.5)

  8. Step 700

    700

    #106C80

    oklch(49.2% 0.084 217.4)

  9. Step 800

    800

    #135868

    oklch(42.7% 0.07 217.5)

  10. Step 900

    900

    #194854

    oklch(37.5% 0.054 217.6)

  11. Step 950

    950

    #112B31

    oklch(27.1% 0.034 214.8)

Export this scale for Tailwind in the Tailwind colors tool

#12778D 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)#69738E0.078
Deuteranopia (no green cones)#59688D0.069
Tritanopia (no blue cones)#007F7E0.040
Achromatopsia (no color)#6D6D6D0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #12778D

    #12778D

    oklch(52.7% 0.09 217.5)

  • #975744

    #975744

    oklch(52.6% 0.09 37.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12778D

    #12778D

    oklch(52.7% 0.09 217.5)

  • #087B74

    #087B74

    oklch(52.6% 0.09 187.8)

  • #3D6F9C

    #3D6F9C

    oklch(52.7% 0.09 247.5)

Open the analogous palette in the generator

Split complementary

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

  • #12778D

    #12778D

    oklch(52.7% 0.09 217.5)

  • #975461

    #975461

    oklch(52.8% 0.09 8.2)

  • #8D602B

    #8D602B

    oklch(52.7% 0.09 67.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12778D

    #12778D

    oklch(52.7% 0.09 217.5)

  • #8C567D

    #8C567D

    oklch(52.7% 0.089 337.8)

  • #796B25

    #796B25

    oklch(52.7% 0.091 97.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12778D

    #12778D

    oklch(52.7% 0.09 217.5)

  • #795C93

    #795C93

    oklch(52.6% 0.09 307.8)

  • #975744

    #975744

    oklch(52.6% 0.09 37.3)

  • #5C7539

    #5C7539

    oklch(52.8% 0.091 127.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12778D 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.