#402d9d Color Information

In a RGB color space, hex #402d9d is composed of 25.1% red, 17.6% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 59.2% cyan, 71.3% magenta, 0% yellow and 38.4% black. It has a hue angle of 250.2 degrees, a saturation of 55.4% and a lightness of 39.6%. #402d9d color hex could be obtained by blending #805aff with #00003b. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 62
    RGB color chart
    • C 59
    • M 71
    • Y 0
    • K 38
    CMYK color chart

#402d9d color description : Dark blue.

#402d9d Color Conversion

The hexadecimal color #402d9d has RGB values of R:64, G:45, B:157 and CMYK values of C:0.59, M:0.71, Y:0, K:0.38. Its decimal value is 4205981.

Hex triplet 402d9d #402d9d
RGB Decimal 64, 45, 157 rgb(64,45,157)
RGB Percent 25.1, 17.6, 61.6 rgb(25.1%,17.6%,61.6%)
CMYK 59, 71, 0, 38
HSL 250.2°, 55.4, 39.6 hsl(250.2,55.4%,39.6%)
HSV (or HSB) 250.2°, 71.3, 61.6
Web Safe 333399 #333399
CIE-LAB 27.847, 40.053, -58.004
XYZ 9.137, 5.401, 32.457
xyY 0.194, 0.115, 5.401
CIE-LCH 27.847, 70.489, 304.626
CIE-LUV 27.847, -1.061, -75.708
Hunter-Lab 23.24, 29.514, -66.539
Binary 01000000, 00101101, 10011101

Color Schemes with #402d9d

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

Alternatives to #402d9d

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

Similar Colors

#402d9d Preview

Text with hexadecimal color #402d9d

This text has a font color of #402d9d.

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

This paragraph has a background color of #402d9d.

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

This element has a border color of #402d9d.

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

Shades and Tints of #402d9d

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

Shade Color Variation
Tint Color Variation

Tones of #402d9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d9d 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #3f3b52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7c Deuteranopia 1% of men
  • #1d5258 Tritanopia 0.001% of the population
Trichromacy
  • #173f94 Protanomaly 1% of men, 0.01% of women
  • #174188 Deuteranomaly 6% of men, 0.4% of women
  • #2a4471 Tritanomaly 0.01% of the population