#402f97 Color Information

In a RGB color space, hex #402f97 is composed of 25.1% red, 18.4% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 57.6% cyan, 68.9% magenta, 0% yellow and 40.8% black. It has a hue angle of 249.8 degrees, a saturation of 52.5% and a lightness of 38.8%. #402f97 color hex could be obtained by blending #805eff with #00002f. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 59
    RGB color chart
    • C 58
    • M 69
    • Y 0
    • K 41
    CMYK color chart

#402f97 color description : Dark moderate blue.

#402f97 Color Conversion

The hexadecimal color #402f97 has RGB values of R:64, G:47, B:151 and CMYK values of C:0.58, M:0.69, Y:0, K:0.41. Its decimal value is 4206487.

Hex triplet 402f97 #402f97
RGB Decimal 64, 47, 151 rgb(64,47,151)
RGB Percent 25.1, 18.4, 59.2 rgb(25.1%,18.4%,59.2%)
CMYK 58, 69, 0, 41
HSL 249.8°, 52.5, 38.8 hsl(249.8,52.5%,38.8%)
HSV (or HSB) 249.8°, 68.9, 59.2
Web Safe 333399 #333399
CIE-LAB 27.729, 36.985, -54.532
XYZ 8.716, 5.357, 29.851
xyY 0.198, 0.122, 5.357
CIE-LCH 27.729, 65.891, 304.146
CIE-LUV 27.729, -0.961, -71.526
Hunter-Lab 23.145, 26.712, -60.266
Binary 01000000, 00101111, 10010111

Color Schemes with #402f97

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

Alternatives to #402f97

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

Similar Colors

#402f97 Preview

Text with hexadecimal color #402f97

This text has a font color of #402f97.

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

This paragraph has a background color of #402f97.

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

This element has a border color of #402f97.

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

Shades and Tints of #402f97

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

Shade Color Variation
Tint Color Variation

Tones of #402f97

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f97 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
  • #404040 Achromatopsia 0.005% of the population
  • #403d51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7c Deuteranopia 1% of men
  • #255157 Tritanopia 0.001% of the population
Trichromacy
  • #173f91 Protanomaly 1% of men, 0.01% of women
  • #174286 Deuteranomaly 6% of men, 0.4% of women
  • #2f446e Tritanomaly 0.01% of the population