Skip to main content

#040021

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
#040021
RGB
rgb(4, 0, 33)
RGBA
rgba(4, 0, 33, 1)
HSL
hsl(247.27, 100%, 6.47%)
HSLA
hsla(247, 100%, 6%, 1)
CMYK
cmyk(88%, 100%, 0%, 87%)

Color Palettes

Harmonious color combinations based on #040021

Monochromatic

Shades and tints of the same hue

#060033
#120099
#1E00FF
#7866FF
#D2CCFF

Analogous

Adjacent colors on the color wheel

#001B1F
#000C1F
#040021
#13001F
#1F001B

Complementary

Opposite color for maximum contrast

#040021
#1B1F00

Triadic

Three evenly spaced colors

#040021
#1F0400
#001F04

CSS Usage Examples

Background

background-color: #040021;

Text

color: #040021;

Border

border: 2px solid #040021;

Shadow

box-shadow: 0 4px 6px #04002140;
Feedback