#0c2a7c Color Information

In a RGB color space, hex #0c2a7c is composed of 4.7% red, 16.5% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 90.3% cyan, 66.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 223.9 degrees, a saturation of 82.4% and a lightness of 26.7%. #0c2a7c color hex could be obtained by blending #1854f8 with #000000. Closest websafe color is: #003366.

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

#0c2a7c color description : Dark blue.

#0c2a7c Color Conversion

The hexadecimal color #0c2a7c has RGB values of R:12, G:42, B:124 and CMYK values of C:0.9, M:0.66, Y:0, K:0.51. Its decimal value is 797308.

Hex triplet 0c2a7c #0c2a7c
RGB Decimal 12, 42, 124 rgb(12,42,124)
RGB Percent 4.7, 16.5, 48.6 rgb(4.7%,16.5%,48.6%)
CMYK 90, 66, 0, 51
HSL 223.9°, 82.4, 26.7 hsl(223.9,82.4%,26.7%)
HSV (or HSB) 223.9°, 90.3, 48.6
Web Safe 003366 #003366
CIE-LAB 20.785, 23.877, -49.195
XYZ 4.617, 3.189, 19.44
xyY 0.169, 0.117, 3.189
CIE-LCH 20.785, 54.683, 295.89
CIE-LUV 20.785, -8.409, -56.538
Hunter-Lab 17.858, 14.898, -52.043
Binary 00001100, 00101010, 01111100

Color Schemes with #0c2a7c

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

Alternatives to #0c2a7c

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

Similar Colors

#0c2a7c Preview

Text with hexadecimal color #0c2a7c

This text has a font color of #0c2a7c.

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

This paragraph has a background color of #0c2a7c.

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

This element has a border color of #0c2a7c.

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

Shades and Tints of #0c2a7c

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a7c 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #242a3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004246 Tritanopia 0.001% of the population
Trichromacy
  • #043476 Protanomaly 1% of men, 0.01% of women
  • #04366c Deuteranomaly 6% of men, 0.4% of women
  • #043959 Tritanomaly 0.01% of the population