Skip to main content

#402AA5

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
#402AA5
RGB
rgb(64, 42, 165)
RGBA
rgba(64, 42, 165, 1)
HSL
hsl(250.73, 59.42%, 40.59%)
HSLA
hsla(251, 59%, 41%, 1)
CMYK
cmyk(61%, 75%, 0%, 35%)

Color Palettes

Harmonious color combinations based on #402AA5

Monochromatic

Shades and tints of the same hue

#100A29
#301F7A
#5034CB
#9685E0
#DCD6F5

Analogous

Adjacent colors on the color wheel

#2B90A6
#2B52A6
#402AA5
#7F2BA6
#A62B90

Complementary

Opposite color for maximum contrast

#402AA5
#90A62B

Triadic

Three evenly spaced colors

#402AA5
#A6412B
#2BA641

CSS Usage Examples

Background

background-color: #402AA5;

Text

color: #402AA5;

Border

border: 2px solid #402AA5;

Shadow

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