Closest to Slate Gray
#5A7D9A
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 5A7D9A | ||
| HEX with # | #5A7D9A | ||
| RGB | rgb(90, 125, 154) | ||
| RGBA | rgba(90, 125, 154, 1) | ||
| HSL | hsl(207.19 26.23% 47.84%) | ||
| HSLA | hsla(207.19, 26.23%, 47.84%, 1) | ||
| HSV | hsv(207.19, 41.56%, 60.39%) | ||
| CMYK | cmyk(41.56%, 18.83%, 0%, 39.61%) | ||
| OKLCH | oklch(57.46% 0.06 244.09) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #5A7D9A;
bg-[#5a7d9a]
Accessibility quick-check
White text
4.34:1
AA large
Black text
4.83:1
AA normal
Reference notes
#5A7D9A is a balanced, soft blue color closest to Slate Gray. The color has RGB channels of 90, 125, and 154; in HSL terms, it is centered near 207 degrees with 26% 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.