#0c0c2c Color Information

In a RGB color space, hex #0c0c2c is composed of 4.7% red, 4.7% green and 17.3% blue. Whereas in a CMYK color space, it is composed of 72.7% cyan, 72.7% magenta, 0% yellow and 82.7% black. It has a hue angle of 240 degrees, a saturation of 57.1% and a lightness of 11%. #0c0c2c color hex could be obtained by blending #181858 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 5
    • B 17
    RGB color chart
    • C 73
    • M 73
    • Y 0
    • K 83
    CMYK color chart

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

#0c0c2c Color Conversion

The hexadecimal color #0c0c2c has RGB values of R:12, G:12, B:44 and CMYK values of C:0.73, M:0.73, Y:0, K:0.83. Its decimal value is 789548.

Hex triplet 0c0c2c #0c0c2c
RGB Decimal 12, 12, 44 rgb(12,12,44)
RGB Percent 4.7, 4.7, 17.3 rgb(4.7%,4.7%,17.3%)
CMYK 73, 73, 0, 83
HSL 240°, 57.1, 11 hsl(240,57.1%,11%)
HSV (or HSB) 240°, 72.7, 17.3
Web Safe 000033 #000033
CIE-LAB 4.724, 9.856, -20.693
XYZ 0.738, 0.523, 2.445
xyY 0.199, 0.141, 0.523
CIE-LCH 4.724, 22.92, 295.468
CIE-LUV 4.724, -0.765, -10.601
Hunter-Lab 7.231, 5.553, -14.983
Binary 00001100, 00001100, 00101100

Color Schemes with #0c0c2c

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

Alternatives to #0c0c2c

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

Similar Colors

#0c0c2c Preview

Text with hexadecimal color #0c0c2c

This text has a font color of #0c0c2c.

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

This paragraph has a background color of #0c0c2c.

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

This element has a border color of #0c0c2c.

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

Shades and Tints of #0c0c2c

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, #04040d is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0c2c

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

Tone Color Variation

Color Blindness Simulator

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

  • #101010 Achromatopsia 0.005% of the population
  • #0f0f16 Atypical Achromatopsia 0.001% of the population
  • #001b36 Protanopia 1% of men
  • #001d2f Deuteranopia 1% of men
  • #0b1f21 Tritanopia 0.001% of the population
  • #041532 Protanomaly 1% of men, 0.01% of women
  • #04162e Deuteranomaly 6% of men, 0.4% of women
  • #0b1825 Tritanomaly 0.01% of the population