#4040d4 Color Information

In a RGB color space, hex #4040d4 is composed of 25.1% red, 25.1% green and 83.1% blue. Whereas in a CMYK color space, it is composed of 69.8% cyan, 69.8% magenta, 0% yellow and 16.9% black. It has a hue angle of 240 degrees, a saturation of 63.2% and a lightness of 54.1%. #4040d4 color hex could be obtained by blending #8080ff with #0000a9. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 83
    RGB color chart
    • C 70
    • M 70
    • Y 0
    • K 17
    CMYK color chart

#4040d4 color description : Moderate blue.

#4040d4 Color Conversion

The hexadecimal color #4040d4 has RGB values of R:64, G:64, B:212 and CMYK values of C:0.7, M:0.7, Y:0, K:0.17. Its decimal value is 4210900.

Hex triplet 4040d4 #4040d4
RGB Decimal 64, 64, 212 rgb(64,64,212)
RGB Percent 25.1, 25.1, 83.1 rgb(25.1%,25.1%,83.1%)
CMYK 70, 70, 0, 17
HSL 240°, 63.2, 54.1 hsl(240,63.2%,54.1%)
HSV (or HSB) 240°, 69.8, 83.1
Web Safe 3333cc #3333cc
CIE-LAB 36.947, 46.87, -75.62
XYZ 15.829, 9.509, 63.285
xyY 0.179, 0.107, 9.509
CIE-LCH 36.947, 88.967, 301.791
CIE-LUV 36.947, -7.717, -106.934
Hunter-Lab 30.837, 37.661, -100.09
Binary 01000000, 01000000, 11010100

Color Schemes with #4040d4

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

Alternatives to #4040d4

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

Similar Colors

#4040d4 Preview

Text with hexadecimal color #4040d4

This text has a font color of #4040d4.

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

This paragraph has a background color of #4040d4.

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

This element has a border color of #4040d4.

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

Shades and Tints of #4040d4

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

Shade Color Variation
Tint Color Variation

Tones of #4040d4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040d4 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
  • #005cb4 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
  • #175a93 Tritanomaly 0.01% of the population