Color #504d7f
A muted medium blue.
Conversions
#504d7f
rgb(80, 77, 127)
hsl(243.6, 24.5%, 40%)
hsv(243.6, 39.4%, 49.8%)
cmyk(37%, 39.4%, 0%, 50.2%)
lab(35.09, 14.16, -27.84)
lch(35.09, 31.23, 296.96)
oklch(44.6%, 0.0809, 285.34)
hwb(243.6, 30.2%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (7.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4f4f75 · ΔE 3.2
Deuteranopia
#4f4f73 · ΔE 3.8
Tritanopia
#506d6b · ΔE 25.1
Achromatopsia
#535353 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #504d7f;
bg-[#504d7f]
Related colors
Frequently asked questions
#504d7f (#504d7f) is rgb(80, 77, 127) in RGB.
No, #504d7f 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 #504d7f, or check how it holds up for accessibility.