Skip to main content

#040CA5

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
#040CA5
RGB
rgb(4, 12, 165)
RGBA
rgba(4, 12, 165, 1)
HSL
hsl(237.02, 95.27%, 33.14%)
HSLA
hsla(237, 95%, 33%, 1)
CMYK
cmyk(98%, 93%, 0%, 35%)

Color Palettes

Harmonious color combinations based on #040CA5

Monochromatic

Shades and tints of the same hue

#010432
#040B95
#0612F9
#6A71FB
#CDD0FE

Analogous

Adjacent colors on the color wheel

#04A49C
#045CA4
#040CA5
#4C04A4
#9C04A4

Complementary

Opposite color for maximum contrast

#040CA5
#A49C04

Triadic

Three evenly spaced colors

#040CA5
#A4040C
#0CA404

CSS Usage Examples

Background

background-color: #040CA5;

Text

color: #040CA5;

Border

border: 2px solid #040CA5;

Shadow

box-shadow: 0 4px 6px #040CA540;
Feedback