#40407f Color Information

In a RGB color space, hex #40407f is composed of 25.1% red, 25.1% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 49.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 240 degrees, a saturation of 33% and a lightness of 37.5%. #40407f color hex could be obtained by blending #8080fe with #000000. Closest websafe color is: #333366.

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

#40407f color description : Dark moderate blue.

#40407f Color Conversion

The hexadecimal color #40407f has RGB values of R:64, G:64, B:127 and CMYK values of C:0.5, M:0.5, Y:0, K:0.5. Its decimal value is 4210815.

Hex triplet 40407f #40407f
RGB Decimal 64, 64, 127 rgb(64,64,127)
RGB Percent 25.1, 25.1, 49.8 rgb(25.1%,25.1%,49.8%)
CMYK 50, 50, 0, 50
HSL 240°, 33, 37.5 hsl(240,33%,37.5%)
HSV (or HSB) 240°, 49.6, 49.8
Web Safe 333366 #333366
CIE-LAB 30.13, 18.239, -35.802
XYZ 7.778, 6.289, 20.882
xyY 0.223, 0.18, 6.289
CIE-LCH 30.13, 40.18, 296.996
CIE-LUV 30.13, -3.528, -48.882
Hunter-Lab 25.078, 11.476, -31.815
Binary 01000000, 01000000, 01111111

Color Schemes with #40407f

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

Alternatives to #40407f

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

Similar Colors

#40407f Preview

Text with hexadecimal color #40407f

This text has a font color of #40407f.

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

This paragraph has a background color of #40407f.

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

This element has a border color of #40407f.

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

Shades and Tints of #40407f

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, #05050a is the darkest color, while #fcfcfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40407f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40407f 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
  • #304e89 Protanopia 1% of men
  • #265182 Deuteranopia 1% of men
  • #3a545a Tritanopia 0.001% of the population
Trichromacy
  • #364985 Protanomaly 1% of men, 0.01% of women
  • #2f4b81 Deuteranomaly 6% of men, 0.4% of women
  • #3c4d67 Tritanomaly 0.01% of the population