Skip to content
Kolorvia
#404f7d

Color #404f7d

A muted dark blue.

Conversions

HEX
#404f7d
RGB
rgb(64, 79, 125)
HSL
hsl(225.2, 32.3%, 37.1%)
HSV / HSB
hsv(225.2, 48.8%, 49%)
CMYK
cmyk(48.8%, 36.8%, 0%, 51%)
LAB
lab(34.32, 7.67, -27.91)
LCH
lch(34.32, 28.94, 285.37)
OKLCH
oklch(43.7%, 0.0786, 269.27)
HWB
hwb(225.2, 25.1%, 51%)

Harmony colors

Complementary

#7d6e40

Analogous

#406e7d
#404f7d
#50407d

Triadic

#404f7d
#7d404f
#4f7d40

Split-complementary

#404f7d
#7d5040
#6e7d40

Tetradic

#404f7d
#6e407d
#7d6e40
#4f7d40

Square

#404f7d
#7d406e
#7d6e40
#407d50

Shades

Color #404f7d mixed toward black.

#354268
#2b3553
#20283f
#151a2a
#0b0d15

Tints

Color #404f7d mixed toward white.

#5265a1
#7283b7
#95a2c9
#b8c1db
#dce0ed

Tones

Color #404f7d mixed toward gray.

#455278
#4a5473
#4f576e
#545969
#5a5c64

Accessibility

Aa White text on this color
7.98:1
Aa Black text on this color
2.63:1

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

Under color vision deficiencies

Protanopia

#474774 · ΔE 4.8

Deuteranopia

#464572 · ΔE 5.4

Tritanopia

#416c6a · ΔE 24

Achromatopsia

#515151 · ΔE 17.9

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#404f7d (#404f7d) is rgb(64, 79, 125) in RGB.

No, #404f7d 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 #404f7d, 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.