#5D798B

Closest named color: Grey Blue (#647D8E). oklch(56.1% 0.043 236.7), rgb(93, 121, 139).

Aa

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

About this color

#5D798B is a medium-dark, muted blue. In OKLCH its lightness is 56%, its chroma 0.043 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Grey Blue (#647D8E), ΔE 0.016 away. White text reads best on it, at 4.59:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamuted (0.043)
Temperaturecool
Nearest nameGrey Blue (#647D8E)
Black text4.57:1
White text4.59:1

Values

HEX#5D798B
RGBrgb(93, 121, 139)
HSLhsl(203, 20%, 45%)
OKLCHoklch(56.1% 0.043 236.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 #5D798B 4.59:1 AA Lc -77.3 Fine for body text
Black text on #5D798B 4.57:1 AA Lc 32.2 Non-text elements, placeholder text
#5D798B text on white 4.59:1 AA Lc 71.9 Content text, not long reading
#5D798B text on black 4.57:1 AA Lc -29.8 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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAED

    oklch(93.5% 0.006 239.8)

  3. Step 200

    200

    #D3DADF

    oklch(88.4% 0.01 238.5)

  4. Step 300

    300

    #B5C3CC

    oklch(80.9% 0.02 235.8)

  5. Step 400

    400

    #8FA4B2

    oklch(70.7% 0.031 237.1)

  6. Step 500

    500

    #738E9F

    oklch(63.2% 0.04 235.9)

  7. Step 600

    600 (this color)

    #5D798B

    oklch(56.1% 0.043 236.7)

  8. Step 700

    700

    #4B6475

    oklch(49% 0.04 238.4)

  9. Step 800

    800

    #3E525F

    oklch(42.7% 0.033 237)

  10. Step 900

    900

    #35444E

    oklch(37.8% 0.026 237.6)

  11. Step 950

    950

    #1F282D

    oklch(27% 0.016 232.4)

Export this scale for Tailwind in the Tailwind colors tool

#5D798B 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)#71788C0.027
Deuteranopia (no green cones)#6B738B0.024
Tritanopia (no blue cones)#4E7E7F0.033
Achromatopsia (no color)#7575750.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D798B

    #5D798B

    oklch(56.1% 0.043 236.7)

  • #896F5D

    #896F5D

    oklch(56.2% 0.043 56.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D798B

    #5D798B

    oklch(56.1% 0.043 236.7)

  • #577C81

    #577C81

    oklch(56% 0.042 206.5)

  • #69748F

    #69748F

    oklch(56% 0.044 267.6)

Open the analogous palette in the generator

Split complementary

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

  • #5D798B

    #5D798B

    oklch(56.1% 0.043 236.7)

  • #8C6B67

    #8C6B67

    oklch(55.9% 0.043 26.4)

  • #807358

    #807358

    oklch(56% 0.043 85.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D798B

    #5D798B

    oklch(56.1% 0.043 236.7)

  • #8A6B75

    #8A6B75

    oklch(56.2% 0.042 357.3)

  • #73785C

    #73785C

    oklch(56.1% 0.042 116)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D798B

    #5D798B

    oklch(56.1% 0.043 236.7)

  • #836C82

    #836C82

    oklch(56.1% 0.043 327.5)

  • #896F5D

    #896F5D

    oklch(56.2% 0.043 56.4)

  • #657C66

    #657C66

    oklch(56.1% 0.043 146.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5D798B 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.