Color #525f97
A muted medium blue.
Conversions
#525f97
rgb(82, 95, 151)
hsl(228.7, 29.6%, 45.7%)
hsv(228.7, 45.7%, 59.2%)
cmyk(45.7%, 37.1%, 0%, 40.8%)
lab(41.55, 10.58, -32.26)
lch(41.55, 33.95, 288.16)
oklch(50%, 0.0909, 272.77)
hwb(228.7, 32.2%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (6.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#58588c · ΔE 4.3
Deuteranopia
#575689 · ΔE 5
Tritanopia
#538280 · ΔE 25.8
Achromatopsia
#626262 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #525f97;
bg-[#525f97]
Related colors
Frequently asked questions
#525f97 (#525f97) is rgb(82, 95, 151) in RGB.
No, #525f97 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 #525f97, or check how it holds up for accessibility.