#0042a2 Color Information

In a RGB color space, hex #0042a2 is composed of 0% red, 25.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 59.3% magenta, 0% yellow and 36.5% black. It has a hue angle of 215.6 degrees, a saturation of 100% and a lightness of 31.8%. #0042a2 color hex could be obtained by blending #0084ff with #000045. Closest websafe color is: #003399.

    • R 0
    • G 26
    • B 64
    RGB color chart
    • C 100
    • M 59
    • Y 0
    • K 36
    CMYK color chart

#0042a2 color description : Dark blue.

#0042a2 Color Conversion

The hexadecimal color #0042a2 has RGB values of R:0, G:66, B:162 and CMYK values of C:1, M:0.59, Y:0, K:0.36. Its decimal value is 17058.

Hex triplet 0042a2 #0042a2
RGB Decimal 0, 66, 162 rgb(0,66,162)
RGB Percent 0, 25.9, 63.5 rgb(0%,25.9%,63.5%)
CMYK 100, 59, 0, 36
HSL 215.6°, 100, 31.8 hsl(215.6,100%,31.8%)
HSV (or HSB) 215.6°, 100, 63.5
Web Safe 003399 #003399
CIE-LAB 30.651, 22.237, -56.558
XYZ 8.468, 6.504, 34.99
xyY 0.169, 0.13, 6.504
CIE-LCH 30.651, 60.772, 291.464
CIE-LUV 30.651, -14.864, -76.067
Hunter-Lab 25.504, 14.639, -63.49
Binary 00000000, 01000010, 10100010

Color Schemes with #0042a2

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

Alternatives to #0042a2

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

Similar Colors

#0042a2 Preview

Text with hexadecimal color #0042a2

This text has a font color of #0042a2.

<span style="color:#0042a2;">Text here</span>
#0042a2 background color

This paragraph has a background color of #0042a2.

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

This element has a border color of #0042a2.

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

Shades and Tints of #0042a2

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

Shade Color Variation
Tint Color Variation

Tones of #0042a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0042a2 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
  • #393939 Achromatopsia 0.005% of the population
  • #2e3b4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005387 Deuteranopia 1% of men
  • #00595e Tritanopia 0.001% of the population
Trichromacy
  • #004a9d Protanomaly 1% of men, 0.01% of women
  • #004d90 Deuteranomaly 6% of men, 0.4% of women
  • #005176 Tritanomaly 0.01% of the population