Skip to main content

#40228B

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
#40228B
RGB
rgb(64, 34, 139)
RGBA
rgba(64, 34, 139, 1)
HSL
hsl(257.14, 60.69%, 33.92%)
HSLA
hsla(257, 61%, 34%, 1)
CMYK
cmyk(54%, 76%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #40228B

Monochromatic

Shades and tints of the same hue

#130A29
#381E7B
#5E32CD
#9E84E1
#DFD6F5

Analogous

Adjacent colors on the color wheel

#226E8C
#22398C
#40228B
#75228C
#8C226E

Complementary

Opposite color for maximum contrast

#40228B
#6E8C22

Triadic

Three evenly spaced colors

#40228B
#8C4022
#228C40

CSS Usage Examples

Background

background-color: #40228B;

Text

color: #40228B;

Border

border: 2px solid #40228B;

Shadow

box-shadow: 0 4px 6px #40228B40;
Feedback