#40407e Color Information

In a RGB color space, hex #40407e is composed of 25.1% red, 25.1% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 49.2% magenta, 0% yellow and 50.6% black. It has a hue angle of 240 degrees, a saturation of 32.6% and a lightness of 37.3%. #40407e color hex could be obtained by blending #8080fc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 25
    • B 49
    RGB color chart
    • C 49
    • M 49
    • Y 0
    • K 51
    CMYK color chart

#40407e color description : Dark moderate blue.

#40407e Color Conversion

The hexadecimal color #40407e has RGB values of R:64, G:64, B:126 and CMYK values of C:0.49, M:0.49, Y:0, K:0.51. Its decimal value is 4210814.

Hex triplet 40407e #40407e
RGB Decimal 64, 64, 126 rgb(64,64,126)
RGB Percent 25.1, 25.1, 49.4 rgb(25.1%,25.1%,49.4%)
CMYK 49, 49, 0, 51
HSL 240°, 32.6, 37.3 hsl(240,32.6%,37.3%)
HSV (or HSB) 240°, 49.2, 49.4
Web Safe 333366 #333366
CIE-LAB 30.066, 17.908, -35.279
XYZ 7.713, 6.263, 20.54
xyY 0.223, 0.181, 6.263
CIE-LCH 30.066, 39.564, 296.913
CIE-LUV 30.066, -3.473, -48.122
Hunter-Lab 25.026, 11.218, -31.144
Binary 01000000, 01000000, 01111110

Color Schemes with #40407e

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

Alternatives to #40407e

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

Similar Colors

#40407e Preview

Text with hexadecimal color #40407e

This text has a font color of #40407e.

<span style="color:#40407e;">Text here</span>
#40407e background color

This paragraph has a background color of #40407e.

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

This element has a border color of #40407e.

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

Shades and Tints of #40407e

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

Shade Color Variation
Tint Color Variation

Tones of #40407e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40407e 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
  • #474747 Achromatopsia 0.005% of the population
  • #464652 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #314e88 Protanopia 1% of men
  • #285181 Deuteranopia 1% of men
  • #3a545a Tritanopia 0.001% of the population
Trichromacy
  • #364984 Protanomaly 1% of men, 0.01% of women
  • #304a80 Deuteranomaly 6% of men, 0.4% of women
  • #3c4d67 Tritanomaly 0.01% of the population