Color #5b4e7c
A muted dark blue.
Conversions
#5b4e7c
rgb(91, 78, 124)
hsl(257, 22.8%, 39.6%)
hsv(257, 37.1%, 48.6%)
cmyk(26.6%, 37.1%, 0%, 51.4%)
lab(36.23, 16.12, -24.14)
lch(36.23, 29.03, 303.73)
oklch(45.7%, 0.0749, 296.33)
hwb(257, 30.6%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (7.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#565673 · ΔE 6.5
Deuteranopia
#565771 · ΔE 7.7
Tritanopia
#5a6b69 · ΔE 23.8
Achromatopsia
#555555 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b4e7c;
bg-[#5b4e7c]
Related colors
Frequently asked questions
#5b4e7c (#5b4e7c) is rgb(91, 78, 124) in RGB.
No, #5b4e7c 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 #5b4e7c, or check how it holds up for accessibility.