#040142 Color Information

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

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

#040142 color description : Very dark blue.

#040142 Color Conversion

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

Hex triplet 040142 #040142
RGB Decimal 4, 1, 66 rgb(4,1,66)
RGB Percent 1.6, 0.4, 25.9 rgb(1.6%,0.4%,25.9%)
CMYK 94, 98, 0, 74
HSL 242.8°, 97, 13.1 hsl(242.8,97%,13.1%)
HSV (or HSB) 242.8°, 98.5, 25.9
Web Safe 000033 #000033
CIE-LAB 3.982, 25.021, -38.037
XYZ 1.044, 0.441, 5.184
xyY 0.157, 0.066, 0.441
CIE-LCH 3.982, 45.528, 303.337
CIE-LUV 3.982, -0.926, -15.394
Hunter-Lab 6.639, 16.453, -41.647
Binary 00000100, 00000001, 01000010

Color Schemes with #040142

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

Alternatives to #040142

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

Similar Colors

#040142 Preview

Text with hexadecimal color #040142

This text has a font color of #040142.

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

This paragraph has a background color of #040142.

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

This element has a border color of #040142.

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

Shades and Tints of #040142

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

Shade Color Variation
Tint Color Variation

Tones of #040142

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040142 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
  • #001932 Protanopia 1% of men
  • #001b2b Deuteranopia 1% of men
  • #001d1e Tritanopia 0.001% of the population
Trichromacy
  • #011037 Protanomaly 1% of men, 0.01% of women
  • #011133 Deuteranomaly 6% of men, 0.4% of women
  • #01122b Tritanomaly 0.01% of the population