#402ecc Color Information

In a RGB color space, hex #402ecc is composed of 25.1% red, 18% green and 80% blue. Whereas in a CMYK color space, it is composed of 68.6% cyan, 77.5% magenta, 0% yellow and 20% black. It has a hue angle of 246.8 degrees, a saturation of 63.2% and a lightness of 49%. #402ecc color hex could be obtained by blending #805cff with #000099. Closest websafe color is: #3333cc.

    • R 25
    • G 18
    • B 80
    RGB color chart
    • C 69
    • M 77
    • Y 0
    • K 20
    CMYK color chart

#402ecc color description : Strong blue.

#402ecc Color Conversion

The hexadecimal color #402ecc has RGB values of R:64, G:46, B:204 and CMYK values of C:0.69, M:0.77, Y:0, K:0.2. Its decimal value is 4206284.

Hex triplet 402ecc #402ecc
RGB Decimal 64, 46, 204 rgb(64,46,204)
RGB Percent 25.1, 18, 80 rgb(25.1%,18%,80%)
CMYK 69, 77, 0, 20
HSL 246.8°, 63.2, 49 hsl(246.8,63.2%,49%)
HSV (or HSB) 246.8°, 77.5, 80
Web Safe 3333cc #3333cc
CIE-LAB 32.707, 54.041, -77.976
XYZ 13.988, 7.403, 57.815
xyY 0.177, 0.093, 7.403
CIE-LCH 32.707, 94.872, 304.724
CIE-LUV 32.707, -4.412, -104.221
Hunter-Lab 27.208, 44.156, -106.94
Binary 01000000, 00101110, 11001100

Color Schemes with #402ecc

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

Alternatives to #402ecc

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

Similar Colors

#402ecc Preview

Text with hexadecimal color #402ecc

This text has a font color of #402ecc.

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

This paragraph has a background color of #402ecc.

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

This element has a border color of #402ecc.

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

Shades and Tints of #402ecc

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, #04030c is the darkest color, while #fbfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402ecc

A tone is produced by adding gray to any pure hue. In this case, #7b7b7f is the less saturated color, while #2208f2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402ecc 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
  • #454545 Achromatopsia 0.005% of the population
  • #444060 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0053a2 Protanopia 1% of men
  • #00588d Deuteranopia 1% of men
  • #005e64 Tritanopia 0.001% of the population
Trichromacy
  • #1746b1 Protanomaly 1% of men, 0.01% of women
  • #1749a3 Deuteranomaly 6% of men, 0.4% of women
  • #174c89 Tritanomaly 0.01% of the population