#0c2a87 Color Information

In a RGB color space, hex #0c2a87 is composed of 4.7% red, 16.5% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 91.1% cyan, 68.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 225.4 degrees, a saturation of 83.7% and a lightness of 28.8%. #0c2a87 color hex could be obtained by blending #1854ff with #00000f. Closest websafe color is: #003399.

    • R 5
    • G 16
    • B 53
    RGB color chart
    • C 91
    • M 69
    • Y 0
    • K 47
    CMYK color chart

#0c2a87 color description : Dark blue.

#0c2a87 Color Conversion

The hexadecimal color #0c2a87 has RGB values of R:12, G:42, B:135 and CMYK values of C:0.91, M:0.69, Y:0, K:0.47. Its decimal value is 797319.

Hex triplet 0c2a87 #0c2a87
RGB Decimal 12, 42, 135 rgb(12,42,135)
RGB Percent 4.7, 16.5, 52.9 rgb(4.7%,16.5%,52.9%)
CMYK 91, 69, 0, 47
HSL 225.4°, 83.7, 28.8 hsl(225.4,83.7%,28.8%)
HSV (or HSB) 225.4°, 91.1, 52.9
Web Safe 003399 #003399
CIE-LAB 21.883, 28.355, -54.33
XYZ 5.352, 3.483, 23.311
xyY 0.166, 0.108, 3.483
CIE-LCH 21.883, 61.284, 297.56
CIE-LUV 21.883, -8.527, -63.305
Hunter-Lab 18.663, 18.529, -60.992
Binary 00001100, 00101010, 10000111

Color Schemes with #0c2a87

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

Alternatives to #0c2a87

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

Similar Colors

#0c2a87 Preview

Text with hexadecimal color #0c2a87

This text has a font color of #0c2a87.

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

This paragraph has a background color of #0c2a87.

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

This element has a border color of #0c2a87.

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

Shades and Tints of #0c2a87

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a87 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
  • #262c3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004067 Deuteranopia 1% of men
  • #004548 Tritanopia 0.001% of the population
Trichromacy
  • #04367c Protanomaly 1% of men, 0.01% of women
  • #043872 Deuteranomaly 6% of men, 0.4% of women
  • #043b5f Tritanomaly 0.01% of the population