Color #5a498b
A muted medium blue.
Conversions
#5a498b
rgb(90, 73, 139)
hsl(255.5, 31.1%, 41.6%)
hsv(255.5, 47.5%, 54.5%)
cmyk(35.3%, 47.5%, 0%, 45.5%)
lab(35.6, 23.13, -34.35)
lch(35.6, 41.41, 303.95)
oklch(45.4%, 0.1056, 293.6)
hwb(255.5, 28.6%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (7.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#53537f · ΔE 6
Deuteranopia
#54557c · ΔE 7.2
Tritanopia
#597472 · ΔE 26.4
Achromatopsia
#545454 · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a498b;
bg-[#5a498b]
Related colors
Frequently asked questions
#5a498b (#5a498b) is rgb(90, 73, 139) in RGB.
No, #5a498b 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 #5a498b, or check how it holds up for accessibility.