Color encyclopedia

#5156c7 Color Information

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


#5156c7 Color Conversion

The hexadecimal color #5156c7 has RGB values of R:81, G:86, B:199 and CMYK values of C:0.59, M:0.57, Y:0, K:0.22. Its decimal value is 5330631.

Hex triplet 5156c7 #5156c7
RGB Decimal 81, 86, 199 rgb(81,86,199)
RGB Percent 31.8, 33.7, 78 rgb(31.8%,33.7%,78%)
CMYK 59.3, 56.8, 0, 22
HSL 237.5°, 51.3, 54.9 hsl(237.5,51.3%,54.9%)
HSV(HSB) 237.5°, 59.3, 78
Web Safe 6666cc #66c
XYZ 17.03, 12.528, 55.553
xyY 0.2, 0.147, 12.528
CIE-LAB 42.044, 31.689, -59.738
CIE-LCH 42.044, 67.622, 297.944
CIE-LUV 42.044, -7.944, -90.139
Hunter-Lab 35.396, 23.94, -68.279
Binary 01010001, 01010110, 11000111

#5156c7 Color Analysis

R-G-B component

Color Schemes with #5156c7

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color

Alternatives to #5156c7

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

#5156c7 Preview

Text with hexadecimal color #5156c7

This text has a font color of #5156c7.

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

This paragraph has a background color of #5156c7.

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

This element has a border color of #5156c7.

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

Shades and Tints of #5156c7

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

Tones of #5156c7

A tone is produced by adding gray to any pure hue. In this case, #8a8b8e is the less saturated color, while #212af7 is the most saturated one.