#0c0cac Color Information

In a RGB color space, hex #0c0cac is composed of 4.7% red, 4.7% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 93% magenta, 0% yellow and 32.5% black. It has a hue angle of 240 degrees, a saturation of 87% and a lightness of 36.1%. #0c0cac color hex could be obtained by blending #1818ff with #000059. 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

#0c0cac color description : Dark blue.

#0c0cac Color Conversion

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

Hex triplet 0c0cac #0c0cac
RGB Decimal 12, 12, 172 rgb(12,12,172)
RGB Percent 4.7, 4.7, 67.5 rgb(4.7%,4.7%,67.5%)
CMYK 93, 93, 0, 33
HSL 240°, 87, 36.1 hsl(240,87%,36.1%)
HSV (or HSB) 240°, 93, 67.5
Web Safe 000099 #000099
CIE-LAB 21.279, 55.925, -78.078
XYZ 7.728, 3.319, 39.261
xyY 0.154, 0.066, 3.319
CIE-LCH 21.279, 96.041, 305.613
CIE-LUV 21.279, -5.947, -82.415
Hunter-Lab 18.218, 43.836, -115.018
Binary 00001100, 00001100, 10101100

Color Schemes with #0c0cac

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

Alternatives to #0c0cac

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

Similar Colors

#0c0cac Preview

Text with hexadecimal color #0c0cac

This text has a font color of #0c0cac.

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

This paragraph has a background color of #0c0cac.

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

This element has a border color of #0c0cac.

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

Shades and Tints of #0c0cac

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

Shade Color Variation
Tint Color Variation

Tones of #0c0cac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0cac 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #1a1a3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population
Trichromacy
  • #042a88 Protanomaly 1% of men, 0.01% of women
  • #042c7e Deuteranomaly 6% of men, 0.4% of women
  • #042f6b Tritanomaly 0.01% of the population