#402898 Color Information

In a RGB color space, hex #402898 is composed of 25.1% red, 15.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 73.7% magenta, 0% yellow and 40.4% black. It has a hue angle of 252.9 degrees, a saturation of 58.3% and a lightness of 37.6%. #402898 color hex could be obtained by blending #8050ff with #000031. Closest websafe color is: #333399.

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

#402898 color description : Dark blue.

#402898 Color Conversion

The hexadecimal color #402898 has RGB values of R:64, G:40, B:152 and CMYK values of C:0.58, M:0.74, Y:0, K:0.4. Its decimal value is 4204696.

Hex triplet 402898 #402898
RGB Decimal 64, 40, 152 rgb(64,40,152)
RGB Percent 25.1, 15.7, 59.6 rgb(25.1%,15.7%,59.6%)
CMYK 58, 74, 0, 40
HSL 252.9°, 58.3, 37.6 hsl(252.9,58.3%,37.6%)
HSV (or HSB) 252.9°, 73.7, 59.6
Web Safe 333399 #333399
CIE-LAB 26.374, 41.297, -57.365
XYZ 8.54, 4.874, 30.195
xyY 0.196, 0.112, 4.874
CIE-LCH 26.374, 70.684, 305.75
CIE-LUV 26.374, 0.164, -73.248
Hunter-Lab 22.078, 30.407, -65.634
Binary 01000000, 00101000, 10011000

Color Schemes with #402898

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

Alternatives to #402898

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

Similar Colors

#402898 Preview

Text with hexadecimal color #402898

This text has a font color of #402898.

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

This paragraph has a background color of #402898.

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

This element has a border color of #402898.

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

Shades and Tints of #402898

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

Shade Color Variation
Tint Color Variation

Tones of #402898

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402898 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d384e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004a77 Deuteranopia 1% of men
  • #224e53 Tritanopia 0.001% of the population
Trichromacy
  • #173b8e Protanomaly 1% of men, 0.01% of women
  • #173d83 Deuteranomaly 6% of men, 0.4% of women
  • #2d406c Tritanomaly 0.01% of the population