#042040 Color Information

In a RGB color space, hex #042040 is composed of 1.6% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 212 degrees, a saturation of 88.2% and a lightness of 13.3%. #042040 color hex could be obtained by blending #084080 with #000000. Closest websafe color is: #003333.

    • R 2
    • G 13
    • B 25
    RGB color chart
    • C 94
    • M 50
    • Y 0
    • K 75
    CMYK color chart

#042040 color description : Very dark blue.

#042040 Color Conversion

The hexadecimal color #042040 has RGB values of R:4, G:32, B:64 and CMYK values of C:0.94, M:0.5, Y:0, K:0.75. Its decimal value is 270400.

Hex triplet 042040 #042040
RGB Decimal 4, 32, 64 rgb(4,32,64)
RGB Percent 1.6, 12.5, 25.1 rgb(1.6%,12.5%,25.1%)
CMYK 94, 50, 0, 75
HSL 212°, 88.2, 13.3 hsl(212,88.2%,13.3%)
HSV (or HSB) 212°, 93.8, 25.1
Web Safe 003333 #003333
CIE-LAB 12.149, 3.857, -23.313
XYZ 1.492, 1.429, 5.047
xyY 0.187, 0.179, 1.429
CIE-LCH 12.149, 23.63, 279.394
CIE-LUV 12.149, -6.489, -20.612
Hunter-Lab 11.954, 1.358, -16.668
Binary 00000100, 00100000, 01000000

Color Schemes with #042040

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

Alternatives to #042040

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

Similar Colors

#042040 Preview

Text with hexadecimal color #042040

This text has a font color of #042040.

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

This paragraph has a background color of #042040.

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

This element has a border color of #042040.

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

Shades and Tints of #042040

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

Shade Color Variation
Tint Color Variation

Tones of #042040

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #042040 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
  • #1b1b1b Achromatopsia 0.005% of the population
  • #161c22 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1b2a48 Protanopia 1% of men
  • #002c49 Deuteranopia 1% of men
  • #002f32 Tritanopia 0.001% of the population
Trichromacy
  • #132645 Protanomaly 1% of men, 0.01% of women
  • #012746 Deuteranomaly 6% of men, 0.4% of women
  • #012937 Tritanomaly 0.01% of the population