Skip to main content

#040F5D

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
#040F5D
RGB
rgb(4, 15, 93)
RGBA
rgba(4, 15, 93, 1)
HSL
hsl(232.58, 91.75%, 19.02%)
HSLA
hsla(233, 92%, 19%, 1)
CMYK
cmyk(96%, 84%, 0%, 64%)

Color Palettes

Harmonious color combinations based on #040F5D

Monochromatic

Shades and tints of the same hue

#020831
#061793
#0A26F5
#6C7DF9
#CED4FD

Analogous

Adjacent colors on the color wheel

#045D53
#043B5D
#040F5D
#26045D
#53045D

Complementary

Opposite color for maximum contrast

#040F5D
#5D5304

Triadic

Three evenly spaced colors

#040F5D
#5D040E
#0E5D04

CSS Usage Examples

Background

background-color: #040F5D;

Text

color: #040F5D;

Border

border: 2px solid #040F5D;

Shadow

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