Color #5a666d
A nearly neutral, gray-leaning dark blue.
Conversions
#5a666d
rgb(90, 102, 109)
hsl(202.1, 9.5%, 39%)
hsv(202.1, 17.4%, 42.7%)
cmyk(17.4%, 6.4%, 0%, 57.3%)
lab(42.43, -2.94, -5.48)
lch(42.43, 6.22, 241.79)
oklch(50.3%, 0.0184, 233.38)
hwb(202.1, 35.3%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (5.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5f606b · ΔE 6.9
Deuteranopia
#5f5e6b · ΔE 8.7
Tritanopia
#5b6a6a · ΔE 4.8
Achromatopsia
#646464 · ΔE 6.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a666d;
bg-[#5a666d]
Related colors
Frequently asked questions
#5a666d (#5a666d) is rgb(90, 102, 109) in RGB.
No, #5a666d 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 #5a666d, or check how it holds up for accessibility.