#0c21ac Color Information

In a RGB color space, hex #0c21ac is composed of 4.7% red, 12.9% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 80.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 232.1 degrees, a saturation of 87% and a lightness of 36.1%. #0c21ac color hex could be obtained by blending #1842ff with #000059. Closest websafe color is: #003399.

    • R 5
    • G 13
    • B 67
    RGB color chart
    • C 93
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#0c21ac color description : Dark blue.

#0c21ac Color Conversion

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

Hex triplet 0c21ac #0c21ac
RGB Decimal 12, 33, 172 rgb(12,33,172)
RGB Percent 4.7, 12.9, 67.5 rgb(4.7%,12.9%,67.5%)
CMYK 93, 81, 0, 33
HSL 232.1°, 87, 36.1 hsl(232.1,87%,36.1%)
HSV (or HSB) 232.1°, 93, 67.5
Web Safe 003399 #003399
CIE-LAB 24.141, 47.374, -73.309
XYZ 8.14, 4.144, 39.398
xyY 0.158, 0.08, 4.144
CIE-LCH 24.141, 87.284, 302.872
CIE-LUV 24.141, -7.875, -84.887
Hunter-Lab 20.356, 35.757, -100.502
Binary 00001100, 00100001, 10101100

Color Schemes with #0c21ac

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

Alternatives to #0c21ac

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

Similar Colors

#0c21ac Preview

Text with hexadecimal color #0c21ac

This text has a font color of #0c21ac.

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

This paragraph has a background color of #0c21ac.

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

This element has a border color of #0c21ac.

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

Shades and Tints of #0c21ac

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

Shade Color Variation
Tint Color Variation

Tones of #0c21ac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c21ac 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #252945 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00456e Deuteranopia 1% of men
  • #004a4d Tritanopia 0.001% of the population
Trichromacy
  • #04358f Protanomaly 1% of men, 0.01% of women
  • #043884 Deuteranomaly 6% of men, 0.4% of women
  • #043b6f Tritanomaly 0.01% of the population