Color #504e71
A muted dark blue.
Conversions
#504e71
rgb(80, 78, 113)
hsl(243.4, 18.3%, 37.5%)
hsv(243.4, 31%, 44.3%)
cmyk(29.2%, 31%, 0%, 55.7%)
lab(34.69, 9.49, -19.77)
lch(34.69, 21.93, 295.64)
oklch(44.1%, 0.0571, 286.37)
hwb(243.4, 30.6%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (7.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4f4f6a · ΔE 2.9
Deuteranopia
#4f4f68 · ΔE 3.6
Tritanopia
#506462 · ΔE 21.6
Achromatopsia
#525252 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #504e71;
bg-[#504e71]
Related colors
Frequently asked questions
#504e71 (#504e71) is rgb(80, 78, 113) in RGB.
No, #504e71 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 #504e71, or check how it holds up for accessibility.