#402795 Color Information

In a RGB color space, hex #402795 is composed of 25.1% red, 15.3% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 57% cyan, 73.8% magenta, 0% yellow and 41.6% black. It has a hue angle of 253.6 degrees, a saturation of 58.5% and a lightness of 36.9%. #402795 color hex could be obtained by blending #804eff with #00002b. Closest websafe color is: #333399.

    • R 25
    • G 15
    • B 58
    RGB color chart
    • C 57
    • M 74
    • Y 0
    • K 42
    CMYK color chart

#402795 color description : Dark blue.

#402795 Color Conversion

The hexadecimal color #402795 has RGB values of R:64, G:39, B:149 and CMYK values of C:0.57, M:0.74, Y:0, K:0.42. Its decimal value is 4204437.

Hex triplet 402795 #402795
RGB Decimal 64, 39, 149 rgb(64,39,149)
RGB Percent 25.1, 15.3, 58.4 rgb(25.1%,15.3%,58.4%)
CMYK 57, 74, 0, 42
HSL 253.6°, 58.5, 36.9 hsl(253.6,58.5%,36.9%)
HSV (or HSB) 253.6°, 73.8, 58.4
Web Safe 333399 #333399
CIE-LAB 25.894, 40.926, -56.309
XYZ 8.264, 4.711, 28.906
xyY 0.197, 0.112, 4.711
CIE-LCH 25.894, 69.61, 306.01
CIE-LUV 25.894, 0.577, -71.494
Hunter-Lab 21.704, 29.98, -63.77
Binary 01000000, 00100111, 10010101

Color Schemes with #402795

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

Alternatives to #402795

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

Similar Colors

#402795 Preview

Text with hexadecimal color #402795

This text has a font color of #402795.

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

This paragraph has a background color of #402795.

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

This element has a border color of #402795.

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

Shades and Tints of #402795

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

Shade Color Variation
Tint Color Variation

Tones of #402795

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402795 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
  • #3c374d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004975 Deuteranopia 1% of men
  • #254c52 Tritanopia 0.001% of the population
Trichromacy
  • #173a8c Protanomaly 1% of men, 0.01% of women
  • #173c81 Deuteranomaly 6% of men, 0.4% of women
  • #2f3f6a Tritanomaly 0.01% of the population