#402b95 Color Information

In a RGB color space, hex #402b95 is composed of 25.1% red, 16.9% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 57% cyan, 71.1% magenta, 0% yellow and 41.6% black. It has a hue angle of 251.9 degrees, a saturation of 55.2% and a lightness of 37.6%. #402b95 color hex could be obtained by blending #8056ff with #00002b. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 58
    RGB color chart
    • C 57
    • M 71
    • Y 0
    • K 42
    CMYK color chart

#402b95 color description : Dark blue.

#402b95 Color Conversion

The hexadecimal color #402b95 has RGB values of R:64, G:43, B:149 and CMYK values of C:0.57, M:0.71, Y:0, K:0.42. Its decimal value is 4205461.

Hex triplet 402b95 #402b95
RGB Decimal 64, 43, 149 rgb(64,43,149)
RGB Percent 25.1, 16.9, 58.4 rgb(25.1%,16.9%,58.4%)
CMYK 57, 71, 0, 42
HSL 251.9°, 55.2, 37.6 hsl(251.9,55.2%,37.6%)
HSV (or HSB) 251.9°, 71.1, 58.4
Web Safe 333399 #333399
CIE-LAB 26.699, 38.686, -54.99
XYZ 8.402, 4.987, 28.952
xyY 0.198, 0.118, 4.987
CIE-LCH 26.699, 67.235, 305.127
CIE-LUV 26.699, -0.078, -70.946
Hunter-Lab 22.333, 28.074, -61.231
Binary 01000000, 00101011, 10010101

Color Schemes with #402b95

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

Alternatives to #402b95

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

Similar Colors

#402b95 Preview

Text with hexadecimal color #402b95

This text has a font color of #402b95.

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

This paragraph has a background color of #402b95.

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

This element has a border color of #402b95.

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

Shades and Tints of #402b95

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, #05030c is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402b95

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b95 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #3e394f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00468a Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #264e54 Tritanopia 0.001% of the population
Trichromacy
  • #173c8e Protanomaly 1% of men, 0.01% of women
  • #173f83 Deuteranomaly 6% of men, 0.4% of women
  • #2f416b Tritanomaly 0.01% of the population