Skip to content
Kolorvia
#403e7f

Color #403e7f

A muted dark blue.

Conversions

HEX
#403e7f
RGB
rgb(64, 62, 127)
HSL
hsl(241.8, 34.4%, 37.1%)
HSV / HSB
hsv(241.8, 51.2%, 49.8%)
CMYK
cmyk(49.6%, 51.2%, 0%, 50.2%)
LAB
lab(29.58, 19.56, -36.67)
LCH
lch(29.58, 41.56, 298.08)
OKLCH
oklch(40.1%, 0.1066, 281.86)
HWB
hwb(241.8, 24.3%, 50.2%)

Harmony colors

Complementary

#7d7f3e

Analogous

#3e5d7f
#403e7f
#613e7f

Triadic

#403e7f
#7f403e
#3e7f40

Split-complementary

#403e7f
#7f613e
#5d7f3e

Tetradic

#403e7f
#7f3e7d
#7d7f3e
#3e7f40

Square

#403e7f
#7f3e5d
#7d7f3e
#3e7f61

Shades

Color #403e7f mixed toward black.

#35346a
#2b2955
#201f40
#15152a
#0b0a15

Tints

Color #403e7f mixed toward white.

#5250a3
#716fb9
#9593ca
#b8b7dc
#dcdbed

Tones

Color #403e7f mixed toward gray.

#45437a
#4a4974
#4f4e6f
#545469
#5a5964

Accessibility

Aa White text on this color
9.49:1
Aa Black text on this color
2.21:1

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

Under color vision deficiencies

Protanopia

#3f3f73 · ΔE 2.8

Deuteranopia

#3f3f70 · ΔE 3.5

Tritanopia

#406967 · ΔE 27.5

Achromatopsia

#464646 · ΔE 22.2

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

Code

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

Related colors

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

Frequently asked questions

#403e7f (#403e7f) is rgb(64, 62, 127) in RGB.

No, #403e7f 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 #403e7f, 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.