Skip to main content

#40238E

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
#40238E
RGB
rgb(64, 35, 142)
RGBA
rgba(64, 35, 142, 1)
HSL
hsl(256.26, 60.45%, 34.71%)
HSLA
hsla(256, 60%, 35%, 1)
CMYK
cmyk(55%, 75%, 0%, 44%)

Color Palettes

Harmonious color combinations based on #40238E

Monochromatic

Shades and tints of the same hue

#120A29
#371F7A
#5C33CC
#9D85E0
#DED6F5

Analogous

Adjacent colors on the color wheel

#24728F
#243D8F
#40238E
#76248F
#8F2472

Complementary

Opposite color for maximum contrast

#40238E
#728F24

Triadic

Three evenly spaced colors

#40238E
#8F4024
#248F40

CSS Usage Examples

Background

background-color: #40238E;

Text

color: #40238E;

Border

border: 2px solid #40238E;

Shadow

box-shadow: 0 4px 6px #40238E40;
Feedback