colorhexa.com

#402a87 hex color

In a RGB color space, hex #402a87 is composed of 25.1% red, 16.5% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 68.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 254.2 degrees, a saturation of 52.5% and a lightness of 34.7%. #402a87 color hex could be obtained by blending #8054ff with #00000f. Closest websafe color is: #333399.

    • R 25
    • G 16
    • B 53

    RGB color chart

    • C 53
    • M 69
    • Y 0
    • K 47

    CMYK color chart

#402a87 color description : Dark moderate blue.

The hexadecimal color #402a87 has RGB values of R:64, G:42, B:135 and CMYK values of C:0.53, M:0.69, Y:0, K:0.47. Its decimal value is 4205191.

Hex triplet 402a87 #402a87
RGB Decimal 64, 42, 135 rgb(64,42,135)
RGB Percent 25.1, 16.5, 52.9 rgb(25.1%,16.5%,52.9%)
CMYK 53, 69, 0, 47
HSL 254.2°, 52.5, 34.7 hsl(254.2,52.5%,34.7%)
HSV (or HSB) 254.2°, 68.9, 52.9
Web Safe 333399 #333399
CIE-LAB 25.245, 34.899, -48.69
XYZ 7.315, 4.495, 23.403
xyY 0.208, 0.128, 4.495
CIE-LCH 25.245, 59.906, 305.631
CIE-LUV 25.245, 1.318, -62.103
Hunter-Lab 21.201, 24.481, -50.604
Binary 01000000, 00101010, 10000111

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #402a87

This text has a font color of #402a87.

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

#402a87 background color

This paragraph has a background color of #402a87.

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

#402a87 border color

This element has a border color of #402a87.

<div style="border:1px solid #402a87;">Content here</div>

CSS codes

.text {color:#402a87;}
.background {background-color:#402a87;}
.border {border:1px solid #402a87;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #402a87 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

  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c384a Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004384 Protanopia 1% of men
  • #004774 Deuteranopia 1% of men
  • #31494f Tritanopia 0.001% of the population

Trichromacy

  • #173a85 Protanomaly 1% of men, 0.01% of women
  • #173c7b Deuteranomaly 6% of men, 0.4% of women
  • #363e63 Tritanomaly 0.01% of the population