#5157b5 Color Information

In a RGB color space, hex #5157b5 is composed of 31.8% red, 34.1% green and 71% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 51.9% magenta, 0% yellow and 29% black. It has a hue angle of 236.4 degrees, a saturation of 40.3% and a lightness of 51.4%. #5157b5 color hex could be obtained by blending #a2aeff with #00006b. Closest websafe color is: #6666cc.

    • R 32
    • G 34
    • B 71
    RGB color chart
    • C 55
    • M 52
    • Y 0
    • K 29
    CMYK color chart

#5157b5 color description : Moderate blue.

#5157b5 Color Conversion

The hexadecimal color #5157b5 has RGB values of R:81, G:87, B:181 and CMYK values of C:0.55, M:0.52, Y:0, K:0.29. Its decimal value is 5330869.

Hex triplet 5157b5 #5157b5
RGB Decimal 81, 87, 181 rgb(81,87,181)
RGB Percent 31.8, 34.1, 71 rgb(31.8%,34.1%,71%)
CMYK 55, 52, 0, 29
HSL 236.4°, 40.3, 51.4 hsl(236.4,40.3%,51.4%)
HSV (or HSB) 236.4°, 55.2, 71
Web Safe 6666cc #6666cc
CIE-LAB 41.059, 25.098, -50.833
XYZ 15.14, 11.901, 45.213
xyY 0.21, 0.165, 11.901
CIE-LCH 41.059, 56.691, 296.278
CIE-LUV 41.059, -7.435, -76.362
Hunter-Lab 34.498, 17.967, -53.556
Binary 01010001, 01010111, 10110101

Color Schemes with #5157b5

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

Alternatives to #5157b5

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

Similar Colors

#5157b5 Preview

Text with hexadecimal color #5157b5

This text has a font color of #5157b5.

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

This paragraph has a background color of #5157b5.

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

This element has a border color of #5157b5.

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

Shades and Tints of #5157b5

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

Shade Color Variation
Tint Color Variation

Tones of #5157b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157b5 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
  • #5d5e71 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2e66be Protanopia 1% of men
  • #006ab1 Deuteranopia 1% of men
  • #3b7078 Tritanopia 0.001% of the population
Trichromacy
  • #3b60bb Protanomaly 1% of men, 0.01% of women
  • #1d63b2 Deuteranomaly 6% of men, 0.4% of women
  • #43678e Tritanomaly 0.01% of the population