#402d7b Color Information

In a RGB color space, hex #402d7b is composed of 25.1% red, 17.6% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 63.4% magenta, 0% yellow and 51.8% black. It has a hue angle of 254.6 degrees, a saturation of 46.4% and a lightness of 32.9%. #402d7b color hex could be obtained by blending #805af6 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

#402d7b color description : Dark moderate blue.

#402d7b Color Conversion

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

Hex triplet 402d7b #402d7b
RGB Decimal 64, 45, 123 rgb(64,45,123)
RGB Percent 25.1, 17.6, 48.2 rgb(25.1%,17.6%,48.2%)
CMYK 48, 63, 0, 52
HSL 254.6°, 46.4, 32.9 hsl(254.6,46.4%,32.9%)
HSV (or HSB) 254.6°, 63.4, 48.2
Web Safe 333366 #333366
CIE-LAB 24.942, 29.322, -41.636
XYZ 6.627, 4.397, 19.237
xyY 0.219, 0.145, 4.397
CIE-LCH 24.942, 50.925, 305.155
CIE-LUV 24.942, 1.823, -53.379
Hunter-Lab 20.968, 19.722, -39.717
Binary 01000000, 00101101, 01111011

Color Schemes with #402d7b

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

Alternatives to #402d7b

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

Similar Colors

#402d7b Preview

Text with hexadecimal color #402d7b

This text has a font color of #402d7b.

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

This paragraph has a background color of #402d7b.

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

This element has a border color of #402d7b.

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

Shades and Tints of #402d7b

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

Shade Color Variation
Tint Color Variation

Tones of #402d7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d7b 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
  • #004383 Protanopia 1% of men
  • #004674 Deuteranopia 1% of men
  • #38474d Tritanopia 0.001% of the population
Trichromacy
  • #173b80 Protanomaly 1% of men, 0.01% of women
  • #173d76 Deuteranomaly 6% of men, 0.4% of women
  • #3a3e5d Tritanomaly 0.01% of the population