#5040b7 Color Information

In a RGB color space, hex #5040b7 is composed of 31.4% red, 25.1% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 56.3% cyan, 65% magenta, 0% yellow and 28.2% black. It has a hue angle of 248.1 degrees, a saturation of 48.2% and a lightness of 48.4%. #5040b7 color hex could be obtained by blending #a080ff with #00006f. Closest websafe color is: #6633cc.

    • R 31
    • G 25
    • B 72
    RGB color chart
    • C 56
    • M 65
    • Y 0
    • K 28
    CMYK color chart

#5040b7 color description : Moderate blue.

#5040b7 Color Conversion

The hexadecimal color #5040b7 has RGB values of R:80, G:64, B:183 and CMYK values of C:0.56, M:0.65, Y:0, K:0.28. Its decimal value is 5259447.

Hex triplet 5040b7 #5040b7
RGB Decimal 80, 64, 183 rgb(80,64,183)
RGB Percent 31.4, 25.1, 71.8 rgb(31.4%,25.1%,71.8%)
CMYK 56, 65, 0, 28
HSL 248.1°, 48.2, 48.4 hsl(248.1,48.2%,48.4%)
HSV (or HSB) 248.1°, 65, 71.8
Web Safe 6633cc #6633cc
CIE-LAB 35.578, 39.758, -60.895
XYZ 13.687, 8.791, 45.773
xyY 0.201, 0.129, 8.791
CIE-LCH 35.578, 72.725, 303.14
CIE-LUV 35.578, -1.983, -87.249
Hunter-Lab 29.649, 30.517, -70.778
Binary 01010000, 01000000, 10110111

Color Schemes with #5040b7

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

Alternatives to #5040b7

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

Similar Colors

#5040b7 Preview

Text with hexadecimal color #5040b7

This text has a font color of #5040b7.

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

This paragraph has a background color of #5040b7.

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

This element has a border color of #5040b7.

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

Shades and Tints of #5040b7

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

Shade Color Variation
Tint Color Variation

Tones of #5040b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5040b7 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
  • #525252 Achromatopsia 0.005% of the population
  • #524e66 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059af Protanopia 1% of men
  • #005e99 Deuteranopia 1% of men
  • #30636a Tritanopia 0.001% of the population
Trichromacy
  • #1d50b2 Protanomaly 1% of men, 0.01% of women
  • #1d53a4 Deuteranomaly 6% of men, 0.4% of women
  • #3c5686 Tritanomaly 0.01% of the population