#402d9b Color Information

In a RGB color space, hex #402d9b is composed of 25.1% red, 17.6% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 58.7% cyan, 71% magenta, 0% yellow and 39.2% black. It has a hue angle of 250.4 degrees, a saturation of 55% and a lightness of 39.2%. #402d9b color hex could be obtained by blending #805aff with #000037. Closest websafe color is: #333399.

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

#402d9b color description : Dark blue.

#402d9b Color Conversion

The hexadecimal color #402d9b has RGB values of R:64, G:45, B:155 and CMYK values of C:0.59, M:0.71, Y:0, K:0.39. Its decimal value is 4205979.

Hex triplet 402d9b #402d9b
RGB Decimal 64, 45, 155 rgb(64,45,155)
RGB Percent 25.1, 17.6, 60.8 rgb(25.1%,17.6%,60.8%)
CMYK 59, 71, 0, 39
HSL 250.4°, 55, 39.2 hsl(250.4,55%,39.2%)
HSV (or HSB) 250.4°, 71, 60.8
Web Safe 333399 #333399
CIE-LAB 27.663, 39.423, -57.086
XYZ 8.968, 5.333, 31.565
xyY 0.196, 0.116, 5.333
CIE-LCH 27.663, 69.375, 304.629
CIE-LUV 27.663, -0.907, -74.441
Hunter-Lab 23.093, 28.905, -64.876
Binary 01000000, 00101101, 10011011

Color Schemes with #402d9b

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

Alternatives to #402d9b

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

Similar Colors

#402d9b Preview

Text with hexadecimal color #402d9b

This text has a font color of #402d9b.

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

This paragraph has a background color of #402d9b.

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

This element has a border color of #402d9b.

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

Shades and Tints of #402d9b

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 #f4f3fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402d9b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d9b 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
  • #3f3b51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7c Deuteranopia 1% of men
  • #205157 Tritanopia 0.001% of the population
Trichromacy
  • #173e92 Protanomaly 1% of men, 0.01% of women
  • #174187 Deuteranomaly 6% of men, 0.4% of women
  • #2b4470 Tritanomaly 0.01% of the population