#402ea1 Color Information

In a RGB color space, hex #402ea1 is composed of 25.1% red, 18% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 60.2% cyan, 71.4% magenta, 0% yellow and 36.9% black. It has a hue angle of 249.4 degrees, a saturation of 55.6% and a lightness of 40.6%. #402ea1 color hex could be obtained by blending #805cff with #000043. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 63
    RGB color chart
    • C 60
    • M 71
    • Y 0
    • K 37
    CMYK color chart

#402ea1 color description : Dark blue.

#402ea1 Color Conversion

The hexadecimal color #402ea1 has RGB values of R:64, G:46, B:161 and CMYK values of C:0.6, M:0.71, Y:0, K:0.37. Its decimal value is 4206241.

Hex triplet 402ea1 #402ea1
RGB Decimal 64, 46, 161 rgb(64,46,161)
RGB Percent 25.1, 18, 63.1 rgb(25.1%,18%,63.1%)
CMYK 60, 71, 0, 37
HSL 249.4°, 55.6, 40.6 hsl(249.4,55.6%,40.6%)
HSV (or HSB) 249.4°, 71.4, 63.1
Web Safe 333399 #333399
CIE-LAB 28.424, 40.745, -59.489
XYZ 9.523, 5.617, 34.299
xyY 0.193, 0.114, 5.617
CIE-LCH 28.424, 72.104, 304.408
CIE-LUV 28.424, -1.535, -78.079
Hunter-Lab 23.7, 30.251, -69.215
Binary 01000000, 00101110, 10100001

Color Schemes with #402ea1

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

Alternatives to #402ea1

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

Similar Colors

#402ea1 Preview

Text with hexadecimal color #402ea1

This text has a font color of #402ea1.

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

This paragraph has a background color of #402ea1.

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

This element has a border color of #402ea1.

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

Shades and Tints of #402ea1

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

Shade Color Variation
Tint Color Variation

Tones of #402ea1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402ea1 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
  • #404040 Achromatopsia 0.005% of the population
  • #403c53 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a91 Protanopia 1% of men
  • #004e7e Deuteranopia 1% of men
  • #16535a Tritanopia 0.001% of the population
Trichromacy
  • #174097 Protanomaly 1% of men, 0.01% of women
  • #17428b Deuteranomaly 6% of men, 0.4% of women
  • #254673 Tritanomaly 0.01% of the population