Color #5b4e91
A muted medium blue.
Conversions
#5b4e91
rgb(91, 78, 145)
hsl(251.6, 30%, 43.7%)
hsv(251.6, 46.2%, 56.9%)
cmyk(37.2%, 46.2%, 0%, 43.1%)
lab(37.33, 21.99, -35.26)
lch(37.33, 41.56, 301.95)
oklch(46.9%, 0.1062, 290.62)
hwb(251.6, 30.6%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (7.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#565685 · ΔE 5
Deuteranopia
#565781 · ΔE 6.1
Tritanopia
#5a7a77 · ΔE 27.6
Achromatopsia
#585858 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b4e91;
bg-[#5b4e91]
Related colors
Frequently asked questions
#5b4e91 (#5b4e91) is rgb(91, 78, 145) in RGB.
No, #5b4e91 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 #5b4e91, or check how it holds up for accessibility.