#402d8b Color Information

In a RGB color space, hex #402d8b is composed of 25.1% red, 17.6% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 67.6% magenta, 0% yellow and 45.5% black. It has a hue angle of 252.1 degrees, a saturation of 51.1% and a lightness of 36.1%. #402d8b color hex could be obtained by blending #805aff with #000017. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 55
    RGB color chart
    • C 54
    • M 68
    • Y 0
    • K 45
    CMYK color chart

#402d8b color description : Dark moderate blue.

#402d8b Color Conversion

The hexadecimal color #402d8b has RGB values of R:64, G:45, B:139 and CMYK values of C:0.54, M:0.68, Y:0, K:0.45. Its decimal value is 4205963.

Hex triplet 402d8b #402d8b
RGB Decimal 64, 45, 139 rgb(64,45,139)
RGB Percent 25.1, 17.6, 54.5 rgb(25.1%,17.6%,54.5%)
CMYK 54, 68, 0, 45
HSL 252.1°, 51.1, 36.1 hsl(252.1,51.1%,36.1%)
HSV (or HSB) 252.1°, 67.6, 54.5
Web Safe 333399 #333399
CIE-LAB 26.247, 34.364, -49.548
XYZ 7.712, 4.831, 24.951
xyY 0.206, 0.129, 4.831
CIE-LCH 26.247, 60.299, 304.743
CIE-LUV 26.247, 0.393, -64.11
Hunter-Lab 21.979, 24.171, -51.922
Binary 01000000, 00101101, 10001011

Color Schemes with #402d8b

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

Alternatives to #402d8b

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

Similar Colors

#402d8b Preview

Text with hexadecimal color #402d8b

This text has a font color of #402d8b.

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

This paragraph has a background color of #402d8b.

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

This element has a border color of #402d8b.

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

Shades and Tints of #402d8b

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

Shade Color Variation
Tint Color Variation

Tones of #402d8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d8b 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e3a4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #2f4c52 Tritanopia 0.001% of the population
Trichromacy
  • #173c89 Protanomaly 1% of men, 0.01% of women
  • #173f7e Deuteranomaly 6% of men, 0.4% of women
  • #354166 Tritanomaly 0.01% of the population