#5797AB

Closest named color: Cadet Blue (#5F9EA0). oklch(64.1% 0.072 220.2), rgb(87, 151, 171).

Aa

Black text reads best on this color (6.41:1).

About this color

#5797AB is a medium-light, moderately saturated teal or cyan. In OKLCH its lightness is 64%, its chroma 0.072 and its hue 220°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Blue (#5F9EA0), ΔE 0.032 away. Black text reads best on it, at 6.41:1.

Hue familyTeals and cyans
Lightnessmedium-light (64%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameCadet Blue (#5F9EA0)
Black text6.41:1
White text3.27:1

Values

HEX#5797AB
RGBrgb(87, 151, 171)
HSLhsl(194, 33%, 51%)
OKLCHoklch(64.1% 0.072 220.2)

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 #5797AB 3.27:1 AA large text Lc -65.3 Content text, not long reading
Black text on #5797AB 6.41:1 AA Lc 44.2 Non-text elements, placeholder text
#5797AB text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#5797AB text on black 6.41:1 AA Lc -41.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3ECEF

    oklch(93.7% 0.01 219.6)

  3. Step 200

    200

    #CCDCE2

    oklch(88.4% 0.019 222.2)

  4. Step 300

    300

    #A8C6D1

    oklch(80.8% 0.036 222)

  5. Step 400

    400

    #79A9B9

    oklch(70.6% 0.056 220.6)

  6. Step 500

    500 (this color)

    #5797AB

    oklch(64.1% 0.072 220.2)

  7. Step 600

    600

    #357E93

    oklch(55.6% 0.079 219.8)

  8. Step 700

    700

    #276A7D

    oklch(49% 0.073 220)

  9. Step 800

    800

    #225766

    oklch(42.8% 0.061 219.5)

  10. Step 900

    900

    #224753

    oklch(37.6% 0.047 221.5)

  11. Step 950

    950

    #152A31

    oklch(27.1% 0.03 221.5)

Export this scale for Tailwind in the Tailwind colors tool

#5797AB 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)#8B94AC0.061
Deuteranopia (no green cones)#7E8AAB0.055
Tritanopia (no blue cones)#2A9E9D0.047
Achromatopsia (no color)#8E8E8E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #5797AB

    #5797AB

    oklch(64.1% 0.072 220.2)

  • #B37E6B

    #B37E6B

    oklch(64.2% 0.072 40.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5797AB

    #5797AB

    oklch(64.1% 0.072 220.2)

  • #549B96

    #549B96

    oklch(64.2% 0.072 189.6)

  • #6B90B7

    #6B90B7

    oklch(64.1% 0.072 250.3)

Open the analogous palette in the generator

Split complementary

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

  • #5797AB

    #5797AB

    oklch(64.1% 0.072 220.2)

  • #B47A82

    #B47A82

    oklch(64.1% 0.073 10.3)

  • #A9855B

    #A9855B

    oklch(64.1% 0.073 70.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5797AB

    #5797AB

    oklch(64.1% 0.072 220.2)

  • #AB7B9A

    #AB7B9A

    oklch(64.1% 0.073 340.4)

  • #968E5A

    #968E5A

    oklch(64.1% 0.072 100.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5797AB

    #5797AB

    oklch(64.1% 0.072 220.2)

  • #9A80AE

    #9A80AE

    oklch(64% 0.073 310)

  • #B37E6B

    #B37E6B

    oklch(64.2% 0.072 40.5)

  • #7E9667

    #7E9667

    oklch(64.2% 0.073 130.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5797AB 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.