#402b8b Color Information

In a RGB color space, hex #402b8b is composed of 25.1% red, 16.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 69.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 253.1 degrees, a saturation of 52.7% and a lightness of 35.7%. #402b8b color hex could be obtained by blending #8056ff with #000017. 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

#402b8b color description : Dark moderate blue.

#402b8b Color Conversion

The hexadecimal color #402b8b has RGB values of R:64, G:43, B:139 and CMYK values of C:0.54, M:0.69, Y:0, K:0.45. Its decimal value is 4205451.

Hex triplet 402b8b #402b8b
RGB Decimal 64, 43, 139 rgb(64,43,139)
RGB Percent 25.1, 16.9, 54.5 rgb(25.1%,16.9%,54.5%)
CMYK 54, 69, 0, 45
HSL 253.1°, 52.7, 35.7 hsl(253.1,52.7%,35.7%)
HSV (or HSB) 253.1°, 69.1, 54.5
Web Safe 333399 #333399
CIE-LAB 25.808, 35.556, -50.265
XYZ 7.638, 4.682, 24.926
xyY 0.205, 0.126, 4.682
CIE-LCH 25.808, 61.569, 305.275
CIE-LUV 25.808, 0.774, -64.516
Hunter-Lab 21.637, 25.143, -53.156
Binary 01000000, 00101011, 10001011

Color Schemes with #402b8b

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

Alternatives to #402b8b

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

Similar Colors

#402b8b Preview

Text with hexadecimal color #402b8b

This text has a font color of #402b8b.

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

This paragraph has a background color of #402b8b.

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

This element has a border color of #402b8b.

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

Shades and Tints of #402b8b

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

Shade Color Variation
Tint Color Variation

Tones of #402b8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b8b 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
  • #004586 Protanopia 1% of men
  • #004876 Deuteranopia 1% of men
  • #2e4b51 Tritanopia 0.001% of the population
Trichromacy
  • #173b88 Protanomaly 1% of men, 0.01% of women
  • #173e7d Deuteranomaly 6% of men, 0.4% of women
  • #353f66 Tritanomaly 0.01% of the population