#402d9f Color Information

In a RGB color space, hex #402d9f is composed of 25.1% red, 17.6% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 59.7% cyan, 71.7% magenta, 0% yellow and 37.6% black. It has a hue angle of 250 degrees, a saturation of 55.9% and a lightness of 40%. #402d9f color hex could be obtained by blending #805aff with #00003f. Closest websafe color is: #333399.

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

#402d9f color description : Dark blue.

#402d9f Color Conversion

The hexadecimal color #402d9f has RGB values of R:64, G:45, B:159 and CMYK values of C:0.6, M:0.72, Y:0, K:0.38. Its decimal value is 4205983.

Hex triplet 402d9f #402d9f
RGB Decimal 64, 45, 159 rgb(64,45,159)
RGB Percent 25.1, 17.6, 62.4 rgb(25.1%,17.6%,62.4%)
CMYK 60, 72, 0, 38
HSL 250°, 55.9, 40 hsl(250,55.9%,40%)
HSV (or HSB) 250°, 71.7, 62.4
Web Safe 333399 #333399
CIE-LAB 28.033, 40.683, -58.916
XYZ 9.31, 5.47, 33.364
xyY 0.193, 0.114, 5.47
CIE-LCH 28.033, 71.598, 304.626
CIE-LUV 28.033, -1.214, -76.969
Hunter-Lab 23.387, 30.126, -68.212
Binary 01000000, 00101101, 10011111

Color Schemes with #402d9f

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

Alternatives to #402d9f

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

Similar Colors

#402d9f Preview

Text with hexadecimal color #402d9f

This text has a font color of #402d9f.

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

This paragraph has a background color of #402d9f.

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

This element has a border color of #402d9f.

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

Shades and Tints of #402d9f

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

Shade Color Variation
Tint Color Variation

Tones of #402d9f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d9f 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
  • #404040 Achromatopsia 0.005% of the population
  • #403c53 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #1a5258 Tritanopia 0.001% of the population
Trichromacy
  • #173f95 Protanomaly 1% of men, 0.01% of women
  • #174189 Deuteranomaly 6% of men, 0.4% of women
  • #284572 Tritanomaly 0.01% of the population