Color #5b478f
A muted medium blue.
Conversions
#5b478f
rgb(91, 71, 143)
hsl(256.7, 33.6%, 42%)
hsv(256.7, 50.3%, 56.1%)
cmyk(36.4%, 50.3%, 0%, 43.9%)
lab(35.43, 25.81, -37.07)
lch(35.43, 45.17, 304.85)
oklch(45.4%, 0.1148, 294.18)
hwb(256.7, 27.8%, 43.9%)
Harmony colors
Accessibility
White text reads better on this background (7.66:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#535382 · ΔE 6.6
Deuteranopia
#54567f · ΔE 8.1
Tritanopia
#5a7774 · ΔE 27.8
Achromatopsia
#535353 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b478f;
bg-[#5b478f]
Related colors
Frequently asked questions
#5b478f (#5b478f) is rgb(91, 71, 143) in RGB.
No, #5b478f 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 #5b478f, or check how it holds up for accessibility.