#4040d5 Color Information

In a RGB color space, hex #4040d5 is composed of 25.1% red, 25.1% green and 83.5% blue. Whereas in a CMYK color space, it is composed of 70% cyan, 70% magenta, 0% yellow and 16.5% black. It has a hue angle of 240 degrees, a saturation of 63.9% and a lightness of 54.3%. #4040d5 color hex could be obtained by blending #8080ff with #0000ab. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 84
    RGB color chart
    • C 70
    • M 70
    • Y 0
    • K 16
    CMYK color chart

#4040d5 color description : Moderate blue.

#4040d5 Color Conversion

The hexadecimal color #4040d5 has RGB values of R:64, G:64, B:213 and CMYK values of C:0.7, M:0.7, Y:0, K:0.16. Its decimal value is 4210901.

Hex triplet 4040d5 #4040d5
RGB Decimal 64, 64, 213 rgb(64,64,213)
RGB Percent 25.1, 25.1, 83.5 rgb(25.1%,25.1%,83.5%)
CMYK 70, 70, 0, 16
HSL 240°, 63.9, 54.3 hsl(240,63.9%,54.3%)
HSV (or HSB) 240°, 70, 83.5
Web Safe 3333cc #3333cc
CIE-LAB 37.041, 47.197, -76.042
XYZ 15.956, 9.56, 63.952
xyY 0.178, 0.107, 9.56
CIE-LCH 37.041, 89.499, 301.827
CIE-LUV 37.041, -7.761, -107.552
Hunter-Lab 30.919, 38.005, -100.989
Binary 01000000, 01000000, 11010101

Color Schemes with #4040d5

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

Alternatives to #4040d5

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

Similar Colors

#4040d5 Preview

Text with hexadecimal color #4040d5

This text has a font color of #4040d5.

<span style="color:#4040d5;">Text here</span>
#4040d5 background color

This paragraph has a background color of #4040d5.

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

This element has a border color of #4040d5.

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

Shades and Tints of #4040d5

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

Shade Color Variation
Tint Color Variation

Tones of #4040d5

A tone is produced by adding gray to any pure hue. In this case, #88888d is the less saturated color, while #1c1cf9 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040d5 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
  • #515151 Achromatopsia 0.005% of the population
  • #4e4e6b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db5 Protanopia 1% of men
  • #00629d Deuteranopia 1% of men
  • #00696f Tritanopia 0.001% of the population
Trichromacy
  • #1752c0 Protanomaly 1% of men, 0.01% of women
  • #1755b1 Deuteranomaly 6% of men, 0.4% of women
  • #175a94 Tritanomaly 0.01% of the population