Skip to main content

#312D8A

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
#312D8A
RGB
rgb(49, 45, 138)
RGBA
rgba(49, 45, 138, 1)
HSL
hsl(242.58, 50.82%, 35.88%)
HSLA
hsla(243, 51%, 36%, 1)
CMYK
cmyk(64%, 67%, 0%, 46%)

Color Palettes

Harmonious color combinations based on #312D8A

Monochromatic

Shades and tints of the same hue

#0E0C27
#292574
#453EC1
#8F8BDA
#DAD8F3

Analogous

Adjacent colors on the color wheel

#2D868B
#2D578B
#312D8A
#602D8B
#8B2D86

Complementary

Opposite color for maximum contrast

#312D8A
#868B2D

Triadic

Three evenly spaced colors

#312D8A
#8B322D
#2D8B32

CSS Usage Examples

Background

background-color: #312D8A;

Text

color: #312D8A;

Border

border: 2px solid #312D8A;

Shadow

box-shadow: 0 4px 6px #312D8A40;
Feedback