#4040c7 Color Information

In a RGB color space, hex #4040c7 is composed of 25.1% red, 25.1% green and 78% blue. Whereas in a CMYK color space, it is composed of 67.8% cyan, 67.8% magenta, 0% yellow and 22% black. It has a hue angle of 240 degrees, a saturation of 54.7% and a lightness of 51.6%. #4040c7 color hex could be obtained by blending #8080ff with #00008f. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 78
    RGB color chart
    • C 68
    • M 68
    • Y 0
    • K 22
    CMYK color chart

#4040c7 color description : Moderate blue.

#4040c7 Color Conversion

The hexadecimal color #4040c7 has RGB values of R:64, G:64, B:199 and CMYK values of C:0.68, M:0.68, Y:0, K:0.22. Its decimal value is 4210887.

Hex triplet 4040c7 #4040c7
RGB Decimal 64, 64, 199 rgb(64,64,199)
RGB Percent 25.1, 25.1, 78 rgb(25.1%,25.1%,78%)
CMYK 68, 68, 0, 22
HSL 240°, 54.7, 51.6 hsl(240,54.7%,51.6%)
HSV (or HSB) 240°, 67.8, 78
Web Safe 3333cc #3333cc
CIE-LAB 35.751, 42.583, -70.047
XYZ 14.255, 8.88, 54.992
xyY 0.182, 0.114, 8.88
CIE-LCH 35.751, 81.975, 301.296
CIE-LUV 35.751, -7.129, -98.783
Hunter-Lab 29.799, 33.24, -88.559
Binary 01000000, 01000000, 11000111

Color Schemes with #4040c7

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

Alternatives to #4040c7

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

Similar Colors

#4040c7 Preview

Text with hexadecimal color #4040c7

This text has a font color of #4040c7.

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

This paragraph has a background color of #4040c7.

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

This element has a border color of #4040c7.

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

Shades and Tints of #4040c7

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

Shade Color Variation
Tint Color Variation

Tones of #4040c7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040c7 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
  • #4f4f4f Achromatopsia 0.005% of the population
  • #4c4c67 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005aaf Protanopia 1% of men
  • #005f99 Deuteranopia 1% of men
  • #00666c Tritanopia 0.001% of the population
Trichromacy
  • #1750b8 Protanomaly 1% of men, 0.01% of women
  • #1753a9 Deuteranomaly 6% of men, 0.4% of women
  • #17588d Tritanomaly 0.01% of the population