Skip to content
Kolorvia
#402f63

Color #402f63

A muted dark blue.

Conversions

HEX
#402f63
RGB
rgb(64, 47, 99)
HSL
hsl(259.6, 35.6%, 28.6%)
HSV / HSB
hsv(259.6, 52.5%, 38.8%)
CMYK
cmyk(35.4%, 52.5%, 0%, 61.2%)
LAB
lab(23.75, 20.67, -28.13)
LCH
lch(23.75, 34.91, 306.31)
OKLCH
oklch(35.1%, 0.0887, 296.65)
HWB
hwb(259.6, 18.4%, 61.2%)

Harmony colors

Complementary

#52632f

Analogous

#2f3863
#402f63
#5a2f63

Triadic

#402f63
#63402f
#2f6340

Split-complementary

#402f63
#635a2f
#38632f

Tetradic

#402f63
#632f52
#52632f
#2f6340

Square

#402f63
#632f38
#52632f
#2f635a

Shades

Color #402f63 mixed toward black.

#352752
#2b1f42
#201731
#151021
#0b0810

Tints

Color #402f63 mixed toward white.

#5b438c
#775ab1
#9984c4
#bbadd8
#ddd6eb

Tones

Color #402f63 mixed toward gray.

#41335f
#43385a
#443c56
#464052
#47454d

Accessibility

Aa White text on this color
11.64:1
Aa Black text on this color
1.8:1

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

Under color vision deficiencies

Protanopia

#39395a · ΔE 6.8

Deuteranopia

#3a3b57 · ΔE 8.5

Tritanopia

#3f514f · ΔE 24.6

Achromatopsia

#393939 · ΔE 21

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

Code

CSS
background-color: #402f63;
Tailwind (arbitrary value)
bg-[#402f63]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Blue Violet #8a2be2

Frequently asked questions

#402f63 (#402f63) is rgb(64, 47, 99) in RGB.

No, #402f63 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 #402f63, 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.