#402e7b Color Information

In a RGB color space, hex #402e7b is composed of 25.1% red, 18% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 62.6% magenta, 0% yellow and 51.8% black. It has a hue angle of 254 degrees, a saturation of 45.6% and a lightness of 33.1%. #402e7b color hex could be obtained by blending #805cf6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 48
    RGB color chart
    • C 48
    • M 63
    • Y 0
    • K 52
    CMYK color chart

#402e7b color description : Dark moderate blue.

#402e7b Color Conversion

The hexadecimal color #402e7b has RGB values of R:64, G:46, B:123 and CMYK values of C:0.48, M:0.63, Y:0, K:0.52. Its decimal value is 4206203.

Hex triplet 402e7b #402e7b
RGB Decimal 64, 46, 123 rgb(64,46,123)
RGB Percent 25.1, 18, 48.2 rgb(25.1%,18%,48.2%)
CMYK 48, 63, 0, 52
HSL 254°, 45.6, 33.1 hsl(254,45.6%,33.1%)
HSV (or HSB) 254°, 62.6, 48.2
Web Safe 333366 #333366
CIE-LAB 25.18, 28.693, -41.25
XYZ 6.666, 4.474, 19.25
xyY 0.219, 0.147, 4.474
CIE-LCH 25.18, 50.248, 304.822
CIE-LUV 25.18, 1.599, -53.093
Hunter-Lab 21.152, 19.238, -39.154
Binary 01000000, 00101110, 01111011

Color Schemes with #402e7b

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

Alternatives to #402e7b

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

Similar Colors

#402e7b Preview

Text with hexadecimal color #402e7b

This text has a font color of #402e7b.

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

This paragraph has a background color of #402e7b.

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

This element has a border color of #402e7b.

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

Shades and Tints of #402e7b

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

Shade Color Variation
Tint Color Variation

Tones of #402e7b

A tone is produced by adding gray to any pure hue. In this case, #514f5b is the less saturated color, while #2800a9 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e7b 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
  • #3d3949 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #004775 Deuteranopia 1% of men
  • #38484d Tritanopia 0.001% of the population
Trichromacy
  • #173b81 Protanomaly 1% of men, 0.01% of women
  • #173e77 Deuteranomaly 6% of men, 0.4% of women
  • #3b3e5e Tritanomaly 0.01% of the population