#402e98 Color Information

In a RGB color space, hex #402e98 is composed of 25.1% red, 18% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 69.7% magenta, 0% yellow and 40.4% black. It has a hue angle of 250.2 degrees, a saturation of 53.5% and a lightness of 38.8%. #402e98 color hex could be obtained by blending #805cff with #000031. Closest websafe color is: #333399.

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

#402e98 color description : Dark moderate blue.

#402e98 Color Conversion

The hexadecimal color #402e98 has RGB values of R:64, G:46, B:152 and CMYK values of C:0.58, M:0.7, Y:0, K:0.4. Its decimal value is 4206232.

Hex triplet 402e98 #402e98
RGB Decimal 64, 46, 152 rgb(64,46,152)
RGB Percent 25.1, 18, 59.6 rgb(25.1%,18%,59.6%)
CMYK 58, 70, 0, 40
HSL 250.2°, 53.5, 38.8 hsl(250.2,53.5%,38.8%)
HSV (or HSB) 250.2°, 69.7, 59.6
Web Safe 333399 #333399
CIE-LAB 27.602, 37.893, -55.352
XYZ 8.758, 5.311, 30.268
xyY 0.198, 0.12, 5.311
CIE-LCH 27.602, 67.08, 304.395
CIE-LUV 27.602, -0.853, -72.357
Hunter-Lab 23.045, 27.507, -61.741
Binary 01000000, 00101110, 10011000

Color Schemes with #402e98

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

Alternatives to #402e98

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

Similar Colors

#402e98 Preview

Text with hexadecimal color #402e98

This text has a font color of #402e98.

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

This paragraph has a background color of #402e98.

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

This element has a border color of #402e98.

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

Shades and Tints of #402e98

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 #402e98

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e98 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #3f3c51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488e Protanopia 1% of men
  • #004c7c Deuteranopia 1% of men
  • #245156 Tritanopia 0.001% of the population
Trichromacy
  • #173f91 Protanomaly 1% of men, 0.01% of women
  • #174186 Deuteranomaly 6% of men, 0.4% of women
  • #2e446e Tritanomaly 0.01% of the population