Color #525786
A muted medium blue.
Conversions
#525786
rgb(82, 87, 134)
hsl(234.2, 24.1%, 42.4%)
hsv(234.2, 38.8%, 52.5%)
cmyk(38.8%, 35.1%, 0%, 47.5%)
lab(38.43, 10.44, -26.89)
lch(38.43, 28.85, 291.22)
oklch(47.3%, 0.076, 278.4)
hwb(234.2, 32.2%, 47.5%)
Harmony colors
Accessibility
White text reads better on this background (6.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#54547d · ΔE 2.6
Deuteranopia
#54547a · ΔE 3.3
Tritanopia
#527573 · ΔE 24.5
Achromatopsia
#5a5a5a · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #525786;
bg-[#525786]
Related colors
Frequently asked questions
#525786 (#525786) is rgb(82, 87, 134) in RGB.
No, #525786 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 #525786, or check how it holds up for accessibility.