Skip to main content

#040FA5

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
#040FA5
RGB
rgb(4, 15, 165)
RGBA
rgba(4, 15, 165, 1)
HSL
hsl(235.9, 95.27%, 33.14%)
HSLA
hsla(236, 95%, 33%, 1)
CMYK
cmyk(98%, 91%, 0%, 35%)

Color Palettes

Harmonious color combinations based on #040FA5

Monochromatic

Shades and tints of the same hue

#010532
#040E95
#0617F9
#6A74FB
#CDD1FE

Analogous

Adjacent colors on the color wheel

#04A499
#045FA4
#040FA5
#4904A4
#9904A4

Complementary

Opposite color for maximum contrast

#040FA5
#A49904

Triadic

Three evenly spaced colors

#040FA5
#A4040F
#0FA404

CSS Usage Examples

Background

background-color: #040FA5;

Text

color: #040FA5;

Border

border: 2px solid #040FA5;

Shadow

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