#402e8b Color Information

In a RGB color space, hex #402e8b is composed of 25.1% red, 18% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 66.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.6 degrees, a saturation of 50.3% and a lightness of 36.3%. #402e8b color hex could be obtained by blending #805cff with #000017. Closest websafe color is: #333399.

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

#402e8b color description : Dark moderate blue.

#402e8b Color Conversion

The hexadecimal color #402e8b has RGB values of R:64, G:46, B:139 and CMYK values of C:0.54, M:0.67, Y:0, K:0.45. Its decimal value is 4206219.

Hex triplet 402e8b #402e8b
RGB Decimal 64, 46, 139 rgb(64,46,139)
RGB Percent 25.1, 18, 54.5 rgb(25.1%,18%,54.5%)
CMYK 54, 67, 0, 45
HSL 251.6°, 50.3, 36.3 hsl(251.6,50.3%,36.3%)
HSV (or HSB) 251.6°, 66.9, 54.5
Web Safe 333399 #333399
CIE-LAB 26.471, 33.759, -49.183
XYZ 7.751, 4.908, 24.964
xyY 0.206, 0.13, 4.908
CIE-LCH 26.471, 59.655, 304.465
CIE-LUV 26.471, 0.195, -63.889
Hunter-Lab 22.154, 23.681, -51.303
Binary 01000000, 00101110, 10001011

Color Schemes with #402e8b

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

Alternatives to #402e8b

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

Similar Colors

#402e8b Preview

Text with hexadecimal color #402e8b

This text has a font color of #402e8b.

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

This paragraph has a background color of #402e8b.

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

This element has a border color of #402e8b.

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

Shades and Tints of #402e8b

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

Shade Color Variation
Tint Color Variation

Tones of #402e8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e8b 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
  • #3e3b4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #2f4d52 Tritanopia 0.001% of the population
Trichromacy
  • #173d8a Protanomaly 1% of men, 0.01% of women
  • #17407f Deuteranomaly 6% of men, 0.4% of women
  • #354167 Tritanomaly 0.01% of the population