Skip to main content

#0C31A1

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
#0C31A1
RGB
rgb(12, 49, 161)
RGBA
rgba(12, 49, 161, 1)
HSL
hsl(225.1, 86.13%, 33.92%)
HSLA
hsla(225, 86%, 34%, 1)
CMYK
cmyk(93%, 70%, 0%, 37%)

Color Palettes

Harmonious color combinations based on #0C31A1

Monochromatic

Shades and tints of the same hue

#040F2F
#0B2C8E
#1249ED
#7192F4
#D0DBFB

Analogous

Adjacent colors on the color wheel

#0CA17C
#0C7CA1
#0C31A1
#310CA1
#7C0CA1

Complementary

Opposite color for maximum contrast

#0C31A1
#A17C0C

Triadic

Three evenly spaced colors

#0C31A1
#A10C31
#31A10C

CSS Usage Examples

Background

background-color: #0C31A1;

Text

color: #0C31A1;

Border

border: 2px solid #0C31A1;

Shadow

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