Skip to content
Kolorvia
#40456c

Color #40456c

A muted dark blue.

Conversions

HEX
#40456c
RGB
rgb(64, 69, 108)
HSL
hsl(233.2, 25.6%, 33.7%)
HSV / HSB
hsv(233.2, 40.7%, 42.4%)
CMYK
cmyk(40.7%, 36.1%, 0%, 57.6%)
LAB
lab(30.47, 8.77, -23.31)
LCH
lch(30.47, 24.91, 290.62)
OKLCH
oklch(40.4%, 0.0659, 277.42)
HWB
hwb(233.2, 25.1%, 57.6%)

Harmony colors

Complementary

#6c6740

Analogous

#405b6c
#40456c
#51406c

Triadic

#40456c
#6c4045
#456c40

Split-complementary

#40456c
#6c5140
#5b6c40

Tetradic

#40456c
#67406c
#6c6740
#456c40

Square

#40456c
#6c405b
#6c6740
#406c51

Shades

Color #40456c mixed toward black.

#35395a
#2b2e48
#202236
#151724
#0b0b12

Tints

Color #40456c mixed toward white.

#555c8f
#7178ab
#959ac0
#b8bbd5
#dcddea

Tones

Color #40456c mixed toward gray.

#444868
#474b65
#4b4d61
#4f505d
#52535a

Accessibility

Aa White text on this color
9.19:1
Aa Black text on this color
2.29:1

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

Under color vision deficiencies

Protanopia

#424264 · ΔE 2.5

Deuteranopia

#424262 · ΔE 2.9

Tritanopia

#405e5c · ΔE 23.1

Achromatopsia

#484848 · ΔE 16.6

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

Code

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

Related colors

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

Frequently asked questions

#40456c (#40456c) is rgb(64, 69, 108) in RGB.

No, #40456c is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #40456c, 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.