#0c0172 Color Information

In a RGB color space, hex #0c0172 is composed of 4.7% red, 0.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 89.5% cyan, 99.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 245.8 degrees, a saturation of 98.3% and a lightness of 22.5%. #0c0172 color hex could be obtained by blending #1802e4 with #000000. Closest websafe color is: #000066.

    • R 5
    • G 0
    • B 45
    RGB color chart
    • C 89
    • M 99
    • Y 0
    • K 55
    CMYK color chart

#0c0172 color description : Very dark blue.

#0c0172 Color Conversion

The hexadecimal color #0c0172 has RGB values of R:12, G:1, B:114 and CMYK values of C:0.89, M:0.99, Y:0, K:0.55. Its decimal value is 786802.

Hex triplet 0c0172 #0c0172
RGB Decimal 12, 1, 114 rgb(12,1,114)
RGB Percent 4.7, 0.4, 44.7 rgb(4.7%,0.4%,44.7%)
CMYK 89, 99, 0, 55
HSL 245.8°, 98.3, 22.5 hsl(245.8,98.3%,22.5%)
HSV (or HSB) 245.8°, 99.1, 44.7
Web Safe 000066 #000066
CIE-LAB 11.377, 43.433, -58.347
XYZ 3.199, 1.315, 16.004
xyY 0.156, 0.064, 1.315
CIE-LCH 11.377, 72.737, 306.664
CIE-LUV 11.377, -2.577, -44.597
Hunter-Lab 11.465, 29.742, -74.733
Binary 00001100, 00000001, 01110010

Color Schemes with #0c0172

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

Alternatives to #0c0172

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

Similar Colors

#0c0172 Preview

Text with hexadecimal color #0c0172

This text has a font color of #0c0172.

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

This paragraph has a background color of #0c0172.

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

This element has a border color of #0c0172.

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

Shades and Tints of #0c0172

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, #020011 is the darkest color, while #fdfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0172

A tone is produced by adding gray to any pure hue. In this case, #37363d is the less saturated color, while #0c0172 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0172 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
  • #111111 Achromatopsia 0.005% of the population
  • #100e24 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00284f Protanopia 1% of men
  • #002b44 Deuteranopia 1% of men
  • #002e2f Tritanopia 0.001% of the population
Trichromacy
  • #041a5b Protanomaly 1% of men, 0.01% of women
  • #041b54 Deuteranomaly 6% of men, 0.4% of women
  • #041d47 Tritanomaly 0.01% of the population