#0042af Color Information

In a RGB color space, hex #0042af is composed of 0% red, 25.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 62.3% magenta, 0% yellow and 31.4% black. It has a hue angle of 217.4 degrees, a saturation of 100% and a lightness of 34.3%. #0042af color hex could be obtained by blending #0084ff with #00005f. Closest websafe color is: #003399.

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

#0042af color description : Dark blue.

#0042af Color Conversion

The hexadecimal color #0042af has RGB values of R:0, G:66, B:175 and CMYK values of C:1, M:0.62, Y:0, K:0.31. Its decimal value is 17071.

Hex triplet 0042af #0042af
RGB Decimal 0, 66, 175 rgb(0,66,175)
RGB Percent 0, 25.9, 68.6 rgb(0%,25.9%,68.6%)
CMYK 100, 62, 0, 31
HSL 217.4°, 100, 34.3 hsl(217.4,100%,34.3%)
HSV (or HSB) 217.4°, 100, 68.6
Web Safe 003399 #003399
CIE-LAB 31.786, 27.56, -62.495
XYZ 9.684, 6.991, 41.394
xyY 0.167, 0.12, 6.991
CIE-LCH 31.786, 68.302, 293.797
CIE-LUV 31.786, -14.699, -84.621
Hunter-Lab 26.44, 19.111, -74.315
Binary 00000000, 01000010, 10101111

Color Schemes with #0042af

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

Alternatives to #0042af

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

Similar Colors

#0042af Preview

Text with hexadecimal color #0042af

This text has a font color of #0042af.

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

This paragraph has a background color of #0042af.

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

This element has a border color of #0042af.

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

Shades and Tints of #0042af

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

Shade Color Variation
Tint Color Variation

Tones of #0042af

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

Tone Color Variation

Color Blindness Simulator

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

  • #3b3b3b Achromatopsia 0.005% of the population
  • #2f3c52 Atypical Achromatopsia 0.001% of the population
  • #00519f Protanopia 1% of men
  • #00568a Deuteranopia 1% of men
  • #005c61 Tritanopia 0.001% of the population
  • #004ba5 Protanomaly 1% of men, 0.01% of women
  • #004e97 Deuteranomaly 6% of men, 0.4% of women
  • #00527d Tritanomaly 0.01% of the population