Color #5146d2
A moderately saturated medium blue.
Conversions
#5146d2
rgb(81, 70, 210)
hsl(244.7, 60.9%, 54.9%)
hsv(244.7, 66.7%, 82.4%)
cmyk(61.4%, 66.7%, 0%, 17.6%)
lab(39.21, 44.91, -70.7)
lch(39.21, 83.76, 302.42)
oklch(49.5%, 0.2065, 279.23)
hwb(244.7, 27.5%, 17.6%)
Harmony colors
Accessibility
White text reads better on this background (6.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4cbc · ΔE 3.7
Deuteranopia
#4d4eb6 · ΔE 4.7
Tritanopia
#50a8a3 · ΔE 42.7
Achromatopsia
#5c5c5c · ΔE 29.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5146d2;
bg-[#5146d2]
Related colors
Frequently asked questions
#5146d2 (#5146d2) is rgb(81, 70, 210) in RGB.
No, #5146d2 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 #5146d2, or check how it holds up for accessibility.