Color #5f529b
A muted medium blue.
Conversions
#5f529b
rgb(95, 82, 155)
hsl(250.7, 30.8%, 46.5%)
hsv(250.7, 47.1%, 60.8%)
cmyk(38.7%, 47.1%, 0%, 39.2%)
lab(39.3, 23.49, -38.15)
lch(39.3, 44.8, 301.62)
oklch(48.6%, 0.1143, 289.62)
hwb(250.7, 32.2%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (6.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5a8e · ΔE 4.8
Deuteranopia
#5a5b8a · ΔE 5.8
Tritanopia
#5e827f · ΔE 28.6
Achromatopsia
#5d5d5d · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f529b;
bg-[#5f529b]
Related colors
Frequently asked questions
#5f529b (#5f529b) is rgb(95, 82, 155) in RGB.
No, #5f529b 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 #5f529b, or check how it holds up for accessibility.