#0042a5 Color Information

In a RGB color space, hex #0042a5 is composed of 0% red, 25.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 60% magenta, 0% yellow and 35.3% black. It has a hue angle of 216 degrees, a saturation of 100% and a lightness of 32.4%. #0042a5 color hex could be obtained by blending #0084ff with #00004b. Closest websafe color is: #003399.

    • R 0
    • G 26
    • B 65
    RGB color chart
    • C 100
    • M 60
    • Y 0
    • K 35
    CMYK color chart

#0042a5 color description : Dark blue.

#0042a5 Color Conversion

The hexadecimal color #0042a5 has RGB values of R:0, G:66, B:165 and CMYK values of C:1, M:0.6, Y:0, K:0.35. Its decimal value is 17061.

Hex triplet 0042a5 #0042a5
RGB Decimal 0, 66, 165 rgb(0,66,165)
RGB Percent 0, 25.9, 64.7 rgb(0%,25.9%,64.7%)
CMYK 100, 60, 0, 35
HSL 216°, 100, 32.4 hsl(216,100%,32.4%)
HSV (or HSB) 216°, 100, 64.7
Web Safe 003399 #003399
CIE-LAB 30.907, 23.479, -57.946
XYZ 8.738, 6.612, 36.411
xyY 0.169, 0.128, 6.612
CIE-LCH 30.907, 62.522, 292.057
CIE-LUV 30.907, -14.819, -78.065
Hunter-Lab 25.714, 15.658, -65.953
Binary 00000000, 01000010, 10100101

Color Schemes with #0042a5

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

Alternatives to #0042a5

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

Similar Colors

#0042a5 Preview

Text with hexadecimal color #0042a5

This text has a font color of #0042a5.

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

This paragraph has a background color of #0042a5.

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

This element has a border color of #0042a5.

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

Shades and Tints of #0042a5

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

Shade Color Variation
Tint Color Variation

Tones of #0042a5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0042a5 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.

  • #3a3a3a Achromatopsia 0.005% of the population
  • #2e3c4f Atypical Achromatopsia 0.001% of the population
  • #004f9b Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #005a5e Tritanopia 0.001% of the population
  • #004a9f Protanomaly 1% of men, 0.01% of women
  • #004d92 Deuteranomaly 6% of men, 0.4% of women
  • #005178 Tritanomaly 0.01% of the population