Skip to content
Kolorvia
#403e6c

Color #403e6c

A muted dark blue.

Conversions

HEX
#403e6c
RGB
rgb(64, 62, 108)
HSL
hsl(242.6, 27.1%, 33.3%)
HSV / HSB
hsv(242.6, 42.6%, 42.4%)
CMYK
cmyk(40.7%, 42.6%, 0%, 57.6%)
LAB
lab(28.43, 13.42, -26.52)
LCH
lch(28.43, 29.72, 296.84)
OKLCH
oklch(38.8%, 0.077, 284.22)
HWB
hwb(242.6, 24.3%, 57.6%)

Harmony colors

Complementary

#6a6c3e

Analogous

#3e536c
#403e6c
#573e6c

Triadic

#403e6c
#6c403e
#3e6c40

Split-complementary

#403e6c
#6c573e
#536c3e

Tetradic

#403e6c
#6c3e6a
#6a6c3e
#3e6c40

Square

#403e6c
#6c3e53
#6a6c3e
#3e6c57

Shades

Color #403e6c mixed toward black.

#35345a
#2b2948
#201f36
#151524
#0b0a12

Tints

Color #403e6c mixed toward white.

#555390
#726fac
#9593c1
#b8b7d6
#dcdbea

Tones

Color #403e6c mixed toward gray.

#434268
#474664
#4a4960
#4e4d5d
#515159

Accessibility

Aa White text on this color
9.89:1
Aa Black text on this color
2.12:1

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

Under color vision deficiencies

Protanopia

#3f3f63 · ΔE 2.8

Deuteranopia

#3f3f61 · ΔE 3.5

Tritanopia

#405c5a · ΔE 24.7

Achromatopsia

#434343 · ΔE 18.8

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

Code

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

Related colors

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

Frequently asked questions

#403e6c (#403e6c) is rgb(64, 62, 108) in RGB.

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