#402e8a Color Information

In a RGB color space, hex #402e8a is composed of 25.1% red, 18% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 66.7% magenta, 0% yellow and 45.9% black. It has a hue angle of 251.7 degrees, a saturation of 50% and a lightness of 36.1%. #402e8a color hex could be obtained by blending #805cff with #000015. Closest websafe color is: #333399.

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

#402e8a color description : Dark moderate blue.

#402e8a Color Conversion

The hexadecimal color #402e8a has RGB values of R:64, G:46, B:138 and CMYK values of C:0.54, M:0.67, Y:0, K:0.46. Its decimal value is 4206218.

Hex triplet 402e8a #402e8a
RGB Decimal 64, 46, 138 rgb(64,46,138)
RGB Percent 25.1, 18, 54.1 rgb(25.1%,18%,54.1%)
CMYK 54, 67, 0, 46
HSL 251.7°, 50, 36.1 hsl(251.7,50%,36.1%)
HSV (or HSB) 251.7°, 66.7, 54.1
Web Safe 333399 #333399
CIE-LAB 26.387, 33.441, -48.699
XYZ 7.678, 4.879, 24.58
xyY 0.207, 0.131, 4.879
CIE-LCH 26.387, 59.076, 304.477
CIE-LUV 26.387, 0.279, -63.227
Hunter-Lab 22.088, 23.394, -50.519
Binary 01000000, 00101110, 10001010

Color Schemes with #402e8a

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

Alternatives to #402e8a

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

Similar Colors

#402e8a Preview

Text with hexadecimal color #402e8a

This text has a font color of #402e8a.

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

This paragraph has a background color of #402e8a.

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

This element has a border color of #402e8a.

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

Shades and Tints of #402e8a

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 #402e8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e8a 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
  • #304c52 Tritanopia 0.001% of the population
Trichromacy
  • #173d89 Protanomaly 1% of men, 0.01% of women
  • #173f7e Deuteranomaly 6% of men, 0.4% of women
  • #354166 Tritanomaly 0.01% of the population