#0c0c21 Color Information

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

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

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

#0c0c21 Color Conversion

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

Hex triplet 0c0c21 #0c0c21
RGB Decimal 12, 12, 33 rgb(12,12,33)
RGB Percent 4.7, 4.7, 12.9 rgb(4.7%,4.7%,12.9%)
CMYK 64, 64, 0, 87
HSL 240°, 46.7, 8.8 hsl(240,46.7%,8.8%)
HSV (or HSB) 240°, 63.6, 12.9
Web Safe 000033 #000033
CIE-LAB 4.073, 5.284, -13.298
XYZ 0.558, 0.451, 1.496
xyY 0.223, 0.18, 0.451
CIE-LCH 4.073, 14.309, 291.67
CIE-LUV 4.073, -0.477, -6.604
Hunter-Lab 6.715, 3.07, -8.512
Binary 00001100, 00001100, 00100001

Color Schemes with #0c0c21

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

Alternatives to #0c0c21

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

Similar Colors

#0c0c21 Preview

Text with hexadecimal color #0c0c21

This text has a font color of #0c0c21.

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

This paragraph has a background color of #0c0c21.

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

This element has a border color of #0c0c21.

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

Shades and Tints of #0c0c21

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 #f5f5fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0c21

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0c21 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
  • #0e0e0e Achromatopsia 0.005% of the population
  • #0e0e12 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #101a2d Protanopia 1% of men
  • #0c1b2b Deuteranopia 1% of men
  • #131c1e Tritanopia 0.001% of the population
Trichromacy
  • #0e1529 Protanomaly 1% of men, 0.01% of women
  • #0c1527 Deuteranomaly 6% of men, 0.4% of women
  • #10161f Tritanomaly 0.01% of the population