#0042ab Color Information

In a RGB color space, hex #0042ab is composed of 0% red, 25.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 61.4% magenta, 0% yellow and 32.9% black. It has a hue angle of 216.8 degrees, a saturation of 100% and a lightness of 33.5%. #0042ab color hex could be obtained by blending #0084ff with #000057. Closest websafe color is: #003399.

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

#0042ab color description : Dark blue.

#0042ab Color Conversion

The hexadecimal color #0042ab has RGB values of R:0, G:66, B:171 and CMYK values of C:1, M:0.61, Y:0, K:0.33. Its decimal value is 17067.

Hex triplet 0042ab #0042ab
RGB Decimal 0, 66, 171 rgb(0,66,171)
RGB Percent 0, 25.9, 67.1 rgb(0%,25.9%,67.1%)
CMYK 100, 61, 0, 33
HSL 216.8°, 100, 33.5 hsl(216.8,100%,33.5%)
HSV (or HSB) 216.8°, 100, 67.1
Web Safe 003399 #003399
CIE-LAB 31.43, 25.938, -60.689
XYZ 9.297, 6.836, 39.355
xyY 0.168, 0.123, 6.836
CIE-LCH 31.43, 66, 293.141
CIE-LUV 31.43, -14.741, -82.017
Hunter-Lab 26.146, 17.72, -70.944
Binary 00000000, 01000010, 10101011

Color Schemes with #0042ab

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

Alternatives to #0042ab

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

Similar Colors

#0042ab Preview

Text with hexadecimal color #0042ab

This text has a font color of #0042ab.

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

This paragraph has a background color of #0042ab.

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

This element has a border color of #0042ab.

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

Shades and Tints of #0042ab

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, #00050e is the darkest color, while #f9fcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0042ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0042ab 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
  • #2e3c51 Atypical Achromatopsia 0.001% of the population
  • #00509e Protanopia 1% of men
  • #005589 Deuteranopia 1% of men
  • #005b60 Tritanopia 0.001% of the population
  • #004ba2 Protanomaly 1% of men, 0.01% of women
  • #004e95 Deuteranomaly 6% of men, 0.4% of women
  • #00527b Tritanomaly 0.01% of the population