#5040cc Color Information

In a RGB color space, hex #5040cc is composed of 31.4% red, 25.1% green and 80% blue. Whereas in a CMYK color space, it is composed of 60.8% cyan, 68.6% magenta, 0% yellow and 20% black. It has a hue angle of 246.9 degrees, a saturation of 57.9% and a lightness of 52.5%. #5040cc color hex could be obtained by blending #a080ff with #000099. Closest websafe color is: #6633cc.

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

#5040cc color description : Moderate blue.

#5040cc Color Conversion

The hexadecimal color #5040cc has RGB values of R:80, G:64, B:204 and CMYK values of C:0.61, M:0.69, Y:0, K:0.2. Its decimal value is 5259468.

Hex triplet 5040cc #5040cc
RGB Decimal 80, 64, 204 rgb(80,64,204)
RGB Percent 31.4, 25.1, 80 rgb(31.4%,25.1%,80%)
CMYK 61, 69, 0, 20
HSL 246.9°, 57.9, 52.5 hsl(246.9,57.9%,52.5%)
HSV (or HSB) 246.9°, 68.6, 80
Web Safe 6633cc #6633cc
CIE-LAB 37.356, 46.318, -70.279
XYZ 16.039, 9.731, 58.157
xyY 0.191, 0.116, 9.731
CIE-LCH 37.356, 84.169, 303.387
CIE-LUV 37.356, -3.484, -101.033
Hunter-Lab 31.195, 37.183, -88.697
Binary 01010000, 01000000, 11001100

Color Schemes with #5040cc

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

Alternatives to #5040cc

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

Similar Colors

#5040cc Preview

Text with hexadecimal color #5040cc

This text has a font color of #5040cc.

<span style="color:#5040cc;">Text here</span>
#5040cc background color

This paragraph has a background color of #5040cc.

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

This element has a border color of #5040cc.

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

Shades and Tints of #5040cc

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, #04030a is the darkest color, while #fafafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5040cc

A tone is produced by adding gray to any pure hue. In this case, #82818b is the less saturated color, while #2c11fb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5040cc 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
  • #555555 Achromatopsia 0.005% of the population
  • #54516d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db6 Protanopia 1% of men
  • #00639f Deuteranopia 1% of men
  • #006971 Tritanopia 0.001% of the population
Trichromacy
  • #1d52be Protanomaly 1% of men, 0.01% of women
  • #1d56af Deuteranomaly 6% of men, 0.4% of women
  • #1d5a92 Tritanomaly 0.01% of the population