Color #5a6881
A muted medium blue.
Conversions
#5a6881
rgb(90, 104, 129)
hsl(218.5, 17.8%, 42.9%)
hsv(218.5, 30.2%, 50.6%)
cmyk(30.2%, 19.4%, 0%, 49.4%)
lab(43.74, 0.96, -15.61)
lch(43.74, 15.64, 273.52)
oklch(51.5%, 0.0433, 261.91)
hwb(218.5, 35.3%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (5.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#60607c · ΔE 6.9
Deuteranopia
#605e7a · ΔE 7.9
Tritanopia
#5b7776 · ΔE 15.7
Achromatopsia
#676767 · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6881;
bg-[#5a6881]
Related colors
Frequently asked questions
#5a6881 (#5a6881) is rgb(90, 104, 129) in RGB.
No, #5a6881 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 #5a6881, or check how it holds up for accessibility.