#5157b8 Color Information

In a RGB color space, hex #5157b8 is composed of 31.8% red, 34.1% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 56% cyan, 52.7% magenta, 0% yellow and 27.8% black. It has a hue angle of 236.5 degrees, a saturation of 42% and a lightness of 52%. #5157b8 color hex could be obtained by blending #a2aeff with #000071. Closest websafe color is: #6666cc.

    • R 32
    • G 34
    • B 72
    RGB color chart
    • C 56
    • M 53
    • Y 0
    • K 28
    CMYK color chart

#5157b8 color description : Moderate blue.

#5157b8 Color Conversion

The hexadecimal color #5157b8 has RGB values of R:81, G:87, B:184 and CMYK values of C:0.56, M:0.53, Y:0, K:0.28. Its decimal value is 5330872.

Hex triplet 5157b8 #5157b8
RGB Decimal 81, 87, 184 rgb(81,87,184)
RGB Percent 31.8, 34.1, 72.2 rgb(31.8%,34.1%,72.2%)
CMYK 56, 53, 0, 28
HSL 236.5°, 42, 52 hsl(236.5,42%,52%)
HSV (or HSB) 236.5°, 56, 72.2
Web Safe 6666cc #6666cc
CIE-LAB 41.257, 26.088, -52.272
XYZ 15.452, 12.026, 46.852
xyY 0.208, 0.162, 12.026
CIE-LCH 41.257, 58.421, 296.523
CIE-LUV 41.257, -7.567, -78.625
Hunter-Lab 34.678, 18.847, -55.829
Binary 01010001, 01010111, 10111000

Color Schemes with #5157b8

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

Alternatives to #5157b8

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

Similar Colors

#5157b8 Preview

Text with hexadecimal color #5157b8

This text has a font color of #5157b8.

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

This paragraph has a background color of #5157b8.

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

This element has a border color of #5157b8.

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

Shades and Tints of #5157b8

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

Shade Color Variation
Tint Color Variation

Tones of #5157b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157b8 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
  • #606060 Achromatopsia 0.005% of the population
  • #5d5e72 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2966c1 Protanopia 1% of men
  • #006bb2 Deuteranopia 1% of men
  • #397179 Tritanopia 0.001% of the population
Trichromacy
  • #3760be Protanomaly 1% of men, 0.01% of women
  • #1d63b4 Deuteranomaly 6% of men, 0.4% of women
  • #416790 Tritanomaly 0.01% of the population