#040042 Color Information

In a RGB color space, hex #040042 is composed of 1.6% red, 0% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 100% magenta, 0% yellow and 74.1% black. It has a hue angle of 243.6 degrees, a saturation of 100% and a lightness of 12.9%. #040042 color hex could be obtained by blending #080084 with #000000. Closest websafe color is: #000033.

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

#040042 color description : Very dark blue.

#040042 Color Conversion

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

Hex triplet 040042 #040042
RGB Decimal 4, 0, 66 rgb(4,0,66)
RGB Percent 1.6, 0, 25.9 rgb(1.6%,0%,25.9%)
CMYK 94, 100, 0, 74
HSL 243.6°, 100, 12.9 hsl(243.6,100%,12.9%)
HSV (or HSB) 243.6°, 100, 25.9
Web Safe 000033 #000033
CIE-LAB 3.786, 25.48, -38.358
XYZ 1.033, 0.419, 5.18
xyY 0.156, 0.063, 0.419
CIE-LCH 3.786, 46.049, 303.594
CIE-LUV 3.786, -0.839, -14.928
Hunter-Lab 6.474, 17.161, -42.914
Binary 00000100, 00000000, 01000010

Color Schemes with #040042

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

Alternatives to #040042

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

Similar Colors

#040042 Preview

Text with hexadecimal color #040042

This text has a font color of #040042.

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

This paragraph has a background color of #040042.

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

This element has a border color of #040042.

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

Shades and Tints of #040042

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

Shade Color Variation
Tint Color Variation

Tones of #040042

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040042 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
  • #090909 Achromatopsia 0.005% of the population
  • #080714 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001931 Protanopia 1% of men
  • #001a2a Deuteranopia 1% of men
  • #001c1d Tritanopia 0.001% of the population
Trichromacy
  • #011037 Protanomaly 1% of men, 0.01% of women
  • #011132 Deuteranomaly 6% of men, 0.4% of women
  • #01122a Tritanomaly 0.01% of the population