#402c8c Color Information

In a RGB color space, hex #402c8c is composed of 25.1% red, 17.3% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 68.6% magenta, 0% yellow and 45.1% black. It has a hue angle of 252.5 degrees, a saturation of 52.2% and a lightness of 36.1%. #402c8c color hex could be obtained by blending #8058ff with #000019. Closest websafe color is: #333399.

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

#402c8c color description : Dark moderate blue.

#402c8c Color Conversion

The hexadecimal color #402c8c has RGB values of R:64, G:44, B:140 and CMYK values of C:0.54, M:0.69, Y:0, K:0.45. Its decimal value is 4205708.

Hex triplet 402c8c #402c8c
RGB Decimal 64, 44, 140 rgb(64,44,140)
RGB Percent 25.1, 17.3, 54.9 rgb(25.1%,17.3%,54.9%)
CMYK 54, 69, 0, 45
HSL 252.5°, 52.2, 36.1 hsl(252.5,52.2%,36.1%)
HSV (or HSB) 252.5°, 68.6, 54.9
Web Safe 333399 #333399
CIE-LAB 26.112, 35.278, -50.389
XYZ 7.748, 4.785, 25.325
xyY 0.205, 0.126, 4.785
CIE-LCH 26.112, 61.511, 304.996
CIE-LUV 26.112, 0.499, -64.971
Hunter-Lab 21.874, 24.947, -53.333
Binary 01000000, 00101100, 10001100

Color Schemes with #402c8c

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

Alternatives to #402c8c

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

Similar Colors

#402c8c Preview

Text with hexadecimal color #402c8c

This text has a font color of #402c8c.

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

This paragraph has a background color of #402c8c.

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

This element has a border color of #402c8c.

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

Shades and Tints of #402c8c

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 #f7f6fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402c8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c8c 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
  • #2e4c51 Tritanopia 0.001% of the population
Trichromacy
  • #173c89 Protanomaly 1% of men, 0.01% of women
  • #173e7e Deuteranomaly 6% of men, 0.4% of women
  • #344067 Tritanomaly 0.01% of the population