#402b9b Color Information

In a RGB color space, hex #402b9b is composed of 25.1% red, 16.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 58.7% cyan, 72.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 251.3 degrees, a saturation of 56.6% and a lightness of 38.8%. #402b9b color hex could be obtained by blending #8056ff with #000037. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 61
    RGB color chart
    • C 59
    • M 72
    • Y 0
    • K 39
    CMYK color chart

#402b9b color description : Dark blue.

#402b9b Color Conversion

The hexadecimal color #402b9b has RGB values of R:64, G:43, B:155 and CMYK values of C:0.59, M:0.72, Y:0, K:0.39. Its decimal value is 4205467.

Hex triplet 402b9b #402b9b
RGB Decimal 64, 43, 155 rgb(64,43,155)
RGB Percent 25.1, 16.9, 60.8 rgb(25.1%,16.9%,60.8%)
CMYK 59, 72, 0, 39
HSL 251.3°, 56.6, 38.8 hsl(251.3,56.6%,38.8%)
HSV (or HSB) 251.3°, 72.3, 60.8
Web Safe 333399 #333399
CIE-LAB 27.253, 40.56, -57.759
XYZ 8.894, 5.184, 31.541
xyY 0.195, 0.114, 5.184
CIE-LCH 27.253, 70.578, 305.078
CIE-LUV 27.253, -0.566, -74.74
Hunter-Lab 22.768, 29.879, -66.195
Binary 01000000, 00101011, 10011011

Color Schemes with #402b9b

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

Alternatives to #402b9b

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

Similar Colors

#402b9b Preview

Text with hexadecimal color #402b9b

This text has a font color of #402b9b.

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

This paragraph has a background color of #402b9b.

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

This element has a border color of #402b9b.

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

Shades and Tints of #402b9b

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

Shade Color Variation
Tint Color Variation

Tones of #402b9b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b9b 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.

  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3a51 Atypical Achromatopsia 0.001% of the population
  • #00488c Protanopia 1% of men
  • #004c7a Deuteranopia 1% of men
  • #1f5056 Tritanopia 0.001% of the population
  • #173d91 Protanomaly 1% of men, 0.01% of women
  • #174086 Deuteranomaly 6% of men, 0.4% of women
  • #2b426f Tritanomaly 0.01% of the population