In RGB color space, #0504a2 hex color has a red value of 5, a green value of 4 and a blue value of 162.
In CMYK color space (used in color printing), #0504a2 hex color is composed of 96.91% cyan, 97.53% magenta, 0% yellow and 36.47% black.
#0504a2 color has a hue of 240.4 degrees, a saturation of 95.18% and a lightness of 32.5%.
#0504a2 hex color contains mainly BLUE.
The closest web safe color of #0504a2 is #000099
#0504a2 hex color has a decimal value of 328866.
HEX | 0504a2 | #0504a2 |
---|---|---|
RGB | 5, 4, 162 | rgb(5, 4, 162) |
RGB Percent | 1.96, 1.57, 63.53 | rgb(1.96, 1.57, 63.53) |
CMYK | 97, 98, 0, 36 | |
HSL | 240.4°, 95.18, 32.5 | hsl(240.4, 95.18%, 32.5%) |
HSV | 240.4°, 97.5, 63.5 |
XYZ | 6.628, 2.728, 34.36 |
---|---|
Hunter Lab | 16.517, 42.726, -111.781 |
CIE-LAB | 18.92, 55.286, -75.957 |
CIE-LCH | 18.92, 93.947, 306.049 |
CIE-LUV | 96.91, 97.53, 0, 36.47 |
Web Safe | 000099 |
RGB percent of color #0504a2
CMYK percent of color #0504a2
Text with hexadecimal color #0504a2
This text has a font color of #0504a2
<p style="color:#0504a2">Text here</p>
#0504a2 Background Color
This box has a background color of #0504a2
<div style="background-color:#0504a2">Text here</div>
#0504a2 Border Color
This box has a border color of #0504a2
<div style="border: 4px solid #0504a2">Text here</div>
CSS codes
<p style="color:#0504a2">Text here</p>
<div style="background-color:#0504a2">Text here</div>
<div style="border: 4px solid #0504a2">Text here</div>
#0504a2 Color on white background
This is how a font and box color of #0504a2 will look
on a white background.
#0504a2 Color on black background
This is how a font and box color of #0504a2 hex color will look
on a black background.