#1F7C8D

Closest named color: Ocean (#017B92). oklch(54.2% 0.086 213), rgb(31, 124, 141).

Aa

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

About this color

#1F7C8D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 54%, its chroma 0.086 and its hue 213°. 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 4.85:1.

Hue familyTeals and cyans
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.32:1
White text4.85:1

Values

HEX#1F7C8D
RGBrgb(31, 124, 141)
HSLhsl(189, 64%, 34%)
OKLCHoklch(54.2% 0.086 213)

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 #1F7C8D 4.85:1 AA Lc -78.7 Fine for body text
Black text on #1F7C8D 4.32:1 AA large text Lc 30.8 Non-text elements, placeholder text
#1F7C8D text on white 4.85:1 AA Lc 73.3 Content text, not long reading
#1F7C8D text on black 4.32:1 AA large text Lc -28.4 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

    #A5C8D0

    oklch(81% 0.039 213.1)

  5. Step 400

    400

    #72ABB8

    oklch(70.7% 0.062 213.6)

  6. Step 500

    500

    #4996A6

    oklch(63.1% 0.079 213.1)

  7. Step 600

    600 (this color)

    #1F7C8D

    oklch(54.2% 0.086 213)

  8. Step 700

    700

    #156C7C

    oklch(49.1% 0.08 213.6)

  9. Step 800

    800

    #165865

    oklch(42.6% 0.067 214)

  10. Step 900

    900

    #1B4952

    oklch(37.8% 0.052 212.6)

  11. Step 950

    950

    #112B30

    oklch(27.1% 0.033 211.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F7C8D 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)#6F788E0.078
Deuteranopia (no green cones)#606D8D0.070
Tritanopia (no blue cones)#0083810.034
Achromatopsia (no color)#7171710.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7C8D

    #1F7C8D

    oklch(54.2% 0.086 213)

  • #9B5C4E

    #9B5C4E

    oklch(54.3% 0.086 33.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7C8D

    #1F7C8D

    oklch(54.2% 0.086 213)

  • #237F74

    #237F74

    oklch(54.1% 0.085 183.4)

  • #3F759D

    #3F759D

    oklch(54.3% 0.085 242.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F7C8D

    #1F7C8D

    oklch(54.2% 0.086 213)

  • #99596A

    #99596A

    oklch(54.2% 0.087 3.3)

  • #936437

    #936437

    oklch(54.3% 0.086 63.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7C8D

    #1F7C8D

    oklch(54.2% 0.086 213)

  • #8D5C85

    #8D5C85

    oklch(54.2% 0.086 332.7)

  • #806E2E

    #806E2E

    oklch(54.2% 0.086 93.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7C8D

    #1F7C8D

    oklch(54.2% 0.086 213)

  • #796399

    #796399

    oklch(54.3% 0.086 302.4)

  • #9B5C4E

    #9B5C4E

    oklch(54.3% 0.086 33.3)

  • #66773C

    #66773C

    oklch(54.1% 0.086 122.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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