#402b80 Color Information

In a RGB color space, hex #402b80 is composed of 25.1% red, 16.9% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 66.4% magenta, 0% yellow and 49.8% black. It has a hue angle of 254.8 degrees, a saturation of 49.7% and a lightness of 33.5%. #402b80 color hex could be obtained by blending #8056ff with #000001. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 50
    RGB color chart
    • C 50
    • M 66
    • Y 0
    • K 50
    CMYK color chart

#402b80 color description : Dark moderate blue.

#402b80 Color Conversion

The hexadecimal color #402b80 has RGB values of R:64, G:43, B:128 and CMYK values of C:0.5, M:0.66, Y:0, K:0.5. Its decimal value is 4205440.

Hex triplet 402b80 #402b80
RGB Decimal 64, 43, 128 rgb(64,43,128)
RGB Percent 25.1, 16.9, 50.2 rgb(25.1%,16.9%,50.2%)
CMYK 50, 66, 0, 50
HSL 254.8°, 49.7, 33.5 hsl(254.8,49.7%,33.5%)
HSV (or HSB) 254.8°, 66.4, 50.2
Web Safe 333399 #333399
CIE-LAB 24.878, 32.119, -44.897
XYZ 6.874, 4.376, 20.903
xyY 0.214, 0.136, 4.376
CIE-LCH 24.878, 55.203, 305.579
CIE-LUV 24.878, 1.775, -57.27
Hunter-Lab 20.919, 22.044, -44.602
Binary 01000000, 00101011, 10000000

Color Schemes with #402b80

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

Alternatives to #402b80

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

Similar Colors

#402b80 Preview

Text with hexadecimal color #402b80

This text has a font color of #402b80.

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

This paragraph has a background color of #402b80.

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

This element has a border color of #402b80.

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

Shades and Tints of #402b80

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, #05040b is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402b80

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b80 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c3849 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004673 Deuteranopia 1% of men
  • #35484d Tritanopia 0.001% of the population
Trichromacy
  • #173a82 Protanomaly 1% of men, 0.01% of women
  • #173c78 Deuteranomaly 6% of men, 0.4% of women
  • #393d5f Tritanomaly 0.01% of the population