Color #5186ab
A muted medium blue.
Conversions
#5186ab
rgb(81, 134, 171)
hsl(204.7, 35.7%, 49.4%)
hsv(204.7, 52.6%, 67.1%)
cmyk(52.6%, 21.6%, 0%, 32.9%)
lab(53.75, -6.92, -24.99)
lch(53.75, 25.93, 254.52)
oklch(59.8%, 0.0802, 240.4)
hwb(204.7, 31.8%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.35:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6ca3 · ΔE 15.9
Deuteranopia
#6965a1 · ΔE 17.4
Tritanopia
#559c9b · ΔE 17.3
Achromatopsia
#808080 · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5186ab;
bg-[#5186ab]
Related colors
Frequently asked questions
#5186ab (#5186ab) is rgb(81, 134, 171) in RGB.
No, #5186ab 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 #5186ab, or check how it holds up for accessibility.