#5040c7 Color Information

In a RGB color space, hex #5040c7 is composed of 31.4% red, 25.1% green and 78% blue. Whereas in a CMYK color space, it is composed of 59.8% cyan, 67.8% magenta, 0% yellow and 22% black. It has a hue angle of 247.1 degrees, a saturation of 54.7% and a lightness of 51.6%. #5040c7 color hex could be obtained by blending #a080ff with #00008f. Closest websafe color is: #6633cc.

    • R 31
    • G 25
    • B 78
    RGB color chart
    • C 60
    • M 68
    • Y 0
    • K 22
    CMYK color chart

#5040c7 color description : Moderate blue.

#5040c7 Color Conversion

The hexadecimal color #5040c7 has RGB values of R:80, G:64, B:199 and CMYK values of C:0.6, M:0.68, Y:0, K:0.22. Its decimal value is 5259463.

Hex triplet 5040c7 #5040c7
RGB Decimal 80, 64, 199 rgb(80,64,199)
RGB Percent 31.4, 25.1, 78 rgb(31.4%,25.1%,78%)
CMYK 60, 68, 0, 22
HSL 247.1°, 54.7, 51.6 hsl(247.1,54.7%,51.6%)
HSV (or HSB) 247.1°, 67.8, 78
Web Safe 6633cc #6633cc
CIE-LAB 36.921, 44.761, -68.085
XYZ 15.448, 9.495, 55.048
xyY 0.193, 0.119, 9.495
CIE-LCH 36.921, 81.481, 303.322
CIE-LUV 36.921, -3.139, -97.809
Hunter-Lab 30.814, 35.565, -84.349
Binary 01010000, 01000000, 11000111

Color Schemes with #5040c7

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

Alternatives to #5040c7

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

Similar Colors

#5040c7 Preview

Text with hexadecimal color #5040c7

This text has a font color of #5040c7.

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

This paragraph has a background color of #5040c7.

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

This element has a border color of #5040c7.

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

Shades and Tints of #5040c7

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

Shade Color Variation
Tint Color Variation

Tones of #5040c7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5040c7 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
  • #545454 Achromatopsia 0.005% of the population
  • #53506b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb4 Protanopia 1% of men
  • #00629e Deuteranopia 1% of men
  • #1a6870 Tritanopia 0.001% of the population
Trichromacy
  • #1d52bb Protanomaly 1% of men, 0.01% of women
  • #1d55ac Deuteranomaly 6% of men, 0.4% of women
  • #2d598f Tritanomaly 0.01% of the population