#5157c1 Color Information

In a RGB color space, hex #5157c1 is composed of 31.8% red, 34.1% green and 75.7% blue. Whereas in a CMYK color space, it is composed of 58% cyan, 54.9% magenta, 0% yellow and 24.3% black. It has a hue angle of 236.8 degrees, a saturation of 47.5% and a lightness of 53.7%. #5157c1 color hex could be obtained by blending #a2aeff with #000083. Closest websafe color is: #6666cc.

    • R 32
    • G 34
    • B 76
    RGB color chart
    • C 58
    • M 55
    • Y 0
    • K 24
    CMYK color chart

#5157c1 color description : Moderate blue.

#5157c1 Color Conversion

The hexadecimal color #5157c1 has RGB values of R:81, G:87, B:193 and CMYK values of C:0.58, M:0.55, Y:0, K:0.24. Its decimal value is 5330881.

Hex triplet 5157c1 #5157c1
RGB Decimal 81, 87, 193 rgb(81,87,193)
RGB Percent 31.8, 34.1, 75.7 rgb(31.8%,34.1%,75.7%)
CMYK 58, 55, 0, 24
HSL 236.8°, 47.5, 53.7 hsl(236.8,47.5%,53.7%)
HSV (or HSB) 236.8°, 58, 75.7
Web Safe 6666cc #6666cc
CIE-LAB 41.869, 29.068, -56.537
XYZ 16.425, 12.415, 51.98
xyY 0.203, 0.154, 12.415
CIE-LCH 41.869, 63.572, 297.209
CIE-LUV 41.869, -7.958, -85.311
Hunter-Lab 35.235, 21.548, -62.801
Binary 01010001, 01010111, 11000001

Color Schemes with #5157c1

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

Alternatives to #5157c1

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

Similar Colors

#5157c1 Preview

Text with hexadecimal color #5157c1

This text has a font color of #5157c1.

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

This paragraph has a background color of #5157c1.

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

This element has a border color of #5157c1.

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

Shades and Tints of #5157c1

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, #05050e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5157c1

A tone is produced by adding gray to any pure hue. In this case, #87888b is the less saturated color, while #1b26f7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157c1 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
  • #616161 Achromatopsia 0.005% of the population
  • #5e5f74 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0067cb Protanopia 1% of men
  • #006db3 Deuteranopia 1% of men
  • #31737c Tritanopia 0.001% of the population
Trichromacy
  • #1d61c7 Protanomaly 1% of men, 0.01% of women
  • #1d65b8 Deuteranomaly 6% of men, 0.4% of women
  • #3d6995 Tritanomaly 0.01% of the population