Skip to main content

#04008B

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
#04008B
RGB
rgb(4, 0, 139)
RGBA
rgba(4, 0, 139, 1)
HSL
hsl(241.73, 100%, 27.25%)
HSLA
hsla(242, 100%, 27%, 1)
CMYK
cmyk(97%, 100%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #04008B

Monochromatic

Shades and tints of the same hue

#020033
#050099
#0800FF
#6B66FF
#CECCFF

Analogous

Adjacent colors on the color wheel

#00858A
#00408A
#04008B
#49008A
#8A0085

Complementary

Opposite color for maximum contrast

#04008B
#858A00

Triadic

Three evenly spaced colors

#04008B
#8A0500
#008A05

CSS Usage Examples

Background

background-color: #04008B;

Text

color: #04008B;

Border

border: 2px solid #04008B;

Shadow

box-shadow: 0 4px 6px #04008B40;
Feedback