#402f82 Color Information

In a RGB color space, hex #402f82 is composed of 25.1% red, 18.4% green and 51% blue. Whereas in a CMYK color space, it is composed of 50.8% cyan, 63.8% magenta, 0% yellow and 49% black. It has a hue angle of 252.3 degrees, a saturation of 46.9% and a lightness of 34.7%. #402f82 color hex could be obtained by blending #805eff with #000005. Closest websafe color is: #333399.

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

#402f82 color description : Dark moderate blue.

#402f82 Color Conversion

The hexadecimal color #402f82 has RGB values of R:64, G:47, B:130 and CMYK values of C:0.51, M:0.64, Y:0, K:0.49. Its decimal value is 4206466.

Hex triplet 402f82 #402f82
RGB Decimal 64, 47, 130 rgb(64,47,130)
RGB Percent 25.1, 18.4, 51 rgb(25.1%,18.4%,51%)
CMYK 51, 64, 0, 49
HSL 252.3°, 46.9, 34.7 hsl(252.3,46.9%,34.7%)
HSV (or HSB) 252.3°, 63.8, 51
Web Safe 333399 #333399
CIE-LAB 25.965, 30.279, -44.389
XYZ 7.159, 4.735, 21.655
xyY 0.213, 0.141, 4.735
CIE-LCH 25.965, 53.733, 304.3
CIE-LUV 25.965, 0.751, -57.602
Hunter-Lab 21.759, 20.654, -43.774
Binary 01000000, 00101111, 10000010

Color Schemes with #402f82

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

Alternatives to #402f82

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

Similar Colors

#402f82 Preview

Text with hexadecimal color #402f82

This text has a font color of #402f82.

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

This paragraph has a background color of #402f82.

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

This element has a border color of #402f82.

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

Shades and Tints of #402f82

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

Shade Color Variation
Tint Color Variation

Tones of #402f82

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f82 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
  • #004587 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #354a50 Tritanopia 0.001% of the population
Trichromacy
  • #173d85 Protanomaly 1% of men, 0.01% of women
  • #173f7b Deuteranomaly 6% of men, 0.4% of women
  • #394062 Tritanomaly 0.01% of the population