#0c21af Color Information

In a RGB color space, hex #0c21af is composed of 4.7% red, 12.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 93.1% cyan, 81.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 232.3 degrees, a saturation of 87.2% and a lightness of 36.7%. #0c21af color hex could be obtained by blending #1842ff with #00005f. Closest websafe color is: #003399.

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

#0c21af color description : Dark blue.

#0c21af Color Conversion

The hexadecimal color #0c21af has RGB values of R:12, G:33, B:175 and CMYK values of C:0.93, M:0.81, Y:0, K:0.31. Its decimal value is 795055.

Hex triplet 0c21af #0c21af
RGB Decimal 12, 33, 175 rgb(12,33,175)
RGB Percent 4.7, 12.9, 68.6 rgb(4.7%,12.9%,68.6%)
CMYK 93, 81, 0, 31
HSL 232.3°, 87.2, 36.7 hsl(232.3,87.2%,36.7%)
HSV (or HSB) 232.3°, 93.1, 68.6
Web Safe 003399 #003399
CIE-LAB 24.514, 48.366, -74.493
XYZ 8.432, 4.26, 40.933
xyY 0.157, 0.079, 4.26
CIE-LCH 24.514, 88.817, 302.994
CIE-LUV 24.514, -7.967, -86.632
Hunter-Lab 20.641, 36.797, -103.131
Binary 00001100, 00100001, 10101111

Color Schemes with #0c21af

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

Alternatives to #0c21af

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

Similar Colors

#0c21af Preview

Text with hexadecimal color #0c21af

This text has a font color of #0c21af.

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

This paragraph has a background color of #0c21af.

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

This element has a border color of #0c21af.

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

Shades and Tints of #0c21af

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, #01020a is the darkest color, while #f6f7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c21af

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c21af 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
  • #004281 Protanopia 1% of men
  • #00466f Deuteranopia 1% of men
  • #004b4e Tritanopia 0.001% of the population
Trichromacy
  • #043691 Protanomaly 1% of men, 0.01% of women
  • #043886 Deuteranomaly 6% of men, 0.4% of women
  • #043b71 Tritanomaly 0.01% of the population