#0c40a2 Color Information

In a RGB color space, hex #0c40a2 is composed of 4.7% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 92.6% cyan, 60.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 219.2 degrees, a saturation of 86.2% and a lightness of 34.1%. #0c40a2 color hex could be obtained by blending #1880ff with #000045. Closest websafe color is: #003399.

    • R 5
    • G 25
    • B 64
    RGB color chart
    • C 93
    • M 60
    • Y 0
    • K 36
    CMYK color chart

#0c40a2 color description : Dark blue.

#0c40a2 Color Conversion

The hexadecimal color #0c40a2 has RGB values of R:12, G:64, B:162 and CMYK values of C:0.93, M:0.6, Y:0, K:0.36. Its decimal value is 802978.

Hex triplet 0c40a2 #0c40a2
RGB Decimal 12, 64, 162 rgb(12,64,162)
RGB Percent 4.7, 25.1, 63.5 rgb(4.7%,25.1%,63.5%)
CMYK 93, 60, 0, 36
HSL 219.2°, 86.2, 34.1 hsl(219.2,86.2%,34.1%)
HSV (or HSB) 219.2°, 92.6, 63.5
Web Safe 003399 #003399
CIE-LAB 30.286, 24.133, -57.146
XYZ 8.505, 6.353, 34.958
xyY 0.171, 0.128, 6.353
CIE-LCH 30.286, 62.033, 292.895
CIE-LUV 30.286, -13.704, -76.515
Hunter-Lab 25.205, 16.125, -64.59
Binary 00001100, 01000000, 10100010

Color Schemes with #0c40a2

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

Alternatives to #0c40a2

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

Similar Colors

#0c40a2 Preview

Text with hexadecimal color #0c40a2

This text has a font color of #0c40a2.

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

This paragraph has a background color of #0c40a2.

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

This element has a border color of #0c40a2.

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

Shades and Tints of #0c40a2

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

Shade Color Variation
Tint Color Variation

Tones of #0c40a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c40a2 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #323d50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e99 Protanopia 1% of men
  • #005285 Deuteranopia 1% of men
  • #00585d Tritanopia 0.001% of the population
Trichromacy
  • #04499c Protanomaly 1% of men, 0.01% of women
  • #044c8f Deuteranomaly 6% of men, 0.4% of women
  • #044f76 Tritanomaly 0.01% of the population