#042a87 Color Information

In a RGB color space, hex #042a87 is composed of 1.6% red, 16.5% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 68.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 222.6 degrees, a saturation of 94.2% and a lightness of 27.3%. #042a87 color hex could be obtained by blending #0854ff with #00000f. Closest websafe color is: #003399.

    • R 2
    • G 16
    • B 53
    RGB color chart
    • C 97
    • M 69
    • Y 0
    • K 47
    CMYK color chart

#042a87 color description : Dark blue.

#042a87 Color Conversion

The hexadecimal color #042a87 has RGB values of R:4, G:42, B:135 and CMYK values of C:0.97, M:0.69, Y:0, K:0.47. Its decimal value is 273031.

Hex triplet 042a87 #042a87
RGB Decimal 4, 42, 135 rgb(4,42,135)
RGB Percent 1.6, 16.5, 52.9 rgb(1.6%,16.5%,52.9%)
CMYK 97, 69, 0, 47
HSL 222.6°, 94.2, 27.3 hsl(222.6,94.2%,27.3%)
HSV (or HSB) 222.6°, 97, 52.9
Web Safe 003399 #003399
CIE-LAB 21.692, 27.958, -54.651
XYZ 5.25, 3.431, 23.306
xyY 0.164, 0.107, 3.431
CIE-LCH 21.692, 61.387, 297.093
CIE-LUV 21.692, -9.02, -63.31
Hunter-Lab 18.522, 18.185, -61.639
Binary 00000100, 00101010, 10000111

Color Schemes with #042a87

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

Alternatives to #042a87

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

Similar Colors

#042a87 Preview

Text with hexadecimal color #042a87

This text has a font color of #042a87.

<span style="color:#042a87;">Text here</span>
#042a87 background color

This paragraph has a background color of #042a87.

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

This element has a border color of #042a87.

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

Shades and Tints of #042a87

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

Shade Color Variation
Tint Color Variation

Tones of #042a87

A tone is produced by adding gray to any pure hue. In this case, #444547 is the less saturated color, while #042a87 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #292929 Achromatopsia 0.005% of the population
  • #22293c Atypical Achromatopsia 0.001% of the population
  • #003c76 Protanopia 1% of men
  • #004066 Deuteranopia 1% of men
  • #004448 Tritanopia 0.001% of the population
  • #01357c Protanomaly 1% of men, 0.01% of women
  • #013872 Deuteranomaly 6% of men, 0.4% of women
  • #013b5e Tritanomaly 0.01% of the population