Color #5a5c6e
A nearly neutral, gray-leaning dark blue.
Conversions
#5a5c6e
rgb(90, 92, 110)
hsl(234, 10%, 39.2%)
hsv(234, 18.2%, 43.1%)
cmyk(18.2%, 16.4%, 0%, 56.9%)
lab(39.5, 3.37, -10.48)
lch(39.5, 11.01, 287.83)
oklch(48%, 0.029, 280.15)
hwb(234, 35.3%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (6.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5b6a · ΔE 1.5
Deuteranopia
#5b5b69 · ΔE 1.9
Tritanopia
#5a6766 · ΔE 13.1
Achromatopsia
#5d5d5d · ΔE 9.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5c6e;
bg-[#5a5c6e]
Related colors
Frequently asked questions
#5a5c6e (#5a5c6e) is rgb(90, 92, 110) in RGB.
No, #5a5c6e 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 #5a5c6e, or check how it holds up for accessibility.