#402e79 Color Information

In a RGB color space, hex #402e79 is composed of 25.1% red, 18% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 47.1% cyan, 62% magenta, 0% yellow and 52.5% black. It has a hue angle of 254.4 degrees, a saturation of 44.9% and a lightness of 32.7%. #402e79 color hex could be obtained by blending #805cf2 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 47
    RGB color chart
    • C 47
    • M 62
    • Y 0
    • K 53
    CMYK color chart

#402e79 color description : Dark moderate blue.

#402e79 Color Conversion

The hexadecimal color #402e79 has RGB values of R:64, G:46, B:121 and CMYK values of C:0.47, M:0.62, Y:0, K:0.53. Its decimal value is 4206201.

Hex triplet 402e79 #402e79
RGB Decimal 64, 46, 121 rgb(64,46,121)
RGB Percent 25.1, 18, 47.5 rgb(25.1%,18%,47.5%)
CMYK 47, 62, 0, 53
HSL 254.4°, 44.9, 32.7 hsl(254.4,44.9%,32.7%)
HSV (or HSB) 254.4°, 62, 47.5
Web Safe 333366 #333366
CIE-LAB 25.027, 28.065, -40.23
XYZ 6.542, 4.424, 18.597
xyY 0.221, 0.15, 4.424
CIE-LCH 25.027, 49.052, 304.901
CIE-LUV 25.027, 1.784, -51.712
Hunter-Lab 21.034, 18.706, -37.698
Binary 01000000, 00101110, 01111001

Color Schemes with #402e79

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

Alternatives to #402e79

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

Similar Colors

#402e79 Preview

Text with hexadecimal color #402e79

This text has a font color of #402e79.

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

This paragraph has a background color of #402e79.

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

This element has a border color of #402e79.

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

Shades and Tints of #402e79

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

Shade Color Variation
Tint Color Variation

Tones of #402e79

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e79 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d3948 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #004675 Deuteranopia 1% of men
  • #39474d Tritanopia 0.001% of the population
Trichromacy
  • #173b80 Protanomaly 1% of men, 0.01% of women
  • #173d76 Deuteranomaly 6% of men, 0.4% of women
  • #3b3e5d Tritanomaly 0.01% of the population