#4040b2 Color Information

In a RGB color space, hex #4040b2 is composed of 25.1% red, 25.1% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 64% cyan, 64% magenta, 0% yellow and 30.2% black. It has a hue angle of 240 degrees, a saturation of 47.1% and a lightness of 47.5%. #4040b2 color hex could be obtained by blending #8080ff with #000065. Closest websafe color is: #333399.

    • R 25
    • G 25
    • B 70
    RGB color chart
    • C 64
    • M 64
    • Y 0
    • K 30
    CMYK color chart

#4040b2 color description : Dark moderate blue.

#4040b2 Color Conversion

The hexadecimal color #4040b2 has RGB values of R:64, G:64, B:178 and CMYK values of C:0.64, M:0.64, Y:0, K:0.3. Its decimal value is 4210866.

Hex triplet 4040b2 #4040b2
RGB Decimal 64, 64, 178 rgb(64,64,178)
RGB Percent 25.1, 25.1, 69.8 rgb(25.1%,25.1%,69.8%)
CMYK 64, 64, 0, 30
HSL 240°, 47.1, 47.5 hsl(240,47.1%,47.5%)
HSV (or HSB) 240°, 64, 69.8
Web Safe 333399 #333399
CIE-LAB 33.922, 35.529, -60.691
XYZ 11.982, 7.971, 43.024
xyY 0.19, 0.127, 7.971
CIE-LCH 33.922, 70.325, 300.345
CIE-LUV 33.922, -6.145, -85.145
Hunter-Lab 28.232, 26.351, -70.592
Binary 01000000, 01000000, 10110010

Color Schemes with #4040b2

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

Alternatives to #4040b2

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

Similar Colors

#4040b2 Preview

Text with hexadecimal color #4040b2

This text has a font color of #4040b2.

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

This paragraph has a background color of #4040b2.

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

This element has a border color of #4040b2.

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

Shades and Tints of #4040b2

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

Shade Color Variation
Tint Color Variation

Tones of #4040b2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040b2 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
  • #4a4a61 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a8 Protanopia 1% of men
  • #005b93 Deuteranopia 1% of men
  • #006168 Tritanopia 0.001% of the population
Trichromacy
  • #174eab Protanomaly 1% of men, 0.01% of women
  • #17519e Deuteranomaly 6% of men, 0.4% of women
  • #175583 Tritanomaly 0.01% of the population