Skip to main content

#402EB7

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
#402EB7
RGB
rgb(64, 46, 183)
RGBA
rgba(64, 46, 183, 1)
HSL
hsl(247.88, 59.83%, 44.9%)
HSLA
hsla(248, 60%, 45%, 1)
CMYK
cmyk(65%, 75%, 0%, 28%)

Color Palettes

Harmonious color combinations based on #402EB7

Monochromatic

Shades and tints of the same hue

#0E0A29
#2B1F7A
#4733CC
#9185E0
#DAD6F5

Analogous

Adjacent colors on the color wheel

#2EA5B8
#2E60B8
#402EB7
#852EB8
#B82EA5

Complementary

Opposite color for maximum contrast

#402EB7
#A5B82E

Triadic

Three evenly spaced colors

#402EB7
#B8402E
#2EB840

CSS Usage Examples

Background

background-color: #402EB7;

Text

color: #402EB7;

Border

border: 2px solid #402EB7;

Shadow

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