#402b9e Color Information

In a RGB color space, hex #402b9e is composed of 25.1% red, 16.9% green and 62% blue. Whereas in a CMYK color space, it is composed of 59.5% cyan, 72.8% magenta, 0% yellow and 38% black. It has a hue angle of 251 degrees, a saturation of 57.2% and a lightness of 39.4%. #402b9e color hex could be obtained by blending #8056ff with #00003d. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 62
    RGB color chart
    • C 59
    • M 73
    • Y 0
    • K 38
    CMYK color chart

#402b9e color description : Dark blue.

#402b9e Color Conversion

The hexadecimal color #402b9e has RGB values of R:64, G:43, B:158 and CMYK values of C:0.59, M:0.73, Y:0, K:0.38. Its decimal value is 4205470.

Hex triplet 402b9e #402b9e
RGB Decimal 64, 43, 158 rgb(64,43,158)
RGB Percent 25.1, 16.9, 62 rgb(25.1%,16.9%,62%)
CMYK 59, 73, 0, 38
HSL 251°, 57.2, 39.4 hsl(251,57.2%,39.4%)
HSV (or HSB) 251°, 72.8, 62
Web Safe 333399 #333399
CIE-LAB 27.535, 41.495, -59.126
XYZ 9.149, 5.286, 32.884
xyY 0.193, 0.112, 5.286
CIE-LCH 27.535, 72.233, 305.062
CIE-LUV 27.535, -0.803, -76.62
Hunter-Lab 22.991, 30.793, -68.707
Binary 01000000, 00101011, 10011110

Color Schemes with #402b9e

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

Alternatives to #402b9e

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

Similar Colors

#402b9e Preview

Text with hexadecimal color #402b9e

This text has a font color of #402b9e.

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

This paragraph has a background color of #402b9e.

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

This element has a border color of #402b9e.

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

Shades and Tints of #402b9e

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 #f5f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402b9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b9e 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3a51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488d Protanopia 1% of men
  • #004c7b Deuteranopia 1% of men
  • #1b5157 Tritanopia 0.001% of the population
Trichromacy
  • #173d93 Protanomaly 1% of men, 0.01% of women
  • #174088 Deuteranomaly 6% of men, 0.4% of women
  • #284371 Tritanomaly 0.01% of the population