Color #5f4e8a
A muted medium blue.
Conversions
#5f4e8a
rgb(95, 78, 138)
hsl(257, 27.8%, 42.4%)
hsv(257, 43.5%, 54.1%)
cmyk(31.2%, 43.5%, 0%, 45.9%)
lab(37.33, 21.18, -30.98)
lch(37.33, 37.53, 304.36)
oklch(46.8%, 0.0962, 295.5)
hwb(257, 30.6%, 45.9%)
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
#58587f · ΔE 6.3
Deuteranopia
#595a7c · ΔE 7.7
Tritanopia
#5e7572 · ΔE 26.2
Achromatopsia
#585858 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4e8a;
bg-[#5f4e8a]
Related colors
Frequently asked questions
#5f4e8a (#5f4e8a) is rgb(95, 78, 138) in RGB.
No, #5f4e8a 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 #5f4e8a, or check how it holds up for accessibility.