#402a98 Color Information

In a RGB color space, hex #402a98 is composed of 25.1% red, 16.5% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 72.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 252 degrees, a saturation of 56.7% and a lightness of 38%. #402a98 color hex could be obtained by blending #8054ff with #000031. Closest websafe color is: #333399.

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

#402a98 color description : Dark blue.

#402a98 Color Conversion

The hexadecimal color #402a98 has RGB values of R:64, G:42, B:152 and CMYK values of C:0.58, M:0.72, Y:0, K:0.4. Its decimal value is 4205208.

Hex triplet 402a98 #402a98
RGB Decimal 64, 42, 152 rgb(64,42,152)
RGB Percent 25.1, 16.5, 59.6 rgb(25.1%,16.5%,59.6%)
CMYK 58, 72, 0, 40
HSL 252°, 56.7, 38 hsl(252,56.7%,38%)
HSV (or HSB) 252°, 72.4, 59.6
Web Safe 333399 #333399
CIE-LAB 26.771, 40.188, -56.714
XYZ 8.609, 5.013, 30.218
xyY 0.196, 0.114, 5.013
CIE-LCH 26.771, 69.509, 305.322
CIE-LUV 26.771, -0.157, -72.992
Hunter-Lab 22.389, 29.454, -64.35
Binary 01000000, 00101010, 10011000

Color Schemes with #402a98

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

Alternatives to #402a98

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

Similar Colors

#402a98 Preview

Text with hexadecimal color #402a98

This text has a font color of #402a98.

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

This paragraph has a background color of #402a98.

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

This element has a border color of #402a98.

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

Shades and Tints of #402a98

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, #06040e is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a98

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a98 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e394f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478a Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #234f54 Tritanopia 0.001% of the population
Trichromacy
  • #173c8f Protanomaly 1% of men, 0.01% of women
  • #173f84 Deuteranomaly 6% of men, 0.4% of women
  • #2d416d Tritanomaly 0.01% of the population