Color #5a6ba9
A muted medium blue.
Conversions
#5a6ba9
rgb(90, 107, 169)
hsl(227.1, 31.5%, 50.8%)
hsv(227.1, 46.7%, 66.3%)
cmyk(46.7%, 36.7%, 0%, 33.7%)
lab(46.38, 10.78, -35.27)
lch(46.38, 36.88, 287)
oklch(54.2%, 0.0993, 271.15)
hwb(227.1, 35.3%, 33.7%)
Harmony colors
Accessibility
White text reads better on this background (5.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#62629d · ΔE 5.2
Deuteranopia
#615f9a · ΔE 6.2
Tritanopia
#5b9290 · ΔE 26.7
Achromatopsia
#6e6e6e · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6ba9;
bg-[#5a6ba9]
Related colors
Frequently asked questions
#5a6ba9 (#5a6ba9) is rgb(90, 107, 169) in RGB.
No, #5a6ba9 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 #5a6ba9, or check how it holds up for accessibility.