#402f87 Color Information

In a RGB color space, hex #402f87 is composed of 25.1% red, 18.4% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 65.2% magenta, 0% yellow and 47.1% black. It has a hue angle of 251.6 degrees, a saturation of 48.4% and a lightness of 35.7%. #402f87 color hex could be obtained by blending #805eff with #00000f. Closest websafe color is: #333399.

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

#402f87 color description : Dark moderate blue.

#402f87 Color Conversion

The hexadecimal color #402f87 has RGB values of R:64, G:47, B:135 and CMYK values of C:0.53, M:0.65, Y:0, K:0.47. Its decimal value is 4206471.

Hex triplet 402f87 #402f87
RGB Decimal 64, 47, 135 rgb(64,47,135)
RGB Percent 25.1, 18.4, 52.9 rgb(25.1%,18.4%,52.9%)
CMYK 53, 65, 0, 47
HSL 251.6°, 48.4, 35.7 hsl(251.6,48.4%,35.7%)
HSV (or HSB) 251.6°, 65.2, 52.9
Web Safe 333399 #333399
CIE-LAB 26.367, 31.872, -46.862
XYZ 7.503, 4.872, 23.465
xyY 0.209, 0.136, 4.872
CIE-LCH 26.367, 56.674, 304.221
CIE-LUV 26.367, 0.324, -60.983
Hunter-Lab 22.073, 22.05, -47.58
Binary 01000000, 00101111, 10000111

Color Schemes with #402f87

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

Alternatives to #402f87

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

Similar Colors

#402f87 Preview

Text with hexadecimal color #402f87

This text has a font color of #402f87.

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

This paragraph has a background color of #402f87.

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

This element has a border color of #402f87.

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

Shades and Tints of #402f87

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

Shade Color Variation
Tint Color Variation

Tones of #402f87

A tone is produced by adding gray to any pure hue. In this case, #5a595d is the less saturated color, while #2605b1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f87 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3b4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #324c51 Tritanopia 0.001% of the population
Trichromacy
  • #173d88 Protanomaly 1% of men, 0.01% of women
  • #17407d Deuteranomaly 6% of men, 0.4% of women
  • #374165 Tritanomaly 0.01% of the population