Color #5a6780
A muted medium blue.
Conversions
#5a6780
rgb(90, 103, 128)
hsl(219.5, 17.4%, 42.7%)
hsv(219.5, 29.7%, 50.2%)
cmyk(29.7%, 19.5%, 0%, 49.8%)
lab(43.41, 1.3, -15.51)
lch(43.41, 15.56, 274.79)
oklch(51.2%, 0.0429, 263.31)
hwb(219.5, 35.3%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (5.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#60607b · ΔE 6.3
Deuteranopia
#5f5e79 · ΔE 6.9
Tritanopia
#5b7675 · ΔE 15.8
Achromatopsia
#676767 · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6780;
bg-[#5a6780]
Related colors
Frequently asked questions
#5a6780 (#5a6780) is rgb(90, 103, 128) in RGB.
No, #5a6780 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 #5a6780, or check how it holds up for accessibility.