#402c8d Color Information

In a RGB color space, hex #402c8d is composed of 25.1% red, 17.3% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 68.8% magenta, 0% yellow and 44.7% black. It has a hue angle of 252.4 degrees, a saturation of 52.4% and a lightness of 36.3%. #402c8d color hex could be obtained by blending #8058ff with #00001b. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 55
    RGB color chart
    • C 55
    • M 69
    • Y 0
    • K 45
    CMYK color chart

#402c8d color description : Dark moderate blue.

#402c8d Color Conversion

The hexadecimal color #402c8d has RGB values of R:64, G:44, B:141 and CMYK values of C:0.55, M:0.69, Y:0, K:0.45. Its decimal value is 4205709.

Hex triplet 402c8d #402c8d
RGB Decimal 64, 44, 141 rgb(64,44,141)
RGB Percent 25.1, 17.3, 55.3 rgb(25.1%,17.3%,55.3%)
CMYK 55, 69, 0, 45
HSL 252.4°, 52.4, 36.3 hsl(252.4,52.4%,36.3%)
HSV (or HSB) 252.4°, 68.8, 55.3
Web Safe 333399 #333399
CIE-LAB 26.199, 35.592, -50.868
XYZ 7.822, 4.814, 25.715
xyY 0.204, 0.126, 4.814
CIE-LCH 26.199, 62.084, 304.981
CIE-LUV 26.199, 0.414, -65.623
Hunter-Lab 21.941, 25.236, -54.128
Binary 01000000, 00101100, 10001101

Color Schemes with #402c8d

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

Alternatives to #402c8d

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

Similar Colors

#402c8d Preview

Text with hexadecimal color #402c8d

This text has a font color of #402c8d.

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

This paragraph has a background color of #402c8d.

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

This element has a border color of #402c8d.

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

Shades and Tints of #402c8d

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

Shade Color Variation
Tint Color Variation

Tones of #402c8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c8d 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
  • #3e3a4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #2d4c52 Tritanopia 0.001% of the population
Trichromacy
  • #173c8a Protanomaly 1% of men, 0.01% of women
  • #173e7f Deuteranomaly 6% of men, 0.4% of women
  • #344067 Tritanomaly 0.01% of the population