Color #5a6885
A muted medium blue.
Conversions
#5a6885
rgb(90, 104, 133)
hsl(220.5, 19.3%, 43.7%)
hsv(220.5, 32.3%, 52.2%)
cmyk(32.3%, 21.8%, 0%, 47.8%)
lab(43.9, 2.05, -17.77)
lch(43.9, 17.89, 276.58)
oklch(51.7%, 0.0492, 264.64)
hwb(220.5, 35.3%, 47.8%)
Harmony colors
Accessibility
White text reads better on this background (5.59:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#60607f · ΔE 6.3
Deuteranopia
#605e7d · ΔE 7.3
Tritanopia
#5b7a78 · ΔE 18.1
Achromatopsia
#686868 · ΔE 12.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6885;
bg-[#5a6885]
Related colors
Frequently asked questions
#5a6885 (#5a6885) is rgb(90, 104, 133) in RGB.
No, #5a6885 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 #5a6885, or check how it holds up for accessibility.