#402ca2 Color Information

In a RGB color space, hex #402ca2 is composed of 25.1% red, 17.3% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 60.5% cyan, 72.8% magenta, 0% yellow and 36.5% black. It has a hue angle of 250.2 degrees, a saturation of 57.3% and a lightness of 40.4%. #402ca2 color hex could be obtained by blending #8058ff with #000045. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 64
    RGB color chart
    • C 60
    • M 73
    • Y 0
    • K 36
    CMYK color chart

#402ca2 color description : Dark blue.

#402ca2 Color Conversion

The hexadecimal color #402ca2 has RGB values of R:64, G:44, B:162 and CMYK values of C:0.6, M:0.73, Y:0, K:0.36. Its decimal value is 4205730.

Hex triplet 402ca2 #402ca2
RGB Decimal 64, 44, 162 rgb(64,44,162)
RGB Percent 25.1, 17.3, 63.5 rgb(25.1%,17.3%,63.5%)
CMYK 60, 73, 0, 36
HSL 250.2°, 57.3, 40.4 hsl(250.2,57.3%,40.4%)
HSV (or HSB) 250.2°, 72.8, 63.5
Web Safe 333399 #333399
CIE-LAB 28.113, 42.185, -60.606
XYZ 9.535, 5.5, 34.74
xyY 0.192, 0.11, 5.5
CIE-LCH 28.113, 73.842, 304.84
CIE-LUV 28.113, -1.274, -78.987
Hunter-Lab 23.451, 31.539, -71.413
Binary 01000000, 00101100, 10100010

Color Schemes with #402ca2

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

Alternatives to #402ca2

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

Similar Colors

#402ca2 Preview

Text with hexadecimal color #402ca2

This text has a font color of #402ca2.

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

This paragraph has a background color of #402ca2.

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

This element has a border color of #402ca2.

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

Shades and Tints of #402ca2

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

Shade Color Variation
Tint Color Variation

Tones of #402ca2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402ca2 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #3f3b53 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004990 Protanopia 1% of men
  • #004e7d Deuteranopia 1% of men
  • #125359 Tritanopia 0.001% of the population
Trichromacy
  • #173f96 Protanomaly 1% of men, 0.01% of women
  • #17418a Deuteranomaly 6% of men, 0.4% of women
  • #234473 Tritanomaly 0.01% of the population