#4040cb Color Information

In a RGB color space, hex #4040cb is composed of 25.1% red, 25.1% green and 79.6% blue. Whereas in a CMYK color space, it is composed of 68.5% cyan, 68.5% magenta, 0% yellow and 20.4% black. It has a hue angle of 240 degrees, a saturation of 57.2% and a lightness of 52.4%. #4040cb color hex could be obtained by blending #8080ff with #000097. Closest websafe color is: #3333cc.

    • R 25
    • G 25
    • B 80
    RGB color chart
    • C 68
    • M 68
    • Y 0
    • K 20
    CMYK color chart

#4040cb color description : Moderate blue.

#4040cb Color Conversion

The hexadecimal color #4040cb has RGB values of R:64, G:64, B:203 and CMYK values of C:0.68, M:0.68, Y:0, K:0.2. Its decimal value is 4210891.

Hex triplet 4040cb #4040cb
RGB Decimal 64, 64, 203 rgb(64,64,203)
RGB Percent 25.1, 25.1, 79.6 rgb(25.1%,25.1%,79.6%)
CMYK 68, 68, 0, 20
HSL 240°, 57.2, 52.4 hsl(240,57.2%,52.4%)
HSV (or HSB) 240°, 68.5, 79.6
Web Safe 3333cc #3333cc
CIE-LAB 36.114, 43.909, -71.779
XYZ 14.725, 9.068, 57.471
xyY 0.181, 0.112, 9.068
CIE-LCH 36.114, 84.144, 301.455
CIE-LUV 36.114, -7.311, -101.313
Hunter-Lab 30.113, 34.589, -92.077
Binary 01000000, 01000000, 11001011

Color Schemes with #4040cb

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

Alternatives to #4040cb

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

Similar Colors

#4040cb Preview

Text with hexadecimal color #4040cb

This text has a font color of #4040cb.

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

This paragraph has a background color of #4040cb.

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

This element has a border color of #4040cb.

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

Shades and Tints of #4040cb

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

Shade Color Variation
Tint Color Variation

Tones of #4040cb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4040cb 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
  • #505050 Achromatopsia 0.005% of the population
  • #4d4d69 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #00609a Deuteranopia 1% of men
  • #00676d Tritanopia 0.001% of the population
Trichromacy
  • #1751ba Protanomaly 1% of men, 0.01% of women
  • #1754ac Deuteranomaly 6% of men, 0.4% of women
  • #17588f Tritanomaly 0.01% of the population