#1F798B

Closest named color: Ocean (#017B92). oklch(53.3% 0.085 214.5), rgb(31, 121, 139).

Aa

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

About this color

#1F798B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.085 and its hue 214°. 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.04:1.

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

Values

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

    #A6C7D0

    oklch(80.8% 0.038 216.1)

  5. Step 400

    400

    #73ABB8

    oklch(70.7% 0.061 213.9)

  6. Step 500

    500

    #4B96A7

    oklch(63.2% 0.078 214.5)

  7. Step 600

    600 (this color)

    #1F798B

    oklch(53.3% 0.085 214.5)

  8. Step 700

    700

    #196C7C

    oklch(49.1% 0.079 214)

  9. Step 800

    800

    #195865

    oklch(42.7% 0.065 214.4)

  10. Step 900

    900

    #1C4852

    oklch(37.5% 0.051 215)

  11. Step 950

    950

    #122B30

    oklch(27.1% 0.032 212.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F798B 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)#6C758C0.076
Deuteranopia (no green cones)#5E6A8B0.069
Tritanopia (no blue cones)#00807F0.034
Achromatopsia (no color)#6F6F6F0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F798B

    #1F798B

    oklch(53.3% 0.085 214.5)

  • #975A4B

    #975A4B

    oklch(53.3% 0.084 34.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F798B

    #1F798B

    oklch(53.3% 0.085 214.5)

  • #207D73

    #207D73

    oklch(53.5% 0.085 184.4)

  • #3F729B

    #3F729B

    oklch(53.4% 0.085 244.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F798B

    #1F798B

    oklch(53.3% 0.085 214.5)

  • #965767

    #965767

    oklch(53.4% 0.085 4)

  • #8F6234

    #8F6234

    oklch(53.4% 0.085 64.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F798B

    #1F798B

    oklch(53.3% 0.085 214.5)

  • #8B5981

    #8B5981

    oklch(53.3% 0.086 334.2)

  • #7D6C2D

    #7D6C2D

    oklch(53.4% 0.085 94.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F798B

    #1F798B

    oklch(53.3% 0.085 214.5)

  • #786095

    #786095

    oklch(53.4% 0.085 304.5)

  • #975A4B

    #975A4B

    oklch(53.3% 0.084 34.6)

  • #62753C

    #62753C

    oklch(53.3% 0.084 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 #1F798B, closest first.

Similar named colors

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

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