Color #5a61ce
A moderately saturated medium blue.
Conversions
#5a61ce
rgb(90, 97, 206)
hsl(236.4, 54.2%, 58%)
hsv(236.4, 56.3%, 80.8%)
cmyk(56.3%, 52.9%, 0%, 19.2%)
lab(45.88, 28.83, -57.54)
lch(45.88, 64.36, 296.61)
oklch(54.5%, 0.1658, 276.61)
hwb(236.4, 35.3%, 19.2%)
Harmony colors
Accessibility
White text reads better on this background (5.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5dbb · ΔE 3.2
Deuteranopia
#5d5cb6 · ΔE 4.1
Tritanopia
#5aaaa6 · ΔE 36.5
Achromatopsia
#6d6d6d · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a61ce;
bg-[#5a61ce]
Related colors
Frequently asked questions
#5a61ce (#5a61ce) is rgb(90, 97, 206) in RGB.
No, #5a61ce 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 #5a61ce, or check how it holds up for accessibility.