Color #5741a2
A moderately saturated medium blue.
Conversions
#5741a2
rgb(87, 65, 162)
hsl(253.6, 42.7%, 44.5%)
hsv(253.6, 59.9%, 63.5%)
cmyk(46.3%, 59.9%, 0%, 36.5%)
lab(34.83, 34.08, -49.56)
lch(34.83, 60.15, 304.51)
oklch(45.3%, 0.1501, 289.46)
hwb(253.6, 25.5%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (7.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4e4e92 · ΔE 6.2
Deuteranopia
#50518e · ΔE 7.4
Tritanopia
#568380 · ΔE 32.4
Achromatopsia
#525252 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5741a2;
bg-[#5741a2]
Related colors
Frequently asked questions
#5741a2 (#5741a2) is rgb(87, 65, 162) in RGB.
No, #5741a2 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 #5741a2, or check how it holds up for accessibility.