#040842 Color Information

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

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

#040842 color description : Very dark blue.

#040842 Color Conversion

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

Hex triplet 040842 #040842
RGB Decimal 4, 8, 66 rgb(4,8,66)
RGB Percent 1.6, 3.1, 25.9 rgb(1.6%,3.1%,25.9%)
CMYK 94, 88, 0, 74
HSL 236.1°, 88.6, 13.7 hsl(236.1,88.6%,13.7%)
HSV (or HSB) 236.1°, 93.9, 25.9
Web Safe 000033 #000033
CIE-LAB 5.354, 21.738, -35.788
XYZ 1.12, 0.593, 5.209
xyY 0.162, 0.086, 0.593
CIE-LCH 5.354, 41.873, 301.275
CIE-LUV 5.354, -1.608, -18.116
Hunter-Lab 7.699, 12.496, -34.728
Binary 00000100, 00001000, 01000010

Color Schemes with #040842

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

Alternatives to #040842

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

Similar Colors

#040842 Preview

Text with hexadecimal color #040842

This text has a font color of #040842.

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

This paragraph has a background color of #040842.

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

This element has a border color of #040842.

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

Shades and Tints of #040842

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

Shade Color Variation
Tint Color Variation

Tones of #040842

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040842 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
  • #0d0d0d Achromatopsia 0.005% of the population
  • #0b0c18 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001d38 Protanopia 1% of men
  • #001e31 Deuteranopia 1% of men
  • #002122 Tritanopia 0.001% of the population
Trichromacy
  • #01153c Protanomaly 1% of men, 0.01% of women
  • #011637 Deuteranomaly 6% of men, 0.4% of women
  • #01172e Tritanomaly 0.01% of the population