#0c2a8b Color Information

In a RGB color space, hex #0c2a8b is composed of 4.7% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 225.8 degrees, a saturation of 84.1% and a lightness of 29.6%. #0c2a8b color hex could be obtained by blending #1854ff with #000017. Closest websafe color is: #003399.

    • R 5
    • G 16
    • B 55
    RGB color chart
    • C 91
    • M 70
    • Y 0
    • K 45
    CMYK color chart

#0c2a8b color description : Dark blue.

#0c2a8b Color Conversion

The hexadecimal color #0c2a8b has RGB values of R:12, G:42, B:139 and CMYK values of C:0.91, M:0.7, Y:0, K:0.45. Its decimal value is 797323.

Hex triplet 0c2a8b #0c2a8b
RGB Decimal 12, 42, 139 rgb(12,42,139)
RGB Percent 4.7, 16.5, 54.5 rgb(4.7%,16.5%,54.5%)
CMYK 91, 70, 0, 45
HSL 225.8°, 84.1, 29.6 hsl(225.8,84.1%,29.6%)
HSV (or HSB) 225.8°, 91.4, 54.5
Web Safe 003399 #003399
CIE-LAB 22.294, 29.947, -56.152
XYZ 5.639, 3.598, 24.822
xyY 0.166, 0.106, 3.598
CIE-LCH 22.294, 63.639, 298.072
CIE-LUV 22.294, -8.58, -65.74
Hunter-Lab 18.968, 19.872, -64.312
Binary 00001100, 00101010, 10001011

Color Schemes with #0c2a8b

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

Alternatives to #0c2a8b

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

Similar Colors

#0c2a8b Preview

Text with hexadecimal color #0c2a8b

This text has a font color of #0c2a8b.

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

This paragraph has a background color of #0c2a8b.

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

This element has a border color of #0c2a8b.

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

Shades and Tints of #0c2a8b

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, #01040d is the darkest color, while #fafbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c2a8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a8b 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
  • #262c3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d78 Protanopia 1% of men
  • #004168 Deuteranopia 1% of men
  • #004649 Tritanopia 0.001% of the population
Trichromacy
  • #04367f Protanomaly 1% of men, 0.01% of women
  • #043875 Deuteranomaly 6% of men, 0.4% of women
  • #043b61 Tritanomaly 0.01% of the population