#402c98 Color Information

In a RGB color space, hex #402c98 is composed of 25.1% red, 17.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 71.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 251.1 degrees, a saturation of 55.1% and a lightness of 38.4%. #402c98 color hex could be obtained by blending #8058ff with #000031. Closest websafe color is: #333399.

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

#402c98 color description : Dark blue.

#402c98 Color Conversion

The hexadecimal color #402c98 has RGB values of R:64, G:44, B:152 and CMYK values of C:0.58, M:0.71, Y:0, K:0.4. Its decimal value is 4205720.

Hex triplet 402c98 #402c98
RGB Decimal 64, 44, 152 rgb(64,44,152)
RGB Percent 25.1, 17.3, 59.6 rgb(25.1%,17.3%,59.6%)
CMYK 58, 71, 0, 40
HSL 251.1°, 55.1, 38.4 hsl(251.1,55.1%,38.4%)
HSV (or HSB) 251.1°, 71.1, 59.6
Web Safe 333399 #333399
CIE-LAB 27.18, 39.053, -56.042
XYZ 8.681, 5.158, 30.242
xyY 0.197, 0.117, 5.158
CIE-LCH 27.18, 68.307, 304.871
CIE-LUV 27.18, -0.496, -72.695
Hunter-Lab 22.711, 28.487, -63.052
Binary 01000000, 00101100, 10011000

Color Schemes with #402c98

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

Alternatives to #402c98

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

Similar Colors

#402c98 Preview

Text with hexadecimal color #402c98

This text has a font color of #402c98.

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

This paragraph has a background color of #402c98.

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

This element has a border color of #402c98.

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

Shades and Tints of #402c98

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

Shade Color Variation
Tint Color Variation

Tones of #402c98

A tone is produced by adding gray to any pure hue. In this case, #616163 is the less saturated color, while #2806be is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c98 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3a50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478c Protanopia 1% of men
  • #004b7a Deuteranopia 1% of men
  • #235055 Tritanopia 0.001% of the population
Trichromacy
  • #173d90 Protanomaly 1% of men, 0.01% of women
  • #174085 Deuteranomaly 6% of men, 0.4% of women
  • #2e426d Tritanomaly 0.01% of the population