#5040b8 Color Information

In a RGB color space, hex #5040b8 is composed of 31.4% red, 25.1% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 56.5% cyan, 65.2% magenta, 0% yellow and 27.8% black. It has a hue angle of 248 degrees, a saturation of 48.4% and a lightness of 48.6%. #5040b8 color hex could be obtained by blending #a080ff with #000071. Closest websafe color is: #6633cc.

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

#5040b8 color description : Moderate blue.

#5040b8 Color Conversion

The hexadecimal color #5040b8 has RGB values of R:80, G:64, B:184 and CMYK values of C:0.57, M:0.65, Y:0, K:0.28. Its decimal value is 5259448.

Hex triplet 5040b8 #5040b8
RGB Decimal 80, 64, 184 rgb(80,64,184)
RGB Percent 31.4, 25.1, 72.2 rgb(31.4%,25.1%,72.2%)
CMYK 57, 65, 0, 28
HSL 248°, 48.4, 48.6 hsl(248,48.4%,48.6%)
HSV (or HSB) 248°, 65.2, 72.2
Web Safe 6633cc #6633cc
CIE-LAB 35.66, 40.071, -61.352
XYZ 13.792, 8.833, 46.323
xyY 0.2, 0.128, 8.833
CIE-LCH 35.66, 73.279, 303.15
CIE-LUV 35.66, -2.058, -87.921
Hunter-Lab 29.72, 30.826, -71.61
Binary 01010000, 01000000, 10111000

Color Schemes with #5040b8

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

Alternatives to #5040b8

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

Similar Colors

#5040b8 Preview

Text with hexadecimal color #5040b8

This text has a font color of #5040b8.

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

This paragraph has a background color of #5040b8.

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

This element has a border color of #5040b8.

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

Shades and Tints of #5040b8

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 #fafafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5040b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5040b8 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
  • #005aaf Protanopia 1% of men
  • #005e9a Deuteranopia 1% of men
  • #2f636b 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
  • #3b5687 Tritanomaly 0.01% of the population