#217F8B

Closest named color: Ocean (#017B92). oklch(54.9% 0.085 207.7), rgb(33, 127, 139).

Aa

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

About this color

#217F8B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.085 and its hue 208°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.022 away. White text reads best on it, at 4.69:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.47:1
White text4.69:1

Values

HEX#217F8B
RGBrgb(33, 127, 139)
HSLhsl(187, 62%, 34%)
OKLCHoklch(54.9% 0.085 207.7)

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 #217F8B 4.69:1 AA Lc -77.7 Fine for body text
Black text on #217F8B 4.47:1 AA large text Lc 31.8 Non-text elements, placeholder text
#217F8B text on white 4.69:1 AA Lc 72.3 Content text, not long reading
#217F8B text on black 4.47:1 AA large text Lc -29.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

    #CADDE0

    oklch(88.4% 0.021 208.1)

  4. Step 300

    300

    #A5C8CD

    oklch(80.9% 0.038 207)

  5. Step 400

    400

    #72ACB4

    oklch(70.7% 0.061 206.8)

  6. Step 500

    500

    #4997A2

    oklch(63.2% 0.078 207.6)

  7. Step 600

    600 (this color)

    #217F8B

    oklch(54.9% 0.085 207.7)

  8. Step 700

    700

    #146D78

    oklch(49.1% 0.079 207.8)

  9. Step 800

    800

    #165961

    oklch(42.7% 0.065 206.8)

  10. Step 900

    900

    #1B4950

    oklch(37.7% 0.051 208.9)

  11. Step 950

    950

    #112B2F

    oklch(27% 0.033 208.6)

Export this scale for Tailwind in the Tailwind colors tool

#217F8B 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)#737A8C0.081
Deuteranopia (no green cones)#656F8B0.075
Tritanopia (no blue cones)#0085830.027
Achromatopsia (no color)#7474740.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #217F8B

    #217F8B

    oklch(54.9% 0.085 207.7)

  • #9D5D55

    #9D5D55

    oklch(54.9% 0.086 27.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #217F8B

    #217F8B

    oklch(54.9% 0.085 207.7)

  • #2C8271

    #2C8271

    oklch(55.1% 0.086 177.3)

  • #3C789D

    #3C789D

    oklch(54.9% 0.085 238.1)

Open the analogous palette in the generator

Split complementary

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

  • #217F8B

    #217F8B

    oklch(54.9% 0.085 207.7)

  • #995C71

    #995C71

    oklch(54.9% 0.084 358.1)

  • #97643D

    #97643D

    oklch(54.9% 0.085 57.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #217F8B

    #217F8B

    oklch(54.9% 0.085 207.7)

  • #8C5F8B

    #8C5F8B

    oklch(54.9% 0.085 327.4)

  • #866E31

    #866E31

    oklch(54.9% 0.085 87.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #217F8B

    #217F8B

    oklch(54.9% 0.085 207.7)

  • #77669D

    #77669D

    oklch(54.9% 0.086 297.7)

  • #9D5D55

    #9D5D55

    oklch(54.9% 0.086 27.8)

  • #6D783C

    #6D783C

    oklch(54.9% 0.085 117.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #217F8B 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.