#4040b7 Color Information

In a RGB color space, hex #4040b7 is composed of 25.1% red, 25.1% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 65% cyan, 65% magenta, 0% yellow and 28.2% black. It has a hue angle of 240 degrees, a saturation of 48.2% and a lightness of 48.4%. #4040b7 color hex could be obtained by blending #8080ff with #00006f. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 72
    RGB color chart
    • C 65
    • M 65
    • Y 0
    • K 28
    CMYK color chart

#4040b7 color description : Moderate blue.

#4040b7 Color Conversion

The hexadecimal color #4040b7 has RGB values of R:64, G:64, B:183 and CMYK values of C:0.65, M:0.65, Y:0, K:0.28. Its decimal value is 4210871.

Hex triplet 4040b7 #4040b7
RGB Decimal 64, 64, 183 rgb(64,64,183)
RGB Percent 25.1, 25.1, 71.8 rgb(25.1%,25.1%,71.8%)
CMYK 65, 65, 0, 28
HSL 240°, 48.2, 48.4 hsl(240,48.2%,48.4%)
HSV (or HSB) 240°, 65, 71.8
Web Safe 3333cc #3333cc
CIE-LAB 34.345, 37.22, -62.961
XYZ 12.493, 8.175, 45.717
xyY 0.188, 0.123, 8.175
CIE-LCH 34.345, 73.139, 300.59
CIE-LUV 34.345, -6.383, -88.451
Hunter-Lab 28.592, 27.959, -74.786
Binary 01000000, 01000000, 10110111

Color Schemes with #4040b7

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

Alternatives to #4040b7

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

Similar Colors

#4040b7 Preview

Text with hexadecimal color #4040b7

This text has a font color of #4040b7.

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

This paragraph has a background color of #4040b7.

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

This element has a border color of #4040b7.

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

Shades and Tints of #4040b7

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

Shade Color Variation
Tint Color Variation

Tones of #4040b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040b7 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
  • #4e4e4e Achromatopsia 0.005% of the population
  • #4b4b63 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0057aa Protanopia 1% of men
  • #005c94 Deuteranopia 1% of men
  • #006269 Tritanopia 0.001% of the population
Trichromacy
  • #174eae Protanomaly 1% of men, 0.01% of women
  • #1751a1 Deuteranomaly 6% of men, 0.4% of women
  • #175685 Tritanomaly 0.01% of the population