#hexpedia

Closest to Slate Gray

#5B7C99

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX5B7C99
HEX with ##5B7C99
RGBrgb(91, 124, 153)
RGBArgba(91, 124, 153, 1)
HSLhsl(208.06 25.41% 47.84%)
HSLAhsla(208.06, 25.41%, 47.84%, 1)
HSVhsv(208.06, 40.52%, 60%)
CMYKcmyk(40.52%, 18.95%, 0%, 40%)
OKLCHoklch(57.25% 0.0587 245.59)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

4.39:1

AA large

Black text

4.79:1

AA normal

Reference notes

#5B7C99 is a balanced, soft blue color closest to Slate Gray. The color has RGB channels of 91, 124, and 153; in HSL terms, it is centered near 208 degrees with 25% saturation and 48% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.