#0c0cab Color Information

In a RGB color space, hex #0c0cab is composed of 4.7% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 240 degrees, a saturation of 86.9% and a lightness of 35.9%. #0c0cab color hex could be obtained by blending #1818ff with #000057. Closest websafe color is: #000099.

    • R 5
    • G 5
    • B 67
    RGB color chart
    • C 93
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#0c0cab color description : Dark blue.

#0c0cab Color Conversion

The hexadecimal color #0c0cab has RGB values of R:12, G:12, B:171 and CMYK values of C:0.93, M:0.93, Y:0, K:0.33. Its decimal value is 789675.

Hex triplet 0c0cab #0c0cab
RGB Decimal 12, 12, 171 rgb(12,12,171)
RGB Percent 4.7, 4.7, 67.1 rgb(4.7%,4.7%,67.1%)
CMYK 93, 93, 0, 33
HSL 240°, 86.9, 35.9 hsl(240,86.9%,35.9%)
HSV (or HSB) 240°, 93, 67.1
Web Safe 000099 #000099
CIE-LAB 21.135, 55.648, -77.714
XYZ 7.632, 3.281, 38.757
xyY 0.154, 0.066, 3.281
CIE-LCH 21.135, 95.583, 305.605
CIE-LUV 21.135, -5.904, -81.815
Hunter-Lab 18.113, 43.517, -114.185
Binary 00001100, 00001100, 10101011

Color Schemes with #0c0cab

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

Alternatives to #0c0cab

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

Similar Colors

#0c0cab Preview

Text with hexadecimal color #0c0cab

This text has a font color of #0c0cab.

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

This paragraph has a background color of #0c0cab.

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

This element has a border color of #0c0cab.

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

Shades and Tints of #0c0cab

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

Shade Color Variation
Tint Color Variation

Tones of #0c0cab

A tone is produced by adding gray to any pure hue. In this case, #59595e is the less saturated color, while #0505b2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0cab 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.

  • #1e1e1e Achromatopsia 0.005% of the population
  • #1a1a3a Atypical Achromatopsia 0.001% of the population
  • #003b73 Protanopia 1% of men
  • #003f63 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population
  • #042a87 Protanomaly 1% of men, 0.01% of women
  • #042c7d Deuteranomaly 6% of men, 0.4% of women
  • #042f6a Tritanomaly 0.01% of the population