#0c40af Color Information

In a RGB color space, hex #0c40af is composed of 4.7% red, 25.1% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 93.1% cyan, 63.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 220.9 degrees, a saturation of 87.2% and a lightness of 36.7%. #0c40af color hex could be obtained by blending #1880ff with #00005f. Closest websafe color is: #003399.

    • R 5
    • G 25
    • B 69
    RGB color chart
    • C 93
    • M 63
    • Y 0
    • K 31
    CMYK color chart

#0c40af color description : Dark blue.

#0c40af Color Conversion

The hexadecimal color #0c40af has RGB values of R:12, G:64, B:175 and CMYK values of C:0.93, M:0.63, Y:0, K:0.31. Its decimal value is 802991.

Hex triplet 0c40af #0c40af
RGB Decimal 12, 64, 175 rgb(12,64,175)
RGB Percent 4.7, 25.1, 68.6 rgb(4.7%,25.1%,68.6%)
CMYK 93, 63, 0, 31
HSL 220.9°, 87.2, 36.7 hsl(220.9,87.2%,36.7%)
HSV (or HSB) 220.9°, 93.1, 68.6
Web Safe 003399 #003399
CIE-LAB 31.438, 29.354, -63.058
XYZ 9.721, 6.839, 41.363
xyY 0.168, 0.118, 6.839
CIE-LCH 31.438, 69.556, 294.962
CIE-LUV 31.438, -13.631, -84.991
Hunter-Lab 26.152, 20.586, -75.468
Binary 00001100, 01000000, 10101111

Color Schemes with #0c40af

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

Alternatives to #0c40af

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

Similar Colors

#0c40af Preview

Text with hexadecimal color #0c40af

This text has a font color of #0c40af.

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

This paragraph has a background color of #0c40af.

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

This element has a border color of #0c40af.

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

Shades and Tints of #0c40af

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

Shade Color Variation
Tint Color Variation

Tones of #0c40af

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c40af 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #333e54 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005589 Deuteranopia 1% of men
  • #005b60 Tritanopia 0.001% of the population
Trichromacy
  • #044aa4 Protanomaly 1% of men, 0.01% of women
  • #044d97 Deuteranomaly 6% of men, 0.4% of women
  • #04517c Tritanomaly 0.01% of the population