#0c2ab2 Color Information

In a RGB color space, hex #0c2ab2 is composed of 4.7% red, 16.5% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 93.3% cyan, 76.4% magenta, 0% yellow and 30.2% black. It has a hue angle of 229.2 degrees, a saturation of 87.4% and a lightness of 37.3%. #0c2ab2 color hex could be obtained by blending #1854ff with #000065. Closest websafe color is: #003399.

    • R 5
    • G 16
    • B 70
    RGB color chart
    • C 93
    • M 76
    • Y 0
    • K 30
    CMYK color chart

#0c2ab2 color description : Dark blue.

#0c2ab2 Color Conversion

The hexadecimal color #0c2ab2 has RGB values of R:12, G:42, B:178 and CMYK values of C:0.93, M:0.76, Y:0, K:0.3. Its decimal value is 797362.

Hex triplet 0c2ab2 #0c2ab2
RGB Decimal 12, 42, 178 rgb(12,42,178)
RGB Percent 4.7, 16.5, 69.8 rgb(4.7%,16.5%,69.8%)
CMYK 93, 76, 0, 30
HSL 229.2°, 87.4, 37.3 hsl(229.2,87.4%,37.3%)
HSV (or HSB) 229.2°, 93.3, 69.8
Web Safe 003399 #003399
CIE-LAB 26.585, 44.456, -72.852
XYZ 9.014, 4.948, 42.597
xyY 0.159, 0.087, 4.948
CIE-LCH 26.585, 85.345, 301.393
CIE-LUV 26.585, -9.324, -88.931
Hunter-Lab 22.243, 33.408, -97.972
Binary 00001100, 00101010, 10110010

Color Schemes with #0c2ab2

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

Alternatives to #0c2ab2

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

Similar Colors

#0c2ab2 Preview

Text with hexadecimal color #0c2ab2

This text has a font color of #0c2ab2.

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

This paragraph has a background color of #0c2ab2.

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

This element has a border color of #0c2ab2.

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

Shades and Tints of #0c2ab2

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

Shade Color Variation
Tint Color Variation

Tones of #0c2ab2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2ab2 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
  • #313131 Achromatopsia 0.005% of the population
  • #2a304b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004a76 Deuteranopia 1% of men
  • #005053 Tritanopia 0.001% of the population
Trichromacy
  • #043c98 Protanomaly 1% of men, 0.01% of women
  • #043e8c Deuteranomaly 6% of men, 0.4% of women
  • #044275 Tritanomaly 0.01% of the population