Color #5a7981
A muted medium cyan.
Conversions
#5a7981
rgb(90, 121, 129)
hsl(192.3, 17.8%, 42.9%)
hsv(192.3, 30.2%, 50.6%)
cmyk(30.2%, 6.2%, 0%, 49.4%)
lab(48.8, -9.02, -7.97)
lch(48.8, 12.04, 221.46)
oklch(55.5%, 0.0375, 215.34)
hwb(192.3, 35.3%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (4.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#69697f · ΔE 16.8
Deuteranopia
#67657f · ΔE 18.8
Tritanopia
#5c7e7d · ΔE 5.2
Achromatopsia
#747474 · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a7981;
bg-[#5a7981]
Related colors
Frequently asked questions
#5a7981 (#5a7981) is rgb(90, 121, 129) in RGB.
No, #5a7981 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 #5a7981, or check how it holds up for accessibility.