Skip to main content

#31008B

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
#31008B
RGB
rgb(49, 0, 139)
RGBA
rgba(49, 0, 139, 1)
HSL
hsl(261.15, 100%, 27.25%)
HSLA
hsla(261, 100%, 27%, 1)
CMYK
cmyk(65%, 100%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #31008B

Monochromatic

Shades and tints of the same hue

#120033
#360099
#5900FF
#9C66FF
#DECCFF

Analogous

Adjacent colors on the color wheel

#005A8A
#00158A
#31008B
#75008A
#8A005A

Complementary

Opposite color for maximum contrast

#31008B
#5A8A00

Triadic

Three evenly spaced colors

#31008B
#8A3000
#008A30

CSS Usage Examples

Background

background-color: #31008B;

Text

color: #31008B;

Border

border: 2px solid #31008B;

Shadow

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