#0c2e7e Color Information

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

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

#0c2e7e color description : Dark blue.

#0c2e7e Color Conversion

The hexadecimal color #0c2e7e has RGB values of R:12, G:46, B:126 and CMYK values of C:0.9, M:0.63, Y:0, K:0.51. Its decimal value is 798334.

Hex triplet 0c2e7e #0c2e7e
RGB Decimal 12, 46, 126 rgb(12,46,126)
RGB Percent 4.7, 18, 49.4 rgb(4.7%,18%,49.4%)
CMYK 90, 63, 0, 51
HSL 222.1°, 82.6, 27.1 hsl(222.1,82.6%,27.1%)
HSV (or HSB) 222.1°, 90.5, 49.4
Web Safe 003366 #003366
CIE-LAB 22.082, 21.865, -48.339
XYZ 4.894, 3.538, 20.163
xyY 0.171, 0.124, 3.538
CIE-LCH 22.082, 53.054, 294.339
CIE-LUV 22.082, -9.354, -57.272
Hunter-Lab 18.81, 13.523, -50.387
Binary 00001100, 00101110, 01111110

Color Schemes with #0c2e7e

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

Alternatives to #0c2e7e

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

Similar Colors

#0c2e7e Preview

Text with hexadecimal color #0c2e7e

This text has a font color of #0c2e7e.

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

This paragraph has a background color of #0c2e7e.

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

This element has a border color of #0c2e7e.

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

Shades and Tints of #0c2e7e

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 #0c2e7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2e7e 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.

  • #2d2d2d Achromatopsia 0.005% of the population
  • #262d3d Atypical Achromatopsia 0.001% of the population
  • #003d78 Protanopia 1% of men
  • #004068 Deuteranopia 1% of men
  • #004549 Tritanopia 0.001% of the population
  • #04377a Protanomaly 1% of men, 0.01% of women
  • #043a70 Deuteranomaly 6% of men, 0.4% of women
  • #043d5c Tritanomaly 0.01% of the population