#402498 Color Information

In a RGB color space, hex #402498 is composed of 25.1% red, 14.1% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 76.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 254.5 degrees, a saturation of 61.7% and a lightness of 36.9%. #402498 color hex could be obtained by blending #8048ff with #000031. Closest websafe color is: #333399.

    • R 25
    • G 14
    • B 60
    RGB color chart
    • C 58
    • M 76
    • Y 0
    • K 40
    CMYK color chart

#402498 color description : Dark blue.

#402498 Color Conversion

The hexadecimal color #402498 has RGB values of R:64, G:36, B:152 and CMYK values of C:0.58, M:0.76, Y:0, K:0.4. Its decimal value is 4203672.

Hex triplet 402498 #402498
RGB Decimal 64, 36, 152 rgb(64,36,152)
RGB Percent 25.1, 14.1, 59.6 rgb(25.1%,14.1%,59.6%)
CMYK 58, 76, 0, 40
HSL 254.5°, 61.7, 36.9 hsl(254.5,61.7%,36.9%)
HSV (or HSB) 254.5°, 76.3, 59.6
Web Safe 333399 #333399
CIE-LAB 25.619, 43.426, -58.605
XYZ 8.412, 4.619, 30.152
xyY 0.195, 0.107, 4.619
CIE-LCH 25.619, 72.941, 306.539
CIE-LUV 25.619, 0.754, -73.647
Hunter-Lab 21.491, 32.258, -68.143
Binary 01000000, 00100100, 10011000

Color Schemes with #402498

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

Alternatives to #402498

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

Similar Colors

#402498 Preview

Text with hexadecimal color #402498

This text has a font color of #402498.

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

This paragraph has a background color of #402498.

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

This element has a border color of #402498.

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

Shades and Tints of #402498

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

Shade Color Variation
Tint Color Variation

Tones of #402498

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402498 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b364d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004874 Deuteranopia 1% of men
  • #214c52 Tritanopia 0.001% of the population
Trichromacy
  • #17388c Protanomaly 1% of men, 0.01% of women
  • #173b81 Deuteranomaly 6% of men, 0.4% of women
  • #2c3d6b Tritanomaly 0.01% of the population