Color #5945ae
A moderately saturated medium blue.
Conversions
#5945ae
rgb(89, 69, 174)
hsl(251.4, 43.2%, 47.6%)
hsv(251.4, 60.3%, 68.2%)
cmyk(48.9%, 60.3%, 0%, 31.8%)
lab(36.81, 35.71, -53.52)
lch(36.81, 64.34, 303.71)
oklch(47%, 0.1604, 287.31)
hwb(251.4, 27.1%, 31.8%)
Harmony colors
Accessibility
White text reads better on this background (7.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#51519d · ΔE 5.6
Deuteranopia
#525498 · ΔE 7
Tritanopia
#588d89 · ΔE 34.9
Achromatopsia
#575757 · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5945ae;
bg-[#5945ae]
Related colors
Frequently asked questions
#5945ae (#5945ae) is rgb(89, 69, 174) in RGB.
No, #5945ae 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 #5945ae, or check how it holds up for accessibility.