In RGB color space, #5123a8 hex color has a red value of 81, a green value of 35 and a blue value of 168.
In CMYK color space (used in color printing), #5123a8 hex color is composed of 51.79% cyan, 79.17% magenta, 0% yellow and 34.12% black.
#5123a8 color has a hue of 260.8 degrees, a saturation of 65.52% and a lightness of 39.8%.
#5123a8 hex color contains mainly BLUE.
The closest web safe color of #5123a8 is #663399
#5123a8 hex color has a decimal value of 5317544.
HEX | 5123a8 | #5123a8 |
---|---|---|
RGB | 81, 35, 168 | rgb(81, 35, 168) |
RGB Percent | 31.76, 13.73, 65.88 | rgb(31.76, 13.73, 65.88) |
CMYK | 52, 79, 0, 34 | |
HSL | 260.8°, 65.52, 39.8 | hsl(260.8, 65.52%, 39.8%) |
HSV | 260.8°, 79.2, 65.9 |
XYZ | 11.062, 5.779, 37.578 |
---|---|
Hunter Lab | 24.04, 40.069, -75.853 |
CIE-LAB | 28.848, 50.809, -62.964 |
CIE-LCH | 28.848, 80.907, 308.902 |
CIE-LUV | 51.79, 79.17, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5123a8
CMYK percent of color #5123a8
Text with hexadecimal color #5123a8
This text has a font color of #5123a8
<p style="color:#5123a8">Text here</p>
#5123a8 Background Color
This box has a background color of #5123a8
<div style="background-color:#5123a8">Text here</div>
#5123a8 Border Color
This box has a border color of #5123a8
<div style="border: 4px solid #5123a8">Text here</div>
CSS codes
<p style="color:#5123a8">Text here</p>
<div style="background-color:#5123a8">Text here</div>
<div style="border: 4px solid #5123a8">Text here</div>
#5123a8 Color on white background
This is how a font and box color of #5123a8 will look
on a white background.
#5123a8 Color on black background
This is how a font and box color of #5123a8 hex color will look
on a black background.