#4040b4 Color Information

In a RGB color space, hex #4040b4 is composed of 25.1% red, 25.1% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 64.4% cyan, 64.4% magenta, 0% yellow and 29.4% black. It has a hue angle of 240 degrees, a saturation of 47.5% and a lightness of 47.8%. #4040b4 color hex could be obtained by blending #8080ff with #000069. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 71
    RGB color chart
    • C 64
    • M 64
    • Y 0
    • K 29
    CMYK color chart

#4040b4 color description : Moderate blue.

#4040b4 Color Conversion

The hexadecimal color #4040b4 has RGB values of R:64, G:64, B:180 and CMYK values of C:0.64, M:0.64, Y:0, K:0.29. Its decimal value is 4210868.

Hex triplet 4040b4 #4040b4
RGB Decimal 64, 64, 180 rgb(64,64,180)
RGB Percent 25.1, 25.1, 70.6 rgb(25.1%,25.1%,70.6%)
CMYK 64, 64, 0, 29
HSL 240°, 47.5, 47.8 hsl(240,47.5%,47.8%)
HSV (or HSB) 240°, 64.4, 70.6
Web Safe 3333cc #3333cc
CIE-LAB 34.09, 36.206, -61.602
XYZ 12.184, 8.051, 44.09
xyY 0.189, 0.125, 8.051
CIE-LCH 34.09, 71.454, 300.445
CIE-LUV 34.09, -6.24, -86.472
Hunter-Lab 28.375, 26.992, -72.263
Binary 01000000, 01000000, 10110100

Color Schemes with #4040b4

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

Alternatives to #4040b4

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

Similar Colors

#4040b4 Preview

Text with hexadecimal color #4040b4

This text has a font color of #4040b4.

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

This paragraph has a background color of #4040b4.

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

This element has a border color of #4040b4.

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

Shades and Tints of #4040b4

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 #f7f7fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4040b4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040b4 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
  • #4d4d4d Achromatopsia 0.005% of the population
  • #4a4a62 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a9 Protanopia 1% of men
  • #005b93 Deuteranopia 1% of men
  • #006168 Tritanopia 0.001% of the population
Trichromacy
  • #174ead Protanomaly 1% of men, 0.01% of women
  • #17519f Deuteranomaly 6% of men, 0.4% of women
  • #175584 Tritanomaly 0.01% of the population