Color #503f87
A muted dark blue.
Conversions
#503f87
rgb(80, 63, 135)
hsl(254.2, 36.4%, 38.8%)
hsv(254.2, 53.3%, 52.9%)
cmyk(40.7%, 53.3%, 0%, 47.1%)
lab(31.83, 25.54, -37.97)
lch(31.83, 45.76, 303.93)
oklch(42.3%, 0.1157, 291.55)
hwb(254.2, 24.7%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (8.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#49497a · ΔE 5.8
Deuteranopia
#4a4b77 · ΔE 6.9
Tritanopia
#4f6f6c · ΔE 28
Achromatopsia
#4b4b4b · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #503f87;
bg-[#503f87]
Related colors
Frequently asked questions
#503f87 (#503f87) is rgb(80, 63, 135) in RGB.
No, #503f87 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 #503f87, or check how it holds up for accessibility.