#0c2c7e Color Information

In a RGB color space, hex #0c2c7e is composed of 4.7% red, 17.3% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 90.5% cyan, 65.1% magenta, 0% yellow and 50.6% black. It has a hue angle of 223.2 degrees, a saturation of 82.6% and a lightness of 27.1%. #0c2c7e color hex could be obtained by blending #1858fc with #000000. Closest websafe color is: #003366.

    • R 5
    • G 17
    • B 49
    RGB color chart
    • C 90
    • M 65
    • Y 0
    • K 51
    CMYK color chart

#0c2c7e color description : Dark blue.

#0c2c7e Color Conversion

The hexadecimal color #0c2c7e has RGB values of R:12, G:44, B:126 and CMYK values of C:0.9, M:0.65, Y:0, K:0.51. Its decimal value is 797822.

Hex triplet 0c2c7e #0c2c7e
RGB Decimal 12, 44, 126 rgb(12,44,126)
RGB Percent 4.7, 17.3, 49.4 rgb(4.7%,17.3%,49.4%)
CMYK 90, 65, 0, 51
HSL 223.2°, 82.6, 27.1 hsl(223.2,82.6%,27.1%)
HSV (or HSB) 223.2°, 90.5, 49.4
Web Safe 003366 #003366
CIE-LAB 21.526, 23.288, -49.249
XYZ 4.817, 3.385, 20.137
xyY 0.17, 0.119, 3.385
CIE-LCH 21.526, 54.477, 295.308
CIE-LUV 21.526, -8.882, -57.561
Hunter-Lab 18.4, 14.535, -52.009
Binary 00001100, 00101100, 01111110

Color Schemes with #0c2c7e

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

Alternatives to #0c2c7e

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

Similar Colors

#0c2c7e Preview

Text with hexadecimal color #0c2c7e

This text has a font color of #0c2c7e.

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

This paragraph has a background color of #0c2c7e.

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

This element has a border color of #0c2c7e.

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

Shades and Tints of #0c2c7e

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

Shade Color Variation
Tint Color Variation

Tones of #0c2c7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2c7e 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #262c3c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f66 Deuteranopia 1% of men
  • #004447 Tritanopia 0.001% of the population
Trichromacy
  • #043678 Protanomaly 1% of men, 0.01% of women
  • #04386f Deuteranomaly 6% of men, 0.4% of women
  • #043b5b Tritanomaly 0.01% of the population