#4040ac Color Information

In a RGB color space, hex #4040ac is composed of 25.1% red, 25.1% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 62.8% cyan, 62.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 240 degrees, a saturation of 45.8% and a lightness of 46.3%. #4040ac color hex could be obtained by blending #8080ff with #000059. Closest websafe color is: #333399.

    • R 25
    • G 25
    • B 67
    RGB color chart
    • C 63
    • M 63
    • Y 0
    • K 33
    CMYK color chart

#4040ac color description : Dark moderate blue.

#4040ac Color Conversion

The hexadecimal color #4040ac has RGB values of R:64, G:64, B:172 and CMYK values of C:0.63, M:0.63, Y:0, K:0.33. Its decimal value is 4210860.

Hex triplet 4040ac #4040ac
RGB Decimal 64, 64, 172 rgb(64,64,172)
RGB Percent 25.1, 25.1, 67.5 rgb(25.1%,25.1%,67.5%)
CMYK 63, 63, 0, 33
HSL 240°, 45.8, 46.3 hsl(240,45.8%,46.3%)
HSV (or HSB) 240°, 62.8, 67.5
Web Safe 333399 #333399
CIE-LAB 33.424, 33.492, -57.93
XYZ 11.393, 7.735, 39.92
xyY 0.193, 0.131, 7.735
CIE-LCH 33.424, 66.914, 300.034
CIE-LUV 33.424, -5.855, -81.125
Hunter-Lab 27.812, 24.45, -65.636
Binary 01000000, 01000000, 10101100

Color Schemes with #4040ac

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

Alternatives to #4040ac

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

Similar Colors

#4040ac Preview

Text with hexadecimal color #4040ac

This text has a font color of #4040ac.

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

This paragraph has a background color of #4040ac.

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

This element has a border color of #4040ac.

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

Shades and Tints of #4040ac

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

Shade Color Variation
Tint Color Variation

Tones of #4040ac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040ac 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
  • #0055a6 Protanopia 1% of men
  • #005991 Deuteranopia 1% of men
  • #006067 Tritanopia 0.001% of the population
  • #174da8 Protanomaly 1% of men, 0.01% of women
  • #17509b Deuteranomaly 6% of men, 0.4% of women
  • #175480 Tritanomaly 0.01% of the population