#402d7e Color Information

In a RGB color space, hex #402d7e is composed of 25.1% red, 17.6% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 64.3% magenta, 0% yellow and 50.6% black. It has a hue angle of 254.1 degrees, a saturation of 47.4% and a lightness of 33.5%. #402d7e color hex could be obtained by blending #805afc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 49
    RGB color chart
    • C 49
    • M 64
    • Y 0
    • K 51
    CMYK color chart

#402d7e color description : Dark moderate blue.

#402d7e Color Conversion

The hexadecimal color #402d7e has RGB values of R:64, G:45, B:126 and CMYK values of C:0.49, M:0.64, Y:0, K:0.51. Its decimal value is 4205950.

Hex triplet 402d7e #402d7e
RGB Decimal 64, 45, 126 rgb(64,45,126)
RGB Percent 25.1, 17.6, 49.4 rgb(25.1%,17.6%,49.4%)
CMYK 49, 64, 0, 51
HSL 254.1°, 47.4, 33.5 hsl(254.1,47.4%,33.5%)
HSV (or HSB) 254.1°, 64.3, 49.4
Web Safe 333366 #333366
CIE-LAB 25.177, 30.262, -43.15
XYZ 6.818, 4.473, 20.242
xyY 0.216, 0.142, 4.473
CIE-LCH 25.177, 52.704, 305.043
CIE-LUV 25.177, 1.544, -55.424
Hunter-Lab 21.149, 20.531, -41.94
Binary 01000000, 00101101, 01111110

Color Schemes with #402d7e

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

Alternatives to #402d7e

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

Similar Colors

#402d7e Preview

Text with hexadecimal color #402d7e

This text has a font color of #402d7e.

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

This paragraph has a background color of #402d7e.

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

This element has a border color of #402d7e.

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

Shades and Tints of #402d7e

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, #05040a is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402d7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d7e 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
  • #3d3949 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #004775 Deuteranopia 1% of men
  • #36484e Tritanopia 0.001% of the population
Trichromacy
  • #173b82 Protanomaly 1% of men, 0.01% of women
  • #173d78 Deuteranomaly 6% of men, 0.4% of women
  • #3a3e5f Tritanomaly 0.01% of the population