Color #5a4e8d
A muted medium blue.
Conversions
#5a4e8d
rgb(90, 78, 141)
hsl(251.4, 28.8%, 42.9%)
hsv(251.4, 44.7%, 55.3%)
cmyk(36.2%, 44.7%, 0%, 44.7%)
lab(37.01, 20.55, -33.34)
lch(37.01, 39.16, 301.65)
oklch(46.5%, 0.1003, 290.73)
hwb(251.4, 30.6%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (7.22:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#555581 · ΔE 4.8
Deuteranopia
#56577e · ΔE 6.2
Tritanopia
#597774 · ΔE 27
Achromatopsia
#575757 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4e8d;
bg-[#5a4e8d]
Related colors
Frequently asked questions
#5a4e8d (#5a4e8d) is rgb(90, 78, 141) in RGB.
No, #5a4e8d 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 #5a4e8d, or check how it holds up for accessibility.