#402797 Color Information

In a RGB color space, hex #402797 is composed of 25.1% red, 15.3% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 57.6% cyan, 74.2% magenta, 0% yellow and 40.8% black. It has a hue angle of 253.4 degrees, a saturation of 58.9% and a lightness of 37.3%. #402797 color hex could be obtained by blending #804eff with #00002f. Closest websafe color is: #333399.

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

#402797 color description : Dark blue.

#402797 Color Conversion

The hexadecimal color #402797 has RGB values of R:64, G:39, B:151 and CMYK values of C:0.58, M:0.74, Y:0, K:0.41. Its decimal value is 4204439.

Hex triplet 402797 #402797
RGB Decimal 64, 39, 151 rgb(64,39,151)
RGB Percent 25.1, 15.3, 59.2 rgb(25.1%,15.3%,59.2%)
CMYK 58, 74, 0, 41
HSL 253.4°, 58.9, 37.3 hsl(253.4,58.9%,37.3%)
HSV (or HSB) 253.4°, 74.2, 59.2
Web Safe 333399 #333399
CIE-LAB 26.084, 41.536, -57.226
XYZ 8.425, 4.775, 29.754
xyY 0.196, 0.111, 4.775
CIE-LCH 26.084, 70.711, 305.973
CIE-LUV 26.084, 0.404, -72.74
Hunter-Lab 21.852, 30.577, -65.434
Binary 01000000, 00100111, 10010111

Color Schemes with #402797

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

Alternatives to #402797

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

Similar Colors

#402797 Preview

Text with hexadecimal color #402797

This text has a font color of #402797.

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

This paragraph has a background color of #402797.

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

This element has a border color of #402797.

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

Shades and Tints of #402797

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, #05030b is the darkest color, while #fbfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402797

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402797 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
  • #004976 Deuteranopia 1% of men
  • #234d53 Tritanopia 0.001% of the population
Trichromacy
  • #173a8d Protanomaly 1% of men, 0.01% of women
  • #173d82 Deuteranomaly 6% of men, 0.4% of women
  • #2d3f6b Tritanomaly 0.01% of the population