#402b8a Color Information

In a RGB color space, hex #402b8a is composed of 25.1% red, 16.9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 68.8% magenta, 0% yellow and 45.9% black. It has a hue angle of 253.3 degrees, a saturation of 52.5% and a lightness of 35.5%. #402b8a color hex could be obtained by blending #8056ff with #000015. Closest websafe color is: #333399.

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

#402b8a color description : Dark moderate blue.

#402b8a Color Conversion

The hexadecimal color #402b8a has RGB values of R:64, G:43, B:138 and CMYK values of C:0.54, M:0.69, Y:0, K:0.46. Its decimal value is 4205450.

Hex triplet 402b8a #402b8a
RGB Decimal 64, 43, 138 rgb(64,43,138)
RGB Percent 25.1, 16.9, 54.1 rgb(25.1%,16.9%,54.1%)
CMYK 54, 69, 0, 46
HSL 253.3°, 52.5, 35.5 hsl(253.3,52.5%,35.5%)
HSV (or HSB) 253.3°, 68.8, 54.1
Web Safe 333399 #333399
CIE-LAB 25.721, 35.243, -49.784
XYZ 7.565, 4.653, 24.543
xyY 0.206, 0.127, 4.653
CIE-LCH 25.721, 60.996, 305.295
CIE-LUV 25.721, 0.862, -63.865
Hunter-Lab 21.57, 24.856, -52.363
Binary 01000000, 00101011, 10001010

Color Schemes with #402b8a

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

Alternatives to #402b8a

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

Similar Colors

#402b8a Preview

Text with hexadecimal color #402b8a

This text has a font color of #402b8a.

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

This paragraph has a background color of #402b8a.

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

This element has a border color of #402b8a.

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

Shades and Tints of #402b8a

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

Shade Color Variation
Tint Color Variation

Tones of #402b8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b8a 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d394c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004486 Protanopia 1% of men
  • #004875 Deuteranopia 1% of men
  • #2f4b50 Tritanopia 0.001% of the population
Trichromacy
  • #173b87 Protanomaly 1% of men, 0.01% of women
  • #173d7d Deuteranomaly 6% of men, 0.4% of women
  • #353f65 Tritanomaly 0.01% of the population