#4040ba Color Information

In a RGB color space, hex #4040ba is composed of 25.1% red, 25.1% green and 72.9% blue. Whereas in a CMYK color space, it is composed of 65.6% cyan, 65.6% magenta, 0% yellow and 27.1% black. It has a hue angle of 240 degrees, a saturation of 48.8% and a lightness of 49%. #4040ba color hex could be obtained by blending #8080ff with #000075. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 73
    RGB color chart
    • C 66
    • M 66
    • Y 0
    • K 27
    CMYK color chart

#4040ba color description : Moderate blue.

#4040ba Color Conversion

The hexadecimal color #4040ba has RGB values of R:64, G:64, B:186 and CMYK values of C:0.66, M:0.66, Y:0, K:0.27. Its decimal value is 4210874.

Hex triplet 4040ba #4040ba
RGB Decimal 64, 64, 186 rgb(64,64,186)
RGB Percent 25.1, 25.1, 72.9 rgb(25.1%,25.1%,72.9%)
CMYK 66, 66, 0, 27
HSL 240°, 48.8, 49 hsl(240,48.8%,49%)
HSV (or HSB) 240°, 65.6, 72.9
Web Safe 3333cc #3333cc
CIE-LAB 34.603, 38.232, -64.31
XYZ 12.809, 8.301, 47.379
xyY 0.187, 0.121, 8.301
CIE-LCH 34.603, 74.816, 300.731
CIE-LUV 34.603, -6.525, -90.416
Hunter-Lab 28.812, 28.935, -77.329
Binary 01000000, 01000000, 10111010

Color Schemes with #4040ba

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

Alternatives to #4040ba

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

Similar Colors

#4040ba Preview

Text with hexadecimal color #4040ba

This text has a font color of #4040ba.

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

This paragraph has a background color of #4040ba.

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

This element has a border color of #4040ba.

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

Shades and Tints of #4040ba

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, #04040b is the darkest color, while #fbfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4040ba

A tone is produced by adding gray to any pure hue. In this case, #7a7a80 is the less saturated color, while #0606f4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040ba 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
  • #4e4e4e Achromatopsia 0.005% of the population
  • #4b4b64 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0057ab Protanopia 1% of men
  • #005c95 Deuteranopia 1% of men
  • #006369 Tritanopia 0.001% of the population
Trichromacy
  • #174fb0 Protanomaly 1% of men, 0.01% of women
  • #1752a2 Deuteranomaly 6% of men, 0.4% of women
  • #175686 Tritanomaly 0.01% of the population