#402d8d Color Information

In a RGB color space, hex #402d8d is composed of 25.1% red, 17.6% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 68.1% magenta, 0% yellow and 44.7% black. It has a hue angle of 251.9 degrees, a saturation of 51.6% and a lightness of 36.5%. #402d8d color hex could be obtained by blending #805aff with #00001b. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 55
    RGB color chart
    • C 55
    • M 68
    • Y 0
    • K 45
    CMYK color chart

#402d8d color description : Dark moderate blue.

#402d8d Color Conversion

The hexadecimal color #402d8d has RGB values of R:64, G:45, B:141 and CMYK values of C:0.55, M:0.68, Y:0, K:0.45. Its decimal value is 4205965.

Hex triplet 402d8d #402d8d
RGB Decimal 64, 45, 141 rgb(64,45,141)
RGB Percent 25.1, 17.6, 55.3 rgb(25.1%,17.6%,55.3%)
CMYK 55, 68, 0, 45
HSL 251.9°, 51.6, 36.5 hsl(251.9,51.6%,36.5%)
HSV (or HSB) 251.9°, 68.1, 55.3
Web Safe 333399 #333399
CIE-LAB 26.418, 34.997, -50.51
XYZ 7.86, 4.89, 25.728
xyY 0.204, 0.127, 4.89
CIE-LCH 26.418, 61.45, 304.717
CIE-LUV 26.418, 0.223, -65.422
Hunter-Lab 22.113, 24.748, -53.504
Binary 01000000, 00101101, 10001101

Color Schemes with #402d8d

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

Alternatives to #402d8d

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

Similar Colors

#402d8d Preview

Text with hexadecimal color #402d8d

This text has a font color of #402d8d.

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

This paragraph has a background color of #402d8d.

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

This element has a border color of #402d8d.

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

Shades and Tints of #402d8d

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

Shade Color Variation
Tint Color Variation

Tones of #402d8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d8d 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3b4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #2d4d52 Tritanopia 0.001% of the population
Trichromacy
  • #173d8a Protanomaly 1% of men, 0.01% of women
  • #173f7f Deuteranomaly 6% of men, 0.4% of women
  • #344167 Tritanomaly 0.01% of the population