Color #5f5885
A muted medium blue.
Conversions
#5f5885
rgb(95, 88, 133)
hsl(249.3, 20.4%, 43.3%)
hsv(249.3, 33.8%, 52.2%)
cmyk(28.6%, 33.8%, 0%, 47.8%)
lab(39.76, 13.54, -24.13)
lch(39.76, 27.67, 299.3)
oklch(48.6%, 0.0716, 290.61)
hwb(249.3, 34.5%, 47.8%)
Harmony colors
Accessibility
White text reads better on this background (6.52:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5c7c · ΔE 4.3
Deuteranopia
#5c5d7a · ΔE 5.5
Tritanopia
#5f7472 · ΔE 23.8
Achromatopsia
#5e5e5e · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f5885;
bg-[#5f5885]
Related colors
Frequently asked questions
#5f5885 (#5f5885) is rgb(95, 88, 133) in RGB.
No, #5f5885 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 #5f5885, or check how it holds up for accessibility.