In RGB color space, #0504a1 hex color has a red value of 5, a green value of 4 and a blue value of 161.
In CMYK color space (used in color printing), #0504a1 hex color is composed of 96.89% cyan, 97.52% magenta, 0% yellow and 36.86% black.
#0504a1 color has a hue of 240.4 degrees, a saturation of 95.15% and a lightness of 32.4%.
#0504a1 hex color contains mainly BLUE.
The closest web safe color of #0504a1 is #000099
#0504a1 hex color has a decimal value of 328865.
HEX | 0504a1 | #0504a1 |
---|---|---|
RGB | 5, 4, 161 | rgb(5, 4, 161) |
RGB Percent | 1.96, 1.57, 63.14 | rgb(1.96, 1.57, 63.14) |
CMYK | 97, 98, 0, 37 | |
HSL | 240.4°, 95.15, 32.4 | hsl(240.4, 95.15%, 32.4%) |
HSV | 240.4°, 97.5, 63.1 |
XYZ | 6.539, 2.692, 33.893 |
---|---|
Hunter Lab | 16.407, 42.427, -110.992 |
CIE-LAB | 18.766, 55.026, -75.603 |
CIE-LCH | 18.766, 93.508, 306.048 |
CIE-LUV | 96.89, 97.52, 0, 36.86 |
Web Safe | 000099 |
RGB percent of color #0504a1
CMYK percent of color #0504a1
Text with hexadecimal color #0504a1
This text has a font color of #0504a1
<p style="color:#0504a1">Text here</p>
#0504a1 Background Color
This box has a background color of #0504a1
<div style="background-color:#0504a1">Text here</div>
#0504a1 Border Color
This box has a border color of #0504a1
<div style="border: 4px solid #0504a1">Text here</div>
CSS codes
<p style="color:#0504a1">Text here</p>
<div style="background-color:#0504a1">Text here</div>
<div style="border: 4px solid #0504a1">Text here</div>
#0504a1 Color on white background
This is how a font and box color of #0504a1 will look
on a white background.
#0504a1 Color on black background
This is how a font and box color of #0504a1 hex color will look
on a black background.