In RGB color space, #5148a2 hex color has a red value of 81, a green value of 72 and a blue value of 162.
In CMYK color space (used in color printing), #5148a2 hex color is composed of 50% cyan, 55.56% magenta, 0% yellow and 36.47% black.
#5148a2 color has a hue of 246 degrees, a saturation of 38.46% and a lightness of 45.9%.
#5148a2 hex color contains mainly BLUE.
The closest web safe color of #5148a2 is #663399
#5148a2 hex color has a decimal value of 5327010.
HEX | 5148a2 | #5148a2 |
---|---|---|
RGB | 81, 72, 162 | rgb(81, 72, 162) |
RGB Percent | 31.76, 28.24, 63.53 | rgb(31.76, 28.24, 63.53) |
CMYK | 50, 56, 0, 36 | |
HSL | 246°, 38.46, 45.9 | hsl(246, 38.46%, 45.9%) |
HSV | 246°, 55.6, 63.5 |
XYZ | 12.232, 8.993, 35.273 |
---|---|
Hunter Lab | 29.988, 20.329, -48.746 |
CIE-LAB | 35.971, 28.427, -47.754 |
CIE-LCH | 35.971, 55.575, 300.764 |
CIE-LUV | 50, 55.56, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5148a2
CMYK percent of color #5148a2
Text with hexadecimal color #5148a2
This text has a font color of #5148a2
<p style="color:#5148a2">Text here</p>
#5148a2 Background Color
This box has a background color of #5148a2
<div style="background-color:#5148a2">Text here</div>
#5148a2 Border Color
This box has a border color of #5148a2
<div style="border: 4px solid #5148a2">Text here</div>
CSS codes
<p style="color:#5148a2">Text here</p>
<div style="background-color:#5148a2">Text here</div>
<div style="border: 4px solid #5148a2">Text here</div>
#5148a2 Color on white background
This is how a font and box color of #5148a2 will look
on a white background.
#5148a2 Color on black background
This is how a font and box color of #5148a2 hex color will look
on a black background.