#402d87 Color Information

In a RGB color space, hex #402d87 is composed of 25.1% red, 17.6% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 66.7% magenta, 0% yellow and 47.1% black. It has a hue angle of 252.7 degrees, a saturation of 50% and a lightness of 35.3%. #402d87 color hex could be obtained by blending #805aff with #00000f. Closest websafe color is: #333399.

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

#402d87 color description : Dark moderate blue.

#402d87 Color Conversion

The hexadecimal color #402d87 has RGB values of R:64, G:45, B:135 and CMYK values of C:0.53, M:0.67, Y:0, K:0.47. Its decimal value is 4205959.

Hex triplet 402d87 #402d87
RGB Decimal 64, 45, 135 rgb(64,45,135)
RGB Percent 25.1, 17.6, 52.9 rgb(25.1%,17.6%,52.9%)
CMYK 53, 67, 0, 47
HSL 252.7°, 50, 35.3 hsl(252.7,50%,35.3%)
HSV (or HSB) 252.7°, 66.7, 52.9
Web Safe 333399 #333399
CIE-LAB 25.909, 33.099, -47.607
XYZ 7.425, 4.716, 23.439
xyY 0.209, 0.133, 4.716
CIE-LCH 25.909, 57.983, 304.809
CIE-LUV 25.909, 0.737, -61.467
Hunter-Lab 21.716, 23.029, -48.794
Binary 01000000, 00101101, 10000111

Color Schemes with #402d87

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

Alternatives to #402d87

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

Similar Colors

#402d87 Preview

Text with hexadecimal color #402d87

This text has a font color of #402d87.

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

This paragraph has a background color of #402d87.

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

This element has a border color of #402d87.

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

Shades and Tints of #402d87

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

Shade Color Variation
Tint Color Variation

Tones of #402d87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d87 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e3a4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004976 Deuteranopia 1% of men
  • #314b50 Tritanopia 0.001% of the population
Trichromacy
  • #173c87 Protanomaly 1% of men, 0.01% of women
  • #173e7c Deuteranomaly 6% of men, 0.4% of women
  • #364064 Tritanomaly 0.01% of the population