#0c42af Color Information

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

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

#0c42af color description : Dark blue.

#0c42af Color Conversion

The hexadecimal color #0c42af has RGB values of R:12, G:66, B:175 and CMYK values of C:0.93, M:0.62, Y:0, K:0.31. Its decimal value is 803503.

Hex triplet 0c42af #0c42af
RGB Decimal 12, 66, 175 rgb(12,66,175)
RGB Percent 4.7, 25.9, 68.6 rgb(4.7%,25.9%,68.6%)
CMYK 93, 62, 0, 31
HSL 220.1°, 87.2, 36.7 hsl(220.1,87.2%,36.7%)
HSV (or HSB) 220.1°, 93.1, 68.6
Web Safe 003399 #003399
CIE-LAB 31.963, 28.007, -62.198
XYZ 9.836, 7.069, 41.401
xyY 0.169, 0.121, 7.069
CIE-LCH 31.963, 68.213, 294.242
CIE-LUV 31.963, -14.109, -84.489
Hunter-Lab 26.587, 19.508, -73.713
Binary 00001100, 01000010, 10101111

Color Schemes with #0c42af

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

Alternatives to #0c42af

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

Similar Colors

#0c42af Preview

Text with hexadecimal color #0c42af

This text has a font color of #0c42af.

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

This paragraph has a background color of #0c42af.

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

This element has a border color of #0c42af.

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

Shades and Tints of #0c42af

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 #0c42af

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c42af 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #343f55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0052a0 Protanopia 1% of men
  • #00568b Deuteranopia 1% of men
  • #005c61 Tritanopia 0.001% of the population
Trichromacy
  • #044ca5 Protanomaly 1% of men, 0.01% of women
  • #044f98 Deuteranomaly 6% of men, 0.4% of women
  • #04537d Tritanomaly 0.01% of the population