#4040ab Color Information

In a RGB color space, hex #4040ab is composed of 25.1% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 240 degrees, a saturation of 45.5% and a lightness of 46.1%. #4040ab color hex could be obtained by blending #8080ff with #000057. 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

#4040ab color description : Dark moderate blue.

#4040ab Color Conversion

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

Hex triplet 4040ab #4040ab
RGB Decimal 64, 64, 171 rgb(64,64,171)
RGB Percent 25.1, 25.1, 67.1 rgb(25.1%,25.1%,67.1%)
CMYK 63, 63, 0, 33
HSL 240°, 45.5, 46.1 hsl(240,45.5%,46.1%)
HSV (or HSB) 240°, 62.6, 67.1
Web Safe 333399 #333399
CIE-LAB 33.343, 33.151, -57.466
XYZ 11.297, 7.697, 39.416
xyY 0.193, 0.132, 7.697
CIE-LCH 33.343, 66.342, 299.98
CIE-LUV 33.343, -5.806, -80.449
Hunter-Lab 27.743, 24.137, -64.818
Binary 01000000, 01000000, 10101011

Color Schemes with #4040ab

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

Alternatives to #4040ab

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

Similar Colors

#4040ab Preview

Text with hexadecimal color #4040ab

This text has a font color of #4040ab.

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

This paragraph has a background color of #4040ab.

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

This element has a border color of #4040ab.

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

Shades and Tints of #4040ab

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

Shade Color Variation
Tint Color Variation

Tones of #4040ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040ab 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #4a4a5f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a6 Protanopia 1% of men
  • #005991 Deuteranopia 1% of men
  • #006067 Tritanopia 0.001% of the population
Trichromacy
  • #174da7 Protanomaly 1% of men, 0.01% of women
  • #17509a Deuteranomaly 6% of men, 0.4% of women
  • #17547f Tritanomaly 0.01% of the population