Skip to content
Kolorvia
#404c78

Color #404c78

A muted dark blue.

Conversions

HEX
#404c78
RGB
rgb(64, 76, 120)
HSL
hsl(227.1, 30.4%, 36.1%)
HSV / HSB
hsv(227.1, 46.7%, 47.1%)
CMYK
cmyk(46.7%, 36.7%, 0%, 52.9%)
LAB
lab(33.17, 8, -26.62)
LCH
lch(33.17, 27.8, 286.73)
OKLCH
oklch(42.7%, 0.0748, 271.38)
HWB
hwb(227.1, 25.1%, 52.9%)

Harmony colors

Complementary

#786c40

Analogous

#406878
#404c78
#504078

Triadic

#404c78
#78404c
#4c7840

Split-complementary

#404c78
#785040
#687840

Tetradic

#404c78
#6c4078
#786c40
#4c7840

Square

#404c78
#784068
#786c40
#407850

Shades

Color #404c78 mixed toward black.

#353f64
#2b3350
#20263c
#151928
#0b0d14

Tints

Color #404c78 mixed toward white.

#53639b
#7180b3
#959fc6
#b8bfd9
#dcdfec

Tones

Color #404c78 mixed toward gray.

#454f73
#49516f
#4e546a
#535765
#575961

Accessibility

Aa White text on this color
8.32:1
Aa Black text on this color
2.52:1

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

Under color vision deficiencies

Protanopia

#45466f · ΔE 3.9

Deuteranopia

#45446d · ΔE 4.7

Tritanopia

#416866 · ΔE 23.8

Achromatopsia

#4e4e4e · ΔE 17.5

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#404c78 (#404c78) is rgb(64, 76, 120) in RGB.

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