#5157c7 Color Information

In a RGB color space, hex #5157c7 is composed of 31.8% red, 34.1% green and 78% blue. Whereas in a CMYK color space, it is composed of 59.3% cyan, 56.3% magenta, 0% yellow and 22% black. It has a hue angle of 236.9 degrees, a saturation of 51.3% and a lightness of 54.9%. #5157c7 color hex could be obtained by blending #a2aeff with #00008f. Closest websafe color is: #6666cc.

    • R 32
    • G 34
    • B 78
    RGB color chart
    • C 59
    • M 56
    • Y 0
    • K 22
    CMYK color chart

#5157c7 color description : Moderate blue.

#5157c7 Color Conversion

The hexadecimal color #5157c7 has RGB values of R:81, G:87, B:199 and CMYK values of C:0.59, M:0.56, Y:0, K:0.22. Its decimal value is 5330887.

Hex triplet 5157c7 #5157c7
RGB Decimal 81, 87, 199 rgb(81,87,199)
RGB Percent 31.8, 34.1, 78 rgb(31.8%,34.1%,78%)
CMYK 59, 56, 0, 22
HSL 236.9°, 51.3, 54.9 hsl(236.9,51.3%,54.9%)
HSV (or HSB) 236.9°, 59.3, 78
Web Safe 6666cc #6666cc
CIE-LAB 42.29, 31.06, -59.336
XYZ 17.108, 12.688, 55.577
xyY 0.2, 0.149, 12.688
CIE-LCH 42.29, 66.974, 297.63
CIE-LUV 42.29, -8.217, -89.687
Hunter-Lab 35.621, 23.395, -67.572
Binary 01010001, 01010111, 11000111

Color Schemes with #5157c7

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

Alternatives to #5157c7

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

Similar Colors

#5157c7 Preview

Text with hexadecimal color #5157c7

This text has a font color of #5157c7.

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

This paragraph has a background color of #5157c7.

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

This element has a border color of #5157c7.

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

Shades and Tints of #5157c7

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

Shade Color Variation
Tint Color Variation

Tones of #5157c7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5157c7 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
  • #626262 Achromatopsia 0.005% of the population
  • #5f6076 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0068cd Protanopia 1% of men
  • #006eb4 Deuteranopia 1% of men
  • #2b757d Tritanopia 0.001% of the population
Trichromacy
  • #1d62ca Protanomaly 1% of men, 0.01% of women
  • #1d65bb Deuteranomaly 6% of men, 0.4% of women
  • #386a98 Tritanomaly 0.01% of the population