Skip to main content

#40304F

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
#40304F
RGB
rgb(64, 48, 79)
RGBA
rgba(64, 48, 79, 1)
HSL
hsl(270.97, 24.41%, 24.9%)
HSLA
hsla(271, 24%, 25%, 1)
CMYK
cmyk(19%, 39%, 0%, 69%)

Color Palettes

Harmonious color combinations based on #40304F

Monochromatic

Shades and tints of the same hue

#1A1320
#4D3A5F
#81619E
#B3A0C5
#E6DFEC

Analogous

Adjacent colors on the color wheel

#303F4F
#31304F
#40304F
#4F304F
#4F303F

Complementary

Opposite color for maximum contrast

#40304F
#3F4F30

Triadic

Three evenly spaced colors

#40304F
#4F4030
#304F40

CSS Usage Examples

Background

background-color: #40304F;

Text

color: #40304F;

Border

border: 2px solid #40304F;

Shadow

box-shadow: 0 4px 6px #40304F40;
Feedback