#0c42ab Color Information

In a RGB color space, hex #0c42ab is composed of 4.7% red, 25.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 61.4% magenta, 0% yellow and 32.9% black. It has a hue angle of 219.6 degrees, a saturation of 86.9% and a lightness of 35.9%. #0c42ab color hex could be obtained by blending #1884ff with #000057. Closest websafe color is: #003399.

    • R 5
    • G 26
    • B 67
    RGB color chart
    • C 93
    • M 61
    • Y 0
    • K 33
    CMYK color chart

#0c42ab color description : Dark blue.

#0c42ab Color Conversion

The hexadecimal color #0c42ab has RGB values of R:12, G:66, B:171 and CMYK values of C:0.93, M:0.61, Y:0, K:0.33. Its decimal value is 803499.

Hex triplet 0c42ab #0c42ab
RGB Decimal 12, 66, 171 rgb(12,66,171)
RGB Percent 4.7, 25.9, 67.1 rgb(4.7%,25.9%,67.1%)
CMYK 93, 61, 0, 33
HSL 219.6°, 86.9, 35.9 hsl(219.6,86.9%,35.9%)
HSV (or HSB) 219.6°, 93, 67.1
Web Safe 003399 #003399
CIE-LAB 31.61, 26.407, -60.387
XYZ 9.449, 6.914, 39.362
xyY 0.17, 0.124, 6.914
CIE-LCH 31.61, 65.909, 293.62
CIE-LUV 31.61, -14.135, -81.877
Hunter-Lab 26.295, 18.128, -70.349
Binary 00001100, 01000010, 10101011

Color Schemes with #0c42ab

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

Alternatives to #0c42ab

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

Similar Colors

#0c42ab Preview

Text with hexadecimal color #0c42ab

This text has a font color of #0c42ab.

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

This paragraph has a background color of #0c42ab.

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

This element has a border color of #0c42ab.

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

Shades and Tints of #0c42ab

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

Shade Color Variation
Tint Color Variation

Tones of #0c42ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c42ab 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
  • #343f54 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519e Protanopia 1% of men
  • #00558a Deuteranopia 1% of men
  • #005c60 Tritanopia 0.001% of the population
Trichromacy
  • #044ba3 Protanomaly 1% of men, 0.01% of women
  • #044e96 Deuteranomaly 6% of men, 0.4% of women
  • #04527b Tritanomaly 0.01% of the population