Color #5a64a1
A muted medium blue.
Conversions
#5a64a1
rgb(90, 100, 161)
hsl(231.5, 28.3%, 49.2%)
hsv(231.5, 44.1%, 63.1%)
cmyk(44.1%, 37.9%, 0%, 36.9%)
lab(44.03, 12.67, -34.26)
lch(44.03, 36.53, 290.3)
oklch(52.2%, 0.0968, 275.45)
hwb(231.5, 35.3%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (5.57:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5e5f95 · ΔE 3.5
Deuteranopia
#5e5d92 · ΔE 4.4
Tritanopia
#5b8b88 · ΔE 27.2
Achromatopsia
#686868 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a64a1;
bg-[#5a64a1]
Related colors
Frequently asked questions
#5a64a1 (#5a64a1) is rgb(90, 100, 161) in RGB.
No, #5a64a1 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 #5a64a1, or check how it holds up for accessibility.