#0c31a1 Color Information

In a RGB color space, hex #0c31a1 is composed of 4.7% red, 19.2% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 92.5% cyan, 69.6% magenta, 0% yellow and 36.9% black. It has a hue angle of 225.1 degrees, a saturation of 86.1% and a lightness of 33.9%. #0c31a1 color hex could be obtained by blending #1862ff with #000043. Closest websafe color is: #003399.

    • R 5
    • G 19
    • B 63
    RGB color chart
    • C 93
    • M 70
    • Y 0
    • K 37
    CMYK color chart

#0c31a1 color description : Dark blue.

#0c31a1 Color Conversion

The hexadecimal color #0c31a1 has RGB values of R:12, G:49, B:161 and CMYK values of C:0.93, M:0.7, Y:0, K:0.37. Its decimal value is 799137.

Hex triplet 0c31a1 #0c31a1
RGB Decimal 12, 49, 161 rgb(12,49,161)
RGB Percent 4.7, 19.2, 63.1 rgb(4.7%,19.2%,63.1%)
CMYK 93, 70, 0, 37
HSL 225.1°, 86.1, 33.9 hsl(225.1,86.1%,33.9%)
HSV (or HSB) 225.1°, 92.5, 63.1
Web Safe 003399 #003399
CIE-LAB 26.295, 33.868, -63.091
XYZ 7.682, 4.847, 34.247
xyY 0.164, 0.104, 4.847
CIE-LCH 26.295, 71.607, 298.228
CIE-LUV 26.295, -10.275, -78.662
Hunter-Lab 22.017, 23.749, -76.814
Binary 00001100, 00110001, 10100001

Color Schemes with #0c31a1

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #0c31a1

Below, you can see some colors close to #0c31a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#0c31a1 Preview

Text with hexadecimal color #0c31a1

This text has a font color of #0c31a1.

<span style="color:#0c31a1;">Text here</span>
#0c31a1 background color

This paragraph has a background color of #0c31a1.

<p style="background-color:#0c31a1;">Content here</p>
#0c31a1 border color

This element has a border color of #0c31a1.

<div style="border:1px solid #0c31a1;">Content here</div>
CSS codes
.text {color:#0c31a1;}
.background {background-color:#0c31a1;}
.border {border:1px solid #0c31a1;}

Shades and Tints of #0c31a1

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #01050f is the darkest color, while #fcfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c31a1

A tone is produced by adding gray to any pure hue. In this case, #555658 is the less saturated color, while #052ea8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c31a1 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #333333 Achromatopsia 0.005% of the population
  • #2b3349 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004a76 Deuteranopia 1% of men
  • #004f53 Tritanopia 0.001% of the population
Trichromacy
  • #043e91 Protanomaly 1% of men, 0.01% of women
  • #044185 Deuteranomaly 6% of men, 0.4% of women
  • #04446f Tritanomaly 0.01% of the population