#0c1221 Color Information

In a RGB color space, hex #0c1221 is composed of 4.7% red, 7.1% green and 12.9% blue. Whereas in a CMYK color space, it is composed of 63.6% cyan, 45.5% magenta, 0% yellow and 87.1% black. It has a hue angle of 222.9 degrees, a saturation of 46.7% and a lightness of 8.8%. #0c1221 color hex could be obtained by blending #182442 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 7
    • B 13
    RGB color chart
    • C 64
    • M 45
    • Y 0
    • K 87
    CMYK color chart

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

#0c1221 Color Conversion

The hexadecimal color #0c1221 has RGB values of R:12, G:18, B:33 and CMYK values of C:0.64, M:0.45, Y:0, K:0.87. Its decimal value is 791073.

Hex triplet 0c1221 #0c1221
RGB Decimal 12, 18, 33 rgb(12,18,33)
RGB Percent 4.7, 7.1, 12.9 rgb(4.7%,7.1%,12.9%)
CMYK 64, 45, 0, 87
HSL 222.9°, 46.7, 8.8 hsl(222.9,46.7%,8.8%)
HSV (or HSB) 222.9°, 63.6, 12.9
Web Safe 000033 #000033
CIE-LAB 5.605, 2.153, -10.956
XYZ 0.642, 0.621, 1.525
xyY 0.23, 0.223, 0.621
CIE-LCH 5.605, 11.165, 281.119
CIE-LUV 5.605, -1.525, -6.108
Hunter-Lab 7.878, 0.77, -5.961
Binary 00001100, 00010010, 00100001

Color Schemes with #0c1221

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

Alternatives to #0c1221

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

Similar Colors

#0c1221 Preview

Text with hexadecimal color #0c1221

This text has a font color of #0c1221.

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

This paragraph has a background color of #0c1221.

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

This element has a border color of #0c1221.

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

Shades and Tints of #0c1221

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

Shade Color Variation
Tint Color Variation

Tones of #0c1221

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

Tone Color Variation

Color Blindness Simulator

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

  • #121212 Achromatopsia 0.005% of the population
  • #111215 Atypical Achromatopsia 0.001% of the population
  • #191e2c Protanopia 1% of men
  • #171e2c Deuteranopia 1% of men
  • #142022 Tritanopia 0.001% of the population
  • #141928 Protanomaly 1% of men, 0.01% of women
  • #131a28 Deuteranomaly 6% of men, 0.4% of women
  • #111b22 Tritanomaly 0.01% of the population