#402cab Color Information

In a RGB color space, hex #402cab is composed of 25.1% red, 17.3% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 74.3% magenta, 0% yellow and 32.9% black. It has a hue angle of 249.4 degrees, a saturation of 59.1% and a lightness of 42.2%. #402cab color hex could be obtained by blending #8058ff with #000057. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 67
    RGB color chart
    • C 63
    • M 74
    • Y 0
    • K 33
    CMYK color chart

#402cab color description : Dark blue.

#402cab Color Conversion

The hexadecimal color #402cab has RGB values of R:64, G:44, B:171 and CMYK values of C:0.63, M:0.74, Y:0, K:0.33. Its decimal value is 4205739.

Hex triplet 402cab #402cab
RGB Decimal 64, 44, 171 rgb(64,44,171)
RGB Percent 25.1, 17.3, 67.1 rgb(25.1%,17.3%,67.1%)
CMYK 63, 74, 0, 33
HSL 249.4°, 59.1, 42.2 hsl(249.4,59.1%,42.2%)
HSV (or HSB) 249.4°, 74.3, 67.1
Web Safe 333399 #333399
CIE-LAB 28.983, 44.985, -64.607
XYZ 10.364, 5.831, 39.105
xyY 0.187, 0.105, 5.831
CIE-LCH 28.983, 78.726, 304.849
CIE-LUV 28.983, -1.94, -84.551
Hunter-Lab 24.148, 34.354, -79.111
Binary 01000000, 00101100, 10101011

Color Schemes with #402cab

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

Alternatives to #402cab

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

Similar Colors

#402cab Preview

Text with hexadecimal color #402cab

This text has a font color of #402cab.

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

This paragraph has a background color of #402cab.

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

This element has a border color of #402cab.

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

Shades and Tints of #402cab

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, #06040f is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402cab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402cab 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
  • #403c55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b93 Protanopia 1% of men
  • #005080 Deuteranopia 1% of men
  • #00555b Tritanopia 0.001% of the population
Trichromacy
  • #17409c Protanomaly 1% of men, 0.01% of women
  • #17428f Deuteranomaly 6% of men, 0.4% of women
  • #174678 Tritanomaly 0.01% of the population