#40407d Color Information

In a RGB color space, hex #40407d is composed of 25.1% red, 25.1% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 48.8% magenta, 0% yellow and 51% black. It has a hue angle of 240 degrees, a saturation of 32.3% and a lightness of 37.1%. #40407d color hex could be obtained by blending #8080fa 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

#40407d color description : Dark moderate blue.

#40407d Color Conversion

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

Hex triplet 40407d #40407d
RGB Decimal 64, 64, 125 rgb(64,64,125)
RGB Percent 25.1, 25.1, 49 rgb(25.1%,25.1%,49%)
CMYK 49, 49, 0, 51
HSL 240°, 32.3, 37.1 hsl(240,32.3%,37.1%)
HSV (or HSB) 240°, 48.8, 49
Web Safe 333366 #333366
CIE-LAB 30.003, 17.577, -34.755
XYZ 7.649, 6.237, 20.202
xyY 0.224, 0.183, 6.237
CIE-LCH 30.003, 38.947, 296.828
CIE-LUV 30.003, -3.418, -47.36
Hunter-Lab 24.974, 10.962, -30.478
Binary 01000000, 01000000, 01111101

Color Schemes with #40407d

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

Alternatives to #40407d

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

Similar Colors

#40407d Preview

Text with hexadecimal color #40407d

This text has a font color of #40407d.

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

This paragraph has a background color of #40407d.

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

This element has a border color of #40407d.

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

Shades and Tints of #40407d

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

Shade Color Variation
Tint Color Variation

Tones of #40407d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40407d 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
  • #324e87 Protanopia 1% of men
  • #295080 Deuteranopia 1% of men
  • #3a545a Tritanopia 0.001% of the population
Trichromacy
  • #374983 Protanomaly 1% of men, 0.01% of women
  • #314a7f Deuteranomaly 6% of men, 0.4% of women
  • #3c4c66 Tritanomaly 0.01% of the population