#0c2a9a Color Information

In a RGB color space, hex #0c2a9a is composed of 4.7% red, 16.5% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 92.2% cyan, 72.7% magenta, 0% yellow and 39.6% black. It has a hue angle of 227.3 degrees, a saturation of 85.5% and a lightness of 32.5%. #0c2a9a color hex could be obtained by blending #1854ff with #000035. Closest websafe color is: #003399.

    • R 5
    • G 16
    • B 60
    RGB color chart
    • C 92
    • M 73
    • Y 0
    • K 40
    CMYK color chart

#0c2a9a color description : Dark blue.

#0c2a9a Color Conversion

The hexadecimal color #0c2a9a has RGB values of R:12, G:42, B:154 and CMYK values of C:0.92, M:0.73, Y:0, K:0.4. Its decimal value is 797338.

Hex triplet 0c2a9a #0c2a9a
RGB Decimal 12, 42, 154 rgb(12,42,154)
RGB Percent 4.7, 16.5, 60.4 rgb(4.7%,16.5%,60.4%)
CMYK 92, 73, 0, 40
HSL 227.3°, 85.5, 32.5 hsl(227.3,85.5%,32.5%)
HSV (or HSB) 227.3°, 92.2, 60.4
Web Safe 003399 #003399
CIE-LAB 23.891, 35.739, -62.79
XYZ 6.811, 4.067, 30.996
xyY 0.163, 0.097, 4.067
CIE-LCH 23.891, 72.248, 299.648
CIE-LUV 23.891, -8.823, -74.763
Hunter-Lab 20.166, 24.999, -77.016
Binary 00001100, 00101010, 10011010

Color Schemes with #0c2a9a

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

Alternatives to #0c2a9a

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

Similar Colors

#0c2a9a Preview

Text with hexadecimal color #0c2a9a

This text has a font color of #0c2a9a.

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

This paragraph has a background color of #0c2a9a.

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

This element has a border color of #0c2a9a.

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

Shades and Tints of #0c2a9a

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a9a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a9a 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #272d44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417e Protanopia 1% of men
  • #00456d Deuteranopia 1% of men
  • #00494d Tritanopia 0.001% of the population
Trichromacy
  • #043888 Protanomaly 1% of men, 0.01% of women
  • #043b7d Deuteranomaly 6% of men, 0.4% of women
  • #043e69 Tritanomaly 0.01% of the population