#5157b4 Color Information

In a RGB color space, hex #5157b4 is composed of 31.8% red, 34.1% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 55% cyan, 51.7% magenta, 0% yellow and 29.4% black. It has a hue angle of 236.4 degrees, a saturation of 39.8% and a lightness of 51.2%. #5157b4 color hex could be obtained by blending #a2aeff with #000069. 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

#5157b4 color description : Moderate blue.

#5157b4 Color Conversion

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

Hex triplet 5157b4 #5157b4
RGB Decimal 81, 87, 180 rgb(81,87,180)
RGB Percent 31.8, 34.1, 70.6 rgb(31.8%,34.1%,70.6%)
CMYK 55, 52, 0, 29
HSL 236.4°, 39.8, 51.2 hsl(236.4,39.8%,51.2%)
HSV (or HSB) 236.4°, 55, 70.6
Web Safe 6666cc #6666cc
CIE-LAB 40.993, 24.769, -50.351
XYZ 15.038, 11.86, 44.674
xyY 0.21, 0.166, 11.86
CIE-LCH 40.993, 56.113, 296.194
CIE-LUV 40.993, -7.391, -75.605
Hunter-Lab 34.439, 17.676, -52.804
Binary 01010001, 01010111, 10110100

Color Schemes with #5157b4

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

Alternatives to #5157b4

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

Similar Colors

#5157b4 Preview

Text with hexadecimal color #5157b4

This text has a font color of #5157b4.

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

This paragraph has a background color of #5157b4.

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

This element has a border color of #5157b4.

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

Shades and Tints of #5157b4

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

Shade Color Variation
Tint Color Variation

Tones of #5157b4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157b4 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
  • #3065bd Protanopia 1% of men
  • #006ab1 Deuteranopia 1% of men
  • #3c7078 Tritanopia 0.001% of the population
Trichromacy
  • #3c60ba Protanomaly 1% of men, 0.01% of women
  • #1d63b2 Deuteranomaly 6% of men, 0.4% of women
  • #43678e Tritanomaly 0.01% of the population