Color #5162a6
A muted medium blue.
Conversions
#5162a6
rgb(81, 98, 166)
hsl(228, 34.4%, 48.4%)
hsv(228, 51.2%, 65.1%)
cmyk(51.2%, 41%, 0%, 34.9%)
lab(43.12, 13.21, -38.7)
lch(43.12, 40.89, 288.85)
oklch(51.4%, 0.1096, 271.52)
hwb(228, 31.8%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (5.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#595999 · ΔE 5
Deuteranopia
#585796 · ΔE 5.6
Tritanopia
#528e8b · ΔE 28.7
Achromatopsia
#666666 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5162a6;
bg-[#5162a6]
Related colors
Frequently asked questions
#5162a6 (#5162a6) is rgb(81, 98, 166) in RGB.
No, #5162a6 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 #5162a6, or check how it holds up for accessibility.