Color #5b419a
A moderately saturated medium blue.
Conversions
#5b419a
rgb(91, 65, 154)
hsl(257.5, 40.6%, 42.9%)
hsv(257.5, 57.8%, 60.4%)
cmyk(40.9%, 57.8%, 0%, 39.6%)
lab(34.68, 32.65, -44.96)
lch(34.68, 55.56, 305.99)
oklch(45.1%, 0.1394, 293.51)
hwb(257.5, 25.5%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (7.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#51518b · ΔE 7.4
Deuteranopia
#525487 · ΔE 8.9
Tritanopia
#5a7d7a · ΔE 30.2
Achromatopsia
#525252 · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b419a;
bg-[#5b419a]
Related colors
Frequently asked questions
#5b419a (#5b419a) is rgb(91, 65, 154) in RGB.
No, #5b419a 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 #5b419a, or check how it holds up for accessibility.