Skip to main content

#4040C7

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
#4040C7
RGB
rgb(64, 64, 199)
RGBA
rgba(64, 64, 199, 1)
HSL
hsl(240, 54.66%, 51.57%)
HSLA
hsla(240, 55%, 52%, 1)
CMYK
cmyk(68%, 68%, 0%, 22%)

Color Palettes

Harmonious color combinations based on #4040C7

Monochromatic

Shades and tints of the same hue

#0B0B28
#222277
#3939C6
#8888DD
#D7D7F4

Analogous

Adjacent colors on the color wheel

#41C8C8
#4185C8
#4040C7
#8541C8
#C841C8

Complementary

Opposite color for maximum contrast

#4040C7
#C8C841

Triadic

Three evenly spaced colors

#4040C7
#C84141
#41C841

CSS Usage Examples

Background

background-color: #4040C7;

Text

color: #4040C7;

Border

border: 2px solid #4040C7;

Shadow

box-shadow: 0 4px 6px #4040C740;
Feedback