In RGB color space, #0504a0 hex color has a red value of 5, a green value of 4 and a blue value of 160.
In CMYK color space (used in color printing), #0504a0 hex color is composed of 96.88% cyan, 97.5% magenta, 0% yellow and 37.25% black.
#0504a0 color has a hue of 240.4 degrees, a saturation of 95.12% and a lightness of 32.2%.
#0504a0 hex color contains mainly BLUE.
The closest web safe color of #0504a0 is #000099
#0504a0 hex color has a decimal value of 328864.
HEX | 0504a0 | #0504a0 |
---|---|---|
RGB | 5, 4, 160 | rgb(5, 4, 160) |
RGB Percent | 1.96, 1.57, 62.75 | rgb(1.96, 1.57, 62.75) |
CMYK | 97, 98, 0, 37 | |
HSL | 240.4°, 95.12, 32.2 | hsl(240.4, 95.12%, 32.2%) |
HSV | 240.4°, 97.5, 62.7 |
XYZ | 6.451, 2.657, 33.431 |
---|---|
Hunter Lab | 16.3, 42.118, -110.19 |
CIE-LAB | 18.614, 54.755, -75.245 |
CIE-LCH | 18.614, 93.059, 306.043 |
CIE-LUV | 96.88, 97.5, 0, 37.25 |
Web Safe | 000099 |
RGB percent of color #0504a0
CMYK percent of color #0504a0
Text with hexadecimal color #0504a0
This text has a font color of #0504a0
<p style="color:#0504a0">Text here</p>
#0504a0 Background Color
This box has a background color of #0504a0
<div style="background-color:#0504a0">Text here</div>
#0504a0 Border Color
This box has a border color of #0504a0
<div style="border: 4px solid #0504a0">Text here</div>
CSS codes
<p style="color:#0504a0">Text here</p>
<div style="background-color:#0504a0">Text here</div>
<div style="border: 4px solid #0504a0">Text here</div>
#0504a0 Color on white background
This is how a font and box color of #0504a0 will look
on a white background.
#0504a0 Color on black background
This is how a font and box color of #0504a0 hex color will look
on a black background.