#0c0c1f Color Information

In a RGB color space, hex #0c0c1f is composed of 4.7% red, 4.7% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 61.3% cyan, 61.3% magenta, 0% yellow and 87.8% black. It has a hue angle of 240 degrees, a saturation of 44.2% and a lightness of 8.4%. #0c0c1f color hex could be obtained by blending #18183e with #000000. Closest websafe color is: #000033.

    • R 5
    • G 5
    • B 12
    RGB color chart
    • C 61
    • M 61
    • Y 0
    • K 88
    CMYK color chart

#0c0c1f color description : Very dark (mostly black) blue.

#0c0c1f Color Conversion

The hexadecimal color #0c0c1f has RGB values of R:12, G:12, B:31 and CMYK values of C:0.61, M:0.61, Y:0, K:0.88. Its decimal value is 789535.

Hex triplet 0c0c1f #0c0c1f
RGB Decimal 12, 12, 31 rgb(12,12,31)
RGB Percent 4.7, 4.7, 12.2 rgb(4.7%,4.7%,12.2%)
CMYK 61, 61, 0, 88
HSL 240°, 44.2, 8.4 hsl(240,44.2%,8.4%)
HSV (or HSB) 240°, 61.3, 12.2
Web Safe 000033 #000033
CIE-LAB 3.975, 4.594, -11.888
XYZ 0.53, 0.44, 1.353
xyY 0.228, 0.189, 0.44
CIE-LCH 3.975, 12.745, 291.127
CIE-LUV 3.975, -0.427, -5.913
Hunter-Lab 6.633, 2.663, -7.452
Binary 00001100, 00001100, 00011111

Color Schemes with #0c0c1f

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

Alternatives to #0c0c1f

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

Similar Colors

#0c0c1f Preview

Text with hexadecimal color #0c0c1f

This text has a font color of #0c0c1f.

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

This paragraph has a background color of #0c0c1f.

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

This element has a border color of #0c0c1f.

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

Shades and Tints of #0c0c1f

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

Shade Color Variation
Tint Color Variation

Tones of #0c0c1f

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

Tone Color Variation

Color Blindness Simulator

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

  • #0e0e0e Achromatopsia 0.005% of the population
  • #0e0e11 Atypical Achromatopsia 0.001% of the population
  • #111a2b Protanopia 1% of men
  • #0f1a29 Deuteranopia 1% of men
  • #141b1d Tritanopia 0.001% of the population
  • #0f1427 Protanomaly 1% of men, 0.01% of women
  • #0e1525 Deuteranomaly 6% of men, 0.4% of women
  • #11161e Tritanomaly 0.01% of the population