#042042 Color Information

In a RGB color space, hex #042042 is composed of 1.6% red, 12.5% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 51.5% magenta, 0% yellow and 74.1% black. It has a hue angle of 212.9 degrees, a saturation of 88.6% and a lightness of 13.7%. #042042 color hex could be obtained by blending #084084 with #000000. Closest websafe color is: #003333.

    • R 2
    • G 13
    • B 26
    RGB color chart
    • C 94
    • M 52
    • Y 0
    • K 74
    CMYK color chart

#042042 color description : Very dark blue.

#042042 Color Conversion

The hexadecimal color #042042 has RGB values of R:4, G:32, B:66 and CMYK values of C:0.94, M:0.52, Y:0, K:0.74. Its decimal value is 270402.

Hex triplet 042042 #042042
RGB Decimal 4, 32, 66 rgb(4,32,66)
RGB Percent 1.6, 12.5, 25.9 rgb(1.6%,12.5%,25.9%)
CMYK 94, 52, 0, 74
HSL 212.9°, 88.6, 13.7 hsl(212.9,88.6%,13.7%)
HSV (or HSB) 212.9°, 93.9, 25.9
Web Safe 003333 #003333
CIE-LAB 12.3, 4.805, -24.472
XYZ 1.55, 1.452, 5.353
xyY 0.185, 0.174, 1.452
CIE-LCH 12.3, 24.939, 281.108
CIE-LUV 12.3, -6.469, -21.834
Hunter-Lab 12.05, 1.869, -17.901
Binary 00000100, 00100000, 01000010

Color Schemes with #042042

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

Alternatives to #042042

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

Similar Colors

#042042 Preview

Text with hexadecimal color #042042

This text has a font color of #042042.

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

This paragraph has a background color of #042042.

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

This element has a border color of #042042.

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

Shades and Tints of #042042

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, #01050b is the darkest color, while #f7faff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #042042

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #042042 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171d24 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1a2a4b Protanopia 1% of men
  • #002c49 Deuteranopia 1% of men
  • #003032 Tritanopia 0.001% of the population
Trichromacy
  • #122647 Protanomaly 1% of men, 0.01% of women
  • #012747 Deuteranomaly 6% of men, 0.4% of women
  • #012a38 Tritanomaly 0.01% of the population