In RGB color space, #0504a7 hex color has a red value of 5, a green value of 4 and a blue value of 167.
In CMYK color space (used in color printing), #0504a7 hex color is composed of 97.01% cyan, 97.6% magenta, 0% yellow and 34.51% black.
#0504a7 color has a hue of 240.4 degrees, a saturation of 95.32% and a lightness of 33.5%.
#0504a7 hex color contains mainly BLUE.
The closest web safe color of #0504a7 is #000099
#0504a7 hex color has a decimal value of 328871.
HEX | 0504a7 | #0504a7 |
---|---|---|
RGB | 5, 4, 167 | rgb(5, 4, 167) |
RGB Percent | 1.96, 1.57, 65.49 | rgb(1.96, 1.57, 65.49) |
CMYK | 97, 98, 0, 35 | |
HSL | 240.4°, 95.32, 33.5 | hsl(240.4, 95.32%, 33.5%) |
HSV | 240.4°, 97.6, 65.5 |
XYZ | 7.081, 2.909, 36.748 |
---|---|
Hunter Lab | 17.056, 44.26, -115.806 |
CIE-LAB | 19.676, 56.614, -77.738 |
CIE-LCH | 19.676, 96.168, 306.065 |
CIE-LUV | 97.01, 97.6, 0, 34.51 |
Web Safe | 000099 |
RGB percent of color #0504a7
CMYK percent of color #0504a7
Text with hexadecimal color #0504a7
This text has a font color of #0504a7
<p style="color:#0504a7">Text here</p>
#0504a7 Background Color
This box has a background color of #0504a7
<div style="background-color:#0504a7">Text here</div>
#0504a7 Border Color
This box has a border color of #0504a7
<div style="border: 4px solid #0504a7">Text here</div>
CSS codes
<p style="color:#0504a7">Text here</p>
<div style="background-color:#0504a7">Text here</div>
<div style="border: 4px solid #0504a7">Text here</div>
#0504a7 Color on white background
This is how a font and box color of #0504a7 will look
on a white background.
#0504a7 Color on black background
This is how a font and box color of #0504a7 hex color will look
on a black background.