Skip to main content

#402DB8

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
#402DB8
RGB
rgb(64, 45, 184)
RGBA
rgba(64, 45, 184, 1)
HSL
hsl(248.2, 60.7%, 44.9%)
HSLA
hsla(248, 61%, 45%, 1)
CMYK
cmyk(65%, 76%, 0%, 28%)

Color Palettes

Harmonious color combinations based on #402DB8

Monochromatic

Shades and tints of the same hue

#0E0A29
#2A1E7B
#4632CD
#9084E1
#DAD6F5

Analogous

Adjacent colors on the color wheel

#2DA6B9
#2D60B9
#402DB8
#852DB9
#B92DA6

Complementary

Opposite color for maximum contrast

#402DB8
#A6B92D

Triadic

Three evenly spaced colors

#402DB8
#B93F2D
#2DB93F

CSS Usage Examples

Background

background-color: #402DB8;

Text

color: #402DB8;

Border

border: 2px solid #402DB8;

Shadow

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