#217A8D

Closest named color: Ocean (#017B92). oklch(53.7% 0.085 215.5), rgb(33, 122, 141).

Aa

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

About this color

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

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

Values

HEX#217A8D
RGBrgb(33, 122, 141)
HSLhsl(191, 62%, 34%)
OKLCHoklch(53.7% 0.085 215.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 #217A8D 4.96:1 AA Lc -79.4 Fine for body text
Black text on #217A8D 4.23:1 AA large text Lc 30.1 Non-text elements, placeholder text
#217A8D text on white 4.96:1 AA Lc 74.0 Content text, not long reading
#217A8D text on black 4.23:1 AA large text Lc -27.7 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

    #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

    #74ABB9

    oklch(70.8% 0.061 215.4)

  6. Step 500

    500

    #4B96A7

    oklch(63.2% 0.078 214.5)

  7. Step 600

    600 (this color)

    #217A8D

    oklch(53.7% 0.085 215.5)

  8. Step 700

    700

    #196C7D

    oklch(49.2% 0.079 215.1)

  9. Step 800

    800

    #195866

    oklch(42.8% 0.066 215.8)

  10. Step 900

    900

    #1C4853

    oklch(37.6% 0.051 216.8)

  11. Step 950

    950

    #122A30

    oklch(26.8% 0.032 216)

Export this scale for Tailwind in the Tailwind colors tool

#217A8D 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)#6D768E0.076
Deuteranopia (no green cones)#5E6B8D0.068
Tritanopia (no blue cones)#0081800.036
Achromatopsia (no color)#7070700.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #217A8D

    #217A8D

    oklch(53.7% 0.085 215.5)

  • #995B4B

    #995B4B

    oklch(53.7% 0.086 35.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #217A8D

    #217A8D

    oklch(53.7% 0.085 215.5)

  • #207E75

    #207E75

    oklch(53.8% 0.085 185.5)

  • #41739C

    #41739C

    oklch(53.8% 0.084 245)

Open the analogous palette in the generator

Split complementary

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

  • #217A8D

    #217A8D

    oklch(53.7% 0.085 215.5)

  • #975867

    #975867

    oklch(53.7% 0.085 5)

  • #906335

    #906335

    oklch(53.8% 0.085 64.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #217A8D

    #217A8D

    oklch(53.7% 0.085 215.5)

  • #8D5A81

    #8D5A81

    oklch(53.7% 0.086 335.7)

  • #7D6D2E

    #7D6D2E

    oklch(53.7% 0.085 95.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #217A8D

    #217A8D

    oklch(53.7% 0.085 215.5)

  • #7A6195

    #7A6195

    oklch(53.8% 0.084 305.8)

  • #995B4B

    #995B4B

    oklch(53.7% 0.086 35.3)

  • #62773E

    #62773E

    oklch(53.8% 0.085 125.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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