#4040ff Color Information

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

    • R 25
    • G 25
    • B 100
    RGB color chart
    • C 75
    • M 75
    • Y 0
    • K 0
    CMYK color chart

#4040ff color description : Light blue.

#4040ff Color Conversion

The hexadecimal color #4040ff has RGB values of R:64, G:64, B:255 and CMYK values of C:0.75, M:0.75, Y:0, K:0. Its decimal value is 4210943.

Hex triplet 4040ff #4040ff
RGB Decimal 64, 64, 255 rgb(64,64,255)
RGB Percent 25.1, 25.1, 100 rgb(25.1%,25.1%,100%)
CMYK 75, 75, 0, 0
HSL 240°, 100, 62.5 hsl(240,100%,62.5%)
HSV (or HSB) 240°, 74.9, 100
Web Safe 3333ff #3333ff
CIE-LAB 41.177, 60.515, -93.034
XYZ 21.994, 11.975, 95.755
xyY 0.17, 0.092, 11.975
CIE-LCH 41.177, 110.984, 303.043
CIE-LUV 41.177, -9.575, -132.69
Hunter-Lab 34.606, 52.889, -139.834
Binary 01000000, 01000000, 11111111

Color Schemes with #4040ff

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

Alternatives to #4040ff

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

Similar Colors

#4040ff Preview

Text with hexadecimal color #4040ff

This text has a font color of #4040ff.

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

This paragraph has a background color of #4040ff.

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

This element has a border color of #4040ff.

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

Shades and Tints of #4040ff

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

Shade Color Variation
Tint Color Variation

Tones of #4040ff

A tone is produced by adding gray to any pure hue. In this case, #9898a7 is the less saturated color, while #4040ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #565656 Achromatopsia 0.005% of the population
  • #525278 Atypical Achromatopsia 0.001% of the population
  • #0066c6 Protanopia 1% of men
  • #006cac Deuteranopia 1% of men
  • #007379 Tritanopia 0.001% of the population
  • #1758db Protanomaly 1% of men, 0.01% of women
  • #175cca Deuteranomaly 6% of men, 0.4% of women
  • #1760aa Tritanomaly 0.01% of the population