#402d7d Color Information

In a RGB color space, hex #402d7d is composed of 25.1% red, 17.6% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 64% magenta, 0% yellow and 51% black. It has a hue angle of 254.3 degrees, a saturation of 47.1% and a lightness of 33.3%. #402d7d color hex could be obtained by blending #805afa with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 49
    RGB color chart
    • C 49
    • M 64
    • Y 0
    • K 51
    CMYK color chart

#402d7d color description : Dark moderate blue.

#402d7d Color Conversion

The hexadecimal color #402d7d has RGB values of R:64, G:45, B:125 and CMYK values of C:0.49, M:0.64, Y:0, K:0.51. Its decimal value is 4205949.

Hex triplet 402d7d #402d7d
RGB Decimal 64, 45, 125 rgb(64,45,125)
RGB Percent 25.1, 17.6, 49 rgb(25.1%,17.6%,49%)
CMYK 49, 64, 0, 51
HSL 254.3°, 47.1, 33.3 hsl(254.3,47.1%,33.3%)
HSV (or HSB) 254.3°, 64, 49
Web Safe 333366 #333366
CIE-LAB 25.098, 29.948, -42.647
XYZ 6.754, 4.447, 19.903
xyY 0.217, 0.143, 4.447
CIE-LCH 25.098, 52.112, 305.078
CIE-LUV 25.098, 1.636, -54.744
Hunter-Lab 21.089, 20.26, -41.196
Binary 01000000, 00101101, 01111101

Color Schemes with #402d7d

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

Alternatives to #402d7d

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

Similar Colors

#402d7d Preview

Text with hexadecimal color #402d7d

This text has a font color of #402d7d.

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

This paragraph has a background color of #402d7d.

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

This element has a border color of #402d7d.

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

Shades and Tints of #402d7d

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, #05030a is the darkest color, while #fbfafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402d7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d7d 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d3949 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #004774 Deuteranopia 1% of men
  • #37484d Tritanopia 0.001% of the population
Trichromacy
  • #173b81 Protanomaly 1% of men, 0.01% of women
  • #173d77 Deuteranomaly 6% of men, 0.4% of women
  • #3a3e5e Tritanomaly 0.01% of the population