Skip to content
Kolorvia
#404050

Color #404050

A nearly neutral, gray-leaning dark blue.

Conversions

HEX
#404050
RGB
rgb(64, 64, 80)
HSL
hsl(240, 11.1%, 28.2%)
HSV / HSB
hsv(240, 20%, 31.4%)
CMYK
cmyk(20%, 20%, 0%, 68.6%)
LAB
lab(27.67, 3.92, -9.62)
LCH
lch(27.67, 10.39, 292.17)
OKLCH
oklch(37.8%, 0.0271, 284.96)
HWB
hwb(240, 25.1%, 68.6%)

Harmony colors

Complementary

#505040

Analogous

#404850
#404050
#484050

Triadic

#404050
#504040
#405040

Split-complementary

#404050
#504840
#485040

Tetradic

#404050
#504050
#505040
#405040

Square

#404050
#504048
#505040
#405048

Shades

Color #404050 mixed toward black.

#353543
#2b2b35
#202028
#15151b
#0b0b0d

Tints

Color #404050 mixed toward white.

#5b5b72
#777792
#9999ae
#bbbbc9
#dddde4

Tones

Color #404050 mixed toward gray.

#41414f
#43434d
#44444c
#45454b
#474749

Accessibility

Aa White text on this color
10.16:1
Aa Black text on this color
2.07:1

White text reads better on this background (10.16:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#40404c · ΔE 2

Deuteranopia

#40404c · ΔE 2

Tritanopia

#404a49 · ΔE 12.6

Achromatopsia

#414141 · ΔE 9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #404050;
Tailwind (arbitrary value)
bg-[#404050]

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#404050 (#404050) is rgb(64, 64, 80) in RGB.

No, #404050 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #404050, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.