Color #5f5488
A muted medium blue.
Conversions
#5f5488
rgb(95, 84, 136)
hsl(252.7, 23.6%, 43.1%)
hsv(252.7, 38.2%, 53.3%)
cmyk(30.1%, 38.2%, 0%, 46.7%)
lab(38.81, 16.86, -27.43)
lch(38.81, 32.2, 301.58)
oklch(47.9%, 0.0829, 292.7)
hwb(252.7, 32.9%, 46.7%)
Harmony colors
Accessibility
White text reads better on this background (6.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5a7e · ΔE 5
Deuteranopia
#5b5c7b · ΔE 6.6
Tritanopia
#5e7573 · ΔE 25
Achromatopsia
#5b5b5b · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f5488;
bg-[#5f5488]
Related colors
Frequently asked questions
#5f5488 (#5f5488) is rgb(95, 84, 136) in RGB.
No, #5f5488 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 #5f5488, or check how it holds up for accessibility.