#402f98 Color Information

In a RGB color space, hex #402f98 is composed of 25.1% red, 18.4% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 69.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 249.7 degrees, a saturation of 52.8% and a lightness of 39%. #402f98 color hex could be obtained by blending #805eff with #000031. Closest websafe color is: #333399.

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

#402f98 color description : Dark moderate blue.

#402f98 Color Conversion

The hexadecimal color #402f98 has RGB values of R:64, G:47, B:152 and CMYK values of C:0.58, M:0.69, Y:0, K:0.4. Its decimal value is 4206488.

Hex triplet 402f98 #402f98
RGB Decimal 64, 47, 152 rgb(64,47,152)
RGB Percent 25.1, 18.4, 59.6 rgb(25.1%,18.4%,59.6%)
CMYK 58, 69, 0, 40
HSL 249.7°, 52.8, 39 hsl(249.7,52.8%,39%)
HSV (or HSB) 249.7°, 69.1, 59.6
Web Safe 333399 #333399
CIE-LAB 27.817, 37.304, -54.999
XYZ 8.797, 5.39, 30.281
xyY 0.198, 0.121, 5.39
CIE-LCH 27.817, 66.457, 304.148
CIE-LUV 27.817, -1.038, -72.172
Hunter-Lab 23.216, 27.012, -61.082
Binary 01000000, 00101111, 10011000

Color Schemes with #402f98

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

Alternatives to #402f98

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

Similar Colors

#402f98 Preview

Text with hexadecimal color #402f98

This text has a font color of #402f98.

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

This paragraph has a background color of #402f98.

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

This element has a border color of #402f98.

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

Shades and Tints of #402f98

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, #010102 is the darkest color, while #f4f2fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f98

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f98 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
  • #404040 Achromatopsia 0.005% of the population
  • #403d52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #245157 Tritanopia 0.001% of the population
Trichromacy
  • #173f92 Protanomaly 1% of men, 0.01% of women
  • #174286 Deuteranomaly 6% of men, 0.4% of women
  • #2e446e Tritanomaly 0.01% of the population