Skip to main content

#402F82

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
#402F82
RGB
rgb(64, 47, 130)
RGBA
rgba(64, 47, 130, 1)
HSL
hsl(252.29, 46.89%, 34.71%)
HSLA
hsla(252, 47%, 35%, 1)
CMYK
cmyk(51%, 64%, 0%, 49%)

Color Palettes

Harmonious color combinations based on #402F82

Monochromatic

Shades and tints of the same hue

#120E25
#372970
#5C44BB
#9D8FD6
#DEDAF1

Analogous

Adjacent colors on the color wheel

#2F7283
#2F4883
#402F82
#6A2F83
#832F72

Complementary

Opposite color for maximum contrast

#402F82
#72832F

Triadic

Three evenly spaced colors

#402F82
#83402F
#2F8340

CSS Usage Examples

Background

background-color: #402F82;

Text

color: #402F82;

Border

border: 2px solid #402F82;

Shadow

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