Color #525781
A muted medium blue.
Conversions
#525781
rgb(82, 87, 129)
hsl(233.6, 22.3%, 41.4%)
hsv(233.6, 36.4%, 50.6%)
cmyk(36.4%, 32.6%, 0%, 49.4%)
lab(38.19, 8.97, -24.21)
lch(38.19, 25.82, 290.33)
oklch(47.1%, 0.0682, 278.18)
hwb(233.6, 32.2%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (6.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#545478 · ΔE 2.7
Deuteranopia
#545476 · ΔE 3.1
Tritanopia
#527170 · ΔE 23
Achromatopsia
#5a5a5a · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #525781;
bg-[#525781]
Related colors
Frequently asked questions
#525781 (#525781) is rgb(82, 87, 129) in RGB.
No, #525781 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 #525781, or check how it holds up for accessibility.