Color #5a646d
A nearly neutral, gray-leaning dark blue.
Conversions
#5a646d
rgb(90, 100, 109)
hsl(208.4, 9.5%, 39%)
hsv(208.4, 17.4%, 42.7%)
cmyk(17.4%, 8.3%, 0%, 57.3%)
lab(41.83, -1.74, -6.37)
lch(41.83, 6.6, 254.72)
oklch(49.8%, 0.0189, 245.33)
hwb(208.4, 35.3%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (6.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5e5f6b · ΔE 5.7
Deuteranopia
#5e5d6a · ΔE 7.1
Tritanopia
#5b6969 · ΔE 6.2
Achromatopsia
#636363 · ΔE 6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a646d;
bg-[#5a646d]
Related colors
Frequently asked questions
#5a646d (#5a646d) is rgb(90, 100, 109) in RGB.
No, #5a646d 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 #5a646d, or check how it holds up for accessibility.