Color #5a617c
A muted medium blue.
Conversions
#5a617c
rgb(90, 97, 124)
hsl(227.6, 15.9%, 42%)
hsv(227.6, 27.4%, 48.6%)
cmyk(27.4%, 21.8%, 0%, 51.4%)
lab(41.5, 3.89, -16.01)
lch(41.5, 16.48, 283.66)
oklch(49.7%, 0.0441, 273.38)
hwb(227.6, 35.3%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (6.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5d76 · ΔE 3.2
Deuteranopia
#5d5c75 · ΔE 3.7
Tritanopia
#5a7170 · ΔE 17.3
Achromatopsia
#626262 · ΔE 12.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a617c;
bg-[#5a617c]
Related colors
Frequently asked questions
#5a617c (#5a617c) is rgb(90, 97, 124) in RGB.
No, #5a617c is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #5a617c, or check how it holds up for accessibility.