Skip to main content

#5940C7

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

Color Palettes

Harmonious color combinations based on #5940C7

Monochromatic

Shades and tints of the same hue

#110B28
#322277
#5339C6
#9888DD
#DDD7F4

Analogous

Adjacent colors on the color wheel

#41AFC8
#416CC8
#5940C7
#9D41C8
#C841AF

Complementary

Opposite color for maximum contrast

#5940C7
#AFC841

Triadic

Three evenly spaced colors

#5940C7
#C85A41
#41C85A

CSS Usage Examples

Background

background-color: #5940C7;

Text

color: #5940C7;

Border

border: 2px solid #5940C7;

Shadow

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