Color #5a6f91
A muted medium blue.
Conversions
#5a6f91
rgb(90, 111, 145)
hsl(217.1, 23.4%, 46.1%)
hsv(217.1, 37.9%, 56.9%)
cmyk(37.9%, 23.4%, 0%, 43.1%)
lab(46.43, 1.18, -21.05)
lch(46.43, 21.08, 273.21)
oklch(53.8%, 0.0592, 259.89)
hwb(217.1, 35.3%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (5.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#64648a · ΔE 8.2
Deuteranopia
#636188 · ΔE 9.2
Tritanopia
#5b8482 · ΔE 19.5
Achromatopsia
#6e6e6e · ΔE 14.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6f91;
bg-[#5a6f91]
Related colors
Frequently asked questions
#5a6f91 (#5a6f91) is rgb(90, 111, 145) in RGB.
No, #5a6f91 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 #5a6f91, or check how it holds up for accessibility.