Color #5b3dba
A moderately saturated medium blue.
Conversions
#5b3dba
rgb(91, 61, 186)
hsl(254.4, 50.6%, 48.4%)
hsv(254.4, 67.2%, 72.9%)
cmyk(51.1%, 67.2%, 0%, 27.1%)
lab(36.19, 44.31, -61.62)
lch(36.19, 75.9, 305.72)
oklch(46.9%, 0.1859, 288.05)
hwb(254.4, 23.9%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (7.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#504fa6 · ΔE 6.9
Deuteranopia
#5153a1 · ΔE 8.5
Tritanopia
#5a9590 · ΔE 38.6
Achromatopsia
#555555 · ΔE 28.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b3dba;
bg-[#5b3dba]
Related colors
Frequently asked questions
#5b3dba (#5b3dba) is rgb(91, 61, 186) in RGB.
No, #5b3dba 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 #5b3dba, or check how it holds up for accessibility.