#1F798A

Closest named color: Ocean (#017B92). oklch(53.3% 0.084 213.5), rgb(31, 121, 138).

Aa

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

About this color

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

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

Values

HEX#1F798A
RGBrgb(31, 121, 138)
HSLhsl(190, 63%, 33%)
OKLCHoklch(53.3% 0.084 213.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 #1F798A 5.04:1 AA Lc -79.9 Fine for body text
Black text on #1F798A 4.16:1 AA large text Lc 29.6 Dividers and decoration only
#1F798A text on white 5.04:1 AA Lc 74.5 Content text, not long reading
#1F798A text on black 4.16:1 AA large text Lc -27.2 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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E2ECEE

    oklch(93.6% 0.011 211)

  3. Step 200

    200

    #CADDE2

    oklch(88.5% 0.022 215.3)

  4. Step 300

    300

    #A6C8CF

    oklch(81% 0.038 211.5)

  5. Step 400

    400

    #74ABB7

    oklch(70.7% 0.06 212.8)

  6. Step 500

    500

    #4B96A6

    oklch(63.1% 0.078 213.4)

  7. Step 600

    600 (this color)

    #1F798A

    oklch(53.3% 0.084 213.5)

  8. Step 700

    700

    #196C7B

    oklch(49.1% 0.078 212.9)

  9. Step 800

    800

    #195864

    oklch(42.7% 0.065 213)

  10. Step 900

    900

    #1C4952

    oklch(37.8% 0.051 212.8)

  11. Step 950

    950

    #122B30

    oklch(27.1% 0.032 212.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F798A 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)#6C758B0.076
Deuteranopia (no green cones)#5E6A8A0.070
Tritanopia (no blue cones)#00807E0.034
Achromatopsia (no color)#6F6F6F0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F798A

    #1F798A

    oklch(53.3% 0.084 213.5)

  • #975A4C

    #975A4C

    oklch(53.3% 0.084 33.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F798A

    #1F798A

    oklch(53.3% 0.084 213.5)

  • #227C72

    #227C72

    oklch(53.2% 0.084 184.2)

  • #3E729A

    #3E729A

    oklch(53.3% 0.084 243.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F798A

    #1F798A

    oklch(53.3% 0.084 213.5)

  • #955767

    #955767

    oklch(53.2% 0.084 3.7)

  • #8F6135

    #8F6135

    oklch(53.2% 0.085 63)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F798A

    #1F798A

    oklch(53.3% 0.084 213.5)

  • #8A5A81

    #8A5A81

    oklch(53.3% 0.083 333.6)

  • #7D6B2D

    #7D6B2D

    oklch(53.2% 0.084 93.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F798A

    #1F798A

    oklch(53.3% 0.084 213.5)

  • #776095

    #776095

    oklch(53.3% 0.085 303.6)

  • #975A4C

    #975A4C

    oklch(53.3% 0.084 33.7)

  • #63753B

    #63753B

    oklch(53.4% 0.085 123.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F798A 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.