#402d8f Color Information

In a RGB color space, hex #402d8f is composed of 25.1% red, 17.6% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 68.5% magenta, 0% yellow and 43.9% black. It has a hue angle of 251.6 degrees, a saturation of 52.1% and a lightness of 36.9%. #402d8f color hex could be obtained by blending #805aff with #00001f. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 56
    RGB color chart
    • C 55
    • M 69
    • Y 0
    • K 44
    CMYK color chart

#402d8f color description : Dark moderate blue.

#402d8f Color Conversion

The hexadecimal color #402d8f has RGB values of R:64, G:45, B:143 and CMYK values of C:0.55, M:0.69, Y:0, K:0.44. Its decimal value is 4205967.

Hex triplet 402d8f #402d8f
RGB Decimal 64, 45, 143 rgb(64,45,143)
RGB Percent 25.1, 17.6, 56.1 rgb(25.1%,17.6%,56.1%)
CMYK 55, 69, 0, 44
HSL 251.6°, 52.1, 36.9 hsl(251.6,52.1%,36.9%)
HSV (or HSB) 251.6°, 68.5, 56.1
Web Safe 333399 #333399
CIE-LAB 26.591, 35.63, -51.466
XYZ 8.01, 4.95, 26.518
xyY 0.203, 0.125, 4.95
CIE-LCH 26.591, 62.596, 304.694
CIE-LUV 26.591, 0.056, -66.727
Hunter-Lab 22.248, 25.33, -55.097
Binary 01000000, 00101101, 10001111

Color Schemes with #402d8f

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

Alternatives to #402d8f

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

Similar Colors

#402d8f Preview

Text with hexadecimal color #402d8f

This text has a font color of #402d8f.

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

This paragraph has a background color of #402d8f.

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

This element has a border color of #402d8f.

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

Shades and Tints of #402d8f

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

Shade Color Variation
Tint Color Variation

Tones of #402d8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d8f 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
  • #00468a Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #2c4d53 Tritanopia 0.001% of the population
Trichromacy
  • #173d8b Protanomaly 1% of men, 0.01% of women
  • #173f80 Deuteranomaly 6% of men, 0.4% of women
  • #334169 Tritanomaly 0.01% of the population