Color #5165ae
A muted medium blue.
Conversions
#5165ae
rgb(81, 101, 174)
hsl(227.1, 36.5%, 50%)
hsv(227.1, 53.4%, 68.2%)
cmyk(53.4%, 42%, 0%, 31.8%)
lab(44.39, 13.94, -41.39)
lch(44.39, 43.67, 288.61)
oklch(52.6%, 0.1174, 270.39)
hwb(227.1, 31.8%, 31.8%)
Harmony colors
Accessibility
White text reads better on this background (5.49:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5ba0 · ΔE 5.3
Deuteranopia
#59589d · ΔE 6.3
Tritanopia
#529491 · ΔE 29.7
Achromatopsia
#696969 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5165ae;
bg-[#5165ae]
Related colors
Frequently asked questions
#5165ae (#5165ae) is rgb(81, 101, 174) in RGB.
No, #5165ae 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 #5165ae, or check how it holds up for accessibility.