#402f84 Color Information

In a RGB color space, hex #402f84 is composed of 25.1% red, 18.4% green and 51.8% blue. Whereas in a CMYK color space, it is composed of 51.5% cyan, 64.4% magenta, 0% yellow and 48.2% black. It has a hue angle of 252 degrees, a saturation of 47.5% and a lightness of 35.1%. #402f84 color hex could be obtained by blending #805eff with #000009. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 52
    RGB color chart
    • C 52
    • M 64
    • Y 0
    • K 48
    CMYK color chart

#402f84 color description : Dark moderate blue.

#402f84 Color Conversion

The hexadecimal color #402f84 has RGB values of R:64, G:47, B:132 and CMYK values of C:0.52, M:0.64, Y:0, K:0.48. Its decimal value is 4206468.

Hex triplet 402f84 #402f84
RGB Decimal 64, 47, 132 rgb(64,47,132)
RGB Percent 25.1, 18.4, 51.8 rgb(25.1%,18.4%,51.8%)
CMYK 52, 64, 0, 48
HSL 252°, 47.5, 35.1 hsl(252,47.5%,35.1%)
HSV (or HSB) 252°, 64.4, 51.8
Web Safe 333399 #333399
CIE-LAB 26.124, 30.916, -45.383
XYZ 7.295, 4.789, 22.368
xyY 0.212, 0.139, 4.789
CIE-LCH 26.124, 54.913, 304.264
CIE-LUV 26.124, 0.579, -58.959
Hunter-Lab 21.883, 21.208, -45.286
Binary 01000000, 00101111, 10000100

Color Schemes with #402f84

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

Alternatives to #402f84

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

Similar Colors

#402f84 Preview

Text with hexadecimal color #402f84

This text has a font color of #402f84.

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

This paragraph has a background color of #402f84.

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

This element has a border color of #402f84.

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

Shades and Tints of #402f84

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

Shade Color Variation
Tint Color Variation

Tones of #402f84

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f84 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
  • #3e3b4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #334b51 Tritanopia 0.001% of the population
Trichromacy
  • #173d86 Protanomaly 1% of men, 0.01% of women
  • #173f7c Deuteranomaly 6% of men, 0.4% of women
  • #384163 Tritanomaly 0.01% of the population