In RGB color space, #5154a2 hex color has a red value of 81, a green value of 84 and a blue value of 162.
In CMYK color space (used in color printing), #5154a2 hex color is composed of 50% cyan, 48.15% magenta, 0% yellow and 36.47% black.
#5154a2 color has a hue of 237.8 degrees, a saturation of 33.33% and a lightness of 47.6%.
#5154a2 hex color contains mainly BLUE.
The closest web safe color of #5154a2 is #666699
#5154a2 hex color has a decimal value of 5330082.
HEX | 5154a2 | #5154a2 |
---|---|---|
RGB | 81, 84, 162 | rgb(81, 84, 162) |
RGB Percent | 31.76, 32.94, 63.53 | rgb(31.76, 32.94, 63.53) |
CMYK | 50, 48, 0, 36 | |
HSL | 237.8°, 33.33, 47.6 | hsl(237.8, 33.33%, 47.6%) |
HSV | 237.8°, 50, 63.5 |
XYZ | 13.085, 10.699, 35.558 |
---|---|
Hunter Lab | 32.709, 14.166, -41.557 |
CIE-LAB | 39.069, 20.81, -42.782 |
CIE-LCH | 39.069, 47.575, 295.939 |
CIE-LUV | 50, 48.15, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #5154a2
CMYK percent of color #5154a2
Text with hexadecimal color #5154a2
This text has a font color of #5154a2
<p style="color:#5154a2">Text here</p>
#5154a2 Background Color
This box has a background color of #5154a2
<div style="background-color:#5154a2">Text here</div>
#5154a2 Border Color
This box has a border color of #5154a2
<div style="border: 4px solid #5154a2">Text here</div>
CSS codes
<p style="color:#5154a2">Text here</p>
<div style="background-color:#5154a2">Text here</div>
<div style="border: 4px solid #5154a2">Text here</div>
#5154a2 Color on white background
This is how a font and box color of #5154a2 will look
on a white background.
#5154a2 Color on black background
This is how a font and box color of #5154a2 hex color will look
on a black background.