#402a95 Color Information

In a RGB color space, hex #402a95 is composed of 25.1% red, 16.5% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 57% cyan, 71.8% magenta, 0% yellow and 41.6% black. It has a hue angle of 252.3 degrees, a saturation of 56% and a lightness of 37.5%. #402a95 color hex could be obtained by blending #8054ff with #00002b. Closest websafe color is: #333399.

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

#402a95 color description : Dark blue.

#402a95 Color Conversion

The hexadecimal color #402a95 has RGB values of R:64, G:42, B:149 and CMYK values of C:0.57, M:0.72, Y:0, K:0.42. Its decimal value is 4205205.

Hex triplet 402a95 #402a95
RGB Decimal 64, 42, 149 rgb(64,42,149)
RGB Percent 25.1, 16.5, 58.4 rgb(25.1%,16.5%,58.4%)
CMYK 57, 72, 0, 42
HSL 252.3°, 56, 37.5 hsl(252.3,56%,37.5%)
HSV (or HSB) 252.3°, 71.8, 58.4
Web Safe 333399 #333399
CIE-LAB 26.493, 39.256, -55.327
XYZ 8.366, 4.916, 28.94
xyY 0.198, 0.116, 4.916
CIE-LCH 26.493, 67.839, 305.357
CIE-LUV 26.493, 0.092, -71.098
Hunter-Lab 22.171, 28.556, -61.872
Binary 01000000, 00101010, 10010101

Color Schemes with #402a95

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

Alternatives to #402a95

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

Similar Colors

#402a95 Preview

Text with hexadecimal color #402a95

This text has a font color of #402a95.

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

This paragraph has a background color of #402a95.

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

This element has a border color of #402a95.

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

Shades and Tints of #402a95

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

Shade Color Variation
Tint Color Variation

Tones of #402a95

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a95 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
  • #004689 Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #264e53 Tritanopia 0.001% of the population
Trichromacy
  • #173c8d Protanomaly 1% of men, 0.01% of women
  • #173e82 Deuteranomaly 6% of men, 0.4% of women
  • #2f416b Tritanomaly 0.01% of the population