#40407a Color Information

In a RGB color space, hex #40407a is composed of 25.1% red, 25.1% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 47.5% cyan, 47.5% magenta, 0% yellow and 52.2% black. It has a hue angle of 240 degrees, a saturation of 31.2% and a lightness of 36.5%. #40407a color hex could be obtained by blending #8080f4 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

#40407a color description : Dark moderate blue.

#40407a Color Conversion

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

Hex triplet 40407a #40407a
RGB Decimal 64, 64, 122 rgb(64,64,122)
RGB Percent 25.1, 25.1, 47.8 rgb(25.1%,25.1%,47.8%)
CMYK 48, 48, 0, 52
HSL 240°, 31.2, 36.5 hsl(240,31.2%,36.5%)
HSV (or HSB) 240°, 47.5, 47.8
Web Safe 333366 #333366
CIE-LAB 29.817, 16.59, -33.173
XYZ 7.46, 6.162, 19.208
xyY 0.227, 0.188, 6.162
CIE-LCH 29.817, 37.09, 296.57
CIE-LUV 29.817, -3.253, -45.063
Hunter-Lab 24.823, 10.204, -28.502
Binary 01000000, 01000000, 01111010

Color Schemes with #40407a

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

Alternatives to #40407a

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

Similar Colors

#40407a Preview

Text with hexadecimal color #40407a

This text has a font color of #40407a.

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

This paragraph has a background color of #40407a.

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

This element has a border color of #40407a.

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

Shades and Tints of #40407a

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

Shade Color Variation
Tint Color Variation

Tones of #40407a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40407a 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.

  • #474747 Achromatopsia 0.005% of the population
  • #464651 Atypical Achromatopsia 0.001% of the population
  • #344e84 Protanopia 1% of men
  • #2d507e Deuteranopia 1% of men
  • #3c5359 Tritanopia 0.001% of the population
  • #384880 Protanomaly 1% of men, 0.01% of women
  • #344a7c Deuteranomaly 6% of men, 0.4% of women
  • #3d4c65 Tritanomaly 0.01% of the population