#4040d7 Color Information

In a RGB color space, hex #4040d7 is composed of 25.1% red, 25.1% green and 84.3% blue. Whereas in a CMYK color space, it is composed of 70.2% cyan, 70.2% magenta, 0% yellow and 15.7% black. It has a hue angle of 240 degrees, a saturation of 65.4% and a lightness of 54.7%. #4040d7 color hex could be obtained by blending #8080ff with #0000af. 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

#4040d7 color description : Moderate blue.

#4040d7 Color Conversion

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

Hex triplet 4040d7 #4040d7
RGB Decimal 64, 64, 215 rgb(64,64,215)
RGB Percent 25.1, 25.1, 84.3 rgb(25.1%,25.1%,84.3%)
CMYK 70, 70, 0, 16
HSL 240°, 65.4, 54.7 hsl(240,65.4%,54.7%)
HSV (or HSB) 240°, 70.2, 84.3
Web Safe 3333cc #3333cc
CIE-LAB 37.229, 47.85, -76.884
XYZ 16.211, 9.662, 65.297
xyY 0.178, 0.106, 9.662
CIE-LCH 37.229, 90.558, 301.897
CIE-LUV 37.229, -7.851, -108.787
Hunter-Lab 31.084, 38.695, -102.789
Binary 01000000, 01000000, 11010111

Color Schemes with #4040d7

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

Alternatives to #4040d7

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

Similar Colors

#4040d7 Preview

Text with hexadecimal color #4040d7

This text has a font color of #4040d7.

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

This paragraph has a background color of #4040d7.

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

This element has a border color of #4040d7.

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

Shades and Tints of #4040d7

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

Shade Color Variation
Tint Color Variation

Tones of #4040d7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040d7 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
  • #4e4e6c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db6 Protanopia 1% of men
  • #00629e Deuteranopia 1% of men
  • #00696f Tritanopia 0.001% of the population
Trichromacy
  • #1752c2 Protanomaly 1% of men, 0.01% of women
  • #1756b2 Deuteranomaly 6% of men, 0.4% of women
  • #175a95 Tritanomaly 0.01% of the population