Skip to main content

#402D84

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#402D84
RGB
rgb(64, 45, 132)
RGBA
rgba(64, 45, 132, 1)
HSL
hsl(253.1, 49.15%, 34.71%)
HSLA
hsla(253, 49%, 35%, 1)
CMYK
cmyk(52%, 66%, 0%, 48%)

Color Palettes

Harmonious color combinations based on #402D84

Monochromatic

Shades and tints of the same hue

#120D26
#372772
#5C41BE
#9D8DD8
#DED9F2

Analogous

Adjacent colors on the color wheel

#2E7285
#2E4685
#402D84
#6C2E85
#852E72

Complementary

Opposite color for maximum contrast

#402D84
#72852E

Triadic

Three evenly spaced colors

#402D84
#85402E
#2E8540

CSS Usage Examples

Background

background-color: #402D84;

Text

color: #402D84;

Border

border: 2px solid #402D84;

Shadow

box-shadow: 0 4px 6px #402D8440;
Feedback