Color #404960
A muted dark blue.
Conversions
#404960
rgb(64, 73, 96)
hsl(223.1, 20%, 31.4%)
hsv(223.1, 33.3%, 37.6%)
cmyk(33.3%, 24%, 0%, 62.4%)
lab(31.11, 2.52, -14.68)
lch(31.11, 14.89, 279.74)
oklch(40.7%, 0.0405, 268.02)
hwb(223.1, 25.1%, 62.4%)
Harmony colors
Accessibility
White text reads better on this background (8.97:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#44445b · ΔE 4.4
Deuteranopia
#44435a · ΔE 4.9
Tritanopia
#405756 · ΔE 15.9
Achromatopsia
#494949 · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404960;
bg-[#404960]
Related colors
Frequently asked questions
#404960 (#404960) is rgb(64, 73, 96) in RGB.
No, #404960 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 #404960, or check how it holds up for accessibility.