#0c2a5c Color Information

In a RGB color space, hex #0c2a5c is composed of 4.7% red, 16.5% green and 36.1% blue. Whereas in a CMYK color space, it is composed of 87% cyan, 54.3% magenta, 0% yellow and 63.9% black. It has a hue angle of 217.5 degrees, a saturation of 76.9% and a lightness of 20.4%. #0c2a5c color hex could be obtained by blending #1854b8 with #000000. Closest websafe color is: #003366.

    • R 5
    • G 16
    • B 36
    RGB color chart
    • C 87
    • M 54
    • Y 0
    • K 64
    CMYK color chart

#0c2a5c color description : Very dark blue.

#0c2a5c Color Conversion

The hexadecimal color #0c2a5c has RGB values of R:12, G:42, B:92 and CMYK values of C:0.87, M:0.54, Y:0, K:0.64. Its decimal value is 797276.

Hex triplet 0c2a5c #0c2a5c
RGB Decimal 12, 42, 92 rgb(12,42,92)
RGB Percent 4.7, 16.5, 36.1 rgb(4.7%,16.5%,36.1%)
CMYK 87, 54, 0, 64
HSL 217.5°, 76.9, 20.4 hsl(217.5,76.9%,20.4%)
HSV (or HSB) 217.5°, 87, 36.1
Web Safe 003366 #003366
CIE-LAB 17.948, 10.106, -33.052
XYZ 2.911, 2.507, 10.455
xyY 0.183, 0.158, 2.507
CIE-LCH 17.948, 34.563, 287.002
CIE-LUV 17.948, -8.362, -36.042
Hunter-Lab 15.832, 5.113, -28.071
Binary 00001100, 00101010, 01011100

Color Schemes with #0c2a5c

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

Alternatives to #0c2a5c

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

Similar Colors

#0c2a5c Preview

Text with hexadecimal color #0c2a5c

This text has a font color of #0c2a5c.

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

This paragraph has a background color of #0c2a5c.

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

This element has a border color of #0c2a5c.

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

Shades and Tints of #0c2a5c

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a5c

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

Tone Color Variation

Color Blindness Simulator

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

  • #272727 Achromatopsia 0.005% of the population
  • #222832 Atypical Achromatopsia 0.001% of the population
  • #153564 Protanopia 1% of men
  • #00385c Deuteranopia 1% of men
  • #003c3f Tritanopia 0.001% of the population
  • #123161 Protanomaly 1% of men, 0.01% of women
  • #04325c Deuteranomaly 6% of men, 0.4% of women
  • #04354a Tritanomaly 0.01% of the population