#402c87 Color Information

In a RGB color space, hex #402c87 is composed of 25.1% red, 17.3% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 67.4% magenta, 0% yellow and 47.1% black. It has a hue angle of 253.2 degrees, a saturation of 50.8% and a lightness of 35.1%. #402c87 color hex could be obtained by blending #8058ff with #00000f. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 53
    RGB color chart
    • C 53
    • M 67
    • Y 0
    • K 47
    CMYK color chart

#402c87 color description : Dark moderate blue.

#402c87 Color Conversion

The hexadecimal color #402c87 has RGB values of R:64, G:44, B:135 and CMYK values of C:0.53, M:0.67, Y:0, K:0.47. Its decimal value is 4205703.

Hex triplet 402c87 #402c87
RGB Decimal 64, 44, 135 rgb(64,44,135)
RGB Percent 25.1, 17.3, 52.9 rgb(25.1%,17.3%,52.9%)
CMYK 53, 67, 0, 47
HSL 253.2°, 50.8, 35.1 hsl(253.2,50.8%,35.1%)
HSV (or HSB) 253.2°, 67.4, 52.9
Web Safe 333399 #333399
CIE-LAB 25.685, 33.704, -47.973
XYZ 7.387, 4.64, 23.427
xyY 0.208, 0.131, 4.64
CIE-LCH 25.685, 58.629, 305.091
CIE-LUV 25.685, 0.936, -61.691
Hunter-Lab 21.542, 23.516, -49.399
Binary 01000000, 00101100, 10000111

Color Schemes with #402c87

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

Alternatives to #402c87

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

Similar Colors

#402c87 Preview

Text with hexadecimal color #402c87

This text has a font color of #402c87.

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

This paragraph has a background color of #402c87.

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

This element has a border color of #402c87.

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

Shades and Tints of #402c87

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

Shade Color Variation
Tint Color Variation

Tones of #402c87

A tone is produced by adding gray to any pure hue. In this case, #57555e is the less saturated color, while #2903b0 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c87 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d394b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004486 Protanopia 1% of men
  • #004876 Deuteranopia 1% of men
  • #314a50 Tritanopia 0.001% of the population
Trichromacy
  • #173b86 Protanomaly 1% of men, 0.01% of women
  • #173e7c Deuteranomaly 6% of men, 0.4% of women
  • #363f64 Tritanomaly 0.01% of the population