#40407b Color Information

In a RGB color space, hex #40407b is composed of 25.1% red, 25.1% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 48% magenta, 0% yellow and 51.8% black. It has a hue angle of 240 degrees, a saturation of 31.6% and a lightness of 36.7%. #40407b color hex could be obtained by blending #8080f6 with #000000. Closest websafe color is: #333366.

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

#40407b color description : Dark moderate blue.

#40407b Color Conversion

The hexadecimal color #40407b has RGB values of R:64, G:64, B:123 and CMYK values of C:0.48, M:0.48, Y:0, K:0.52. Its decimal value is 4210811.

Hex triplet 40407b #40407b
RGB Decimal 64, 64, 123 rgb(64,64,123)
RGB Percent 25.1, 25.1, 48.2 rgb(25.1%,25.1%,48.2%)
CMYK 48, 48, 0, 52
HSL 240°, 31.6, 36.7 hsl(240,31.6%,36.7%)
HSV (or HSB) 240°, 48, 48.2
Web Safe 333366 #333366
CIE-LAB 29.879, 16.918, -33.702
XYZ 7.522, 6.187, 19.536
xyY 0.226, 0.186, 6.187
CIE-LCH 29.879, 37.71, 296.657
CIE-LUV 29.879, -3.308, -45.831
Hunter-Lab 24.873, 10.455, -29.156
Binary 01000000, 01000000, 01111011

Color Schemes with #40407b

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

Alternatives to #40407b

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

Similar Colors

#40407b Preview

Text with hexadecimal color #40407b

This text has a font color of #40407b.

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

This paragraph has a background color of #40407b.

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

This element has a border color of #40407b.

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

Shades and Tints of #40407b

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

Shade Color Variation
Tint Color Variation

Tones of #40407b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40407b 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
  • #464651 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #344e85 Protanopia 1% of men
  • #2c507f Deuteranopia 1% of men
  • #3b5359 Tritanopia 0.001% of the population
Trichromacy
  • #384981 Protanomaly 1% of men, 0.01% of women
  • #334a7d Deuteranomaly 6% of men, 0.4% of women
  • #3d4c65 Tritanomaly 0.01% of the population