#4040a9 Color Information

In a RGB color space, hex #4040a9 is composed of 25.1% red, 25.1% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 62.1% cyan, 62.1% magenta, 0% yellow and 33.7% black. It has a hue angle of 240 degrees, a saturation of 45.1% and a lightness of 45.7%. #4040a9 color hex could be obtained by blending #8080ff with #000053. Closest websafe color is: #333399.

    • R 25
    • G 25
    • B 66
    RGB color chart
    • C 62
    • M 62
    • Y 0
    • K 34
    CMYK color chart

#4040a9 color description : Dark moderate blue.

#4040a9 Color Conversion

The hexadecimal color #4040a9 has RGB values of R:64, G:64, B:169 and CMYK values of C:0.62, M:0.62, Y:0, K:0.34. Its decimal value is 4210857.

Hex triplet 4040a9 #4040a9
RGB Decimal 64, 64, 169 rgb(64,64,169)
RGB Percent 25.1, 25.1, 66.3 rgb(25.1%,25.1%,66.3%)
CMYK 62, 62, 0, 34
HSL 240°, 45.1, 45.7 hsl(240,45.1%,45.7%)
HSV (or HSB) 240°, 62.1, 66.3
Web Safe 333399 #333399
CIE-LAB 33.18, 32.471, -56.534
XYZ 11.108, 7.621, 38.42
xyY 0.194, 0.133, 7.621
CIE-LCH 33.18, 65.195, 299.871
CIE-LUV 33.18, -5.708, -79.092
Hunter-Lab 27.606, 23.513, -63.191
Binary 01000000, 01000000, 10101001

Color Schemes with #4040a9

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

Alternatives to #4040a9

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

Similar Colors

#4040a9 Preview

Text with hexadecimal color #4040a9

This text has a font color of #4040a9.

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

This paragraph has a background color of #4040a9.

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

This element has a border color of #4040a9.

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

Shades and Tints of #4040a9

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, #05050c is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4040a9

A tone is produced by adding gray to any pure hue. In this case, #6d6d7c is the less saturated color, while #0101e8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040a9 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.

  • #4c4c4c Achromatopsia 0.005% of the population
  • #4a4a5f Atypical Achromatopsia 0.001% of the population
  • #0054a5 Protanopia 1% of men
  • #005991 Deuteranopia 1% of men
  • #0f5f66 Tritanopia 0.001% of the population
  • #174da6 Protanomaly 1% of men, 0.01% of women
  • #175099 Deuteranomaly 6% of men, 0.4% of women
  • #21547e Tritanomaly 0.01% of the population