Color #5a5c90
A muted medium blue.
Conversions
#5a5c90
rgb(90, 92, 144)
hsl(237.8, 23.1%, 45.9%)
hsv(237.8, 37.5%, 56.5%)
cmyk(37.5%, 36.1%, 0%, 43.5%)
lab(40.96, 12.59, -28.94)
lch(40.96, 31.56, 293.51)
oklch(49.6%, 0.0826, 281.24)
hwb(237.8, 35.3%, 43.5%)
Harmony colors
Accessibility
White text reads better on this background (6.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5b86 · ΔE 2.5
Deuteranopia
#5b5b83 · ΔE 3.3
Tritanopia
#5a7d7b · ΔE 25.4
Achromatopsia
#616161 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5c90;
bg-[#5a5c90]
Related colors
Frequently asked questions
#5a5c90 (#5a5c90) is rgb(90, 92, 144) in RGB.
No, #5a5c90 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 #5a5c90, or check how it holds up for accessibility.