In RGB color space, #0504b1 hex color has a red value of 5, a green value of 4 and a blue value of 177.
In CMYK color space (used in color printing), #0504b1 hex color is composed of 97.18% cyan, 97.74% magenta, 0% yellow and 30.59% black.
#0504b1 color has a hue of 240.3 degrees, a saturation of 95.58% and a lightness of 35.5%.
#0504b1 hex color contains mainly BLUE.
The closest web safe color of #0504b1 is #000099
#0504b1 hex color has a decimal value of 328881.
HEX | 0504b1 | #0504b1 |
---|---|---|
RGB | 5, 4, 177 | rgb(5, 4, 177) |
RGB Percent | 1.96, 1.57, 69.41 | rgb(1.96, 1.57, 69.41) |
CMYK | 97, 98, 0, 31 | |
HSL | 240.3°, 95.58, 35.5 | hsl(240.3, 95.58%, 35.5%) |
HSV | 240.3°, 97.7, 69.4 |
XYZ | 8.042, 3.293, 41.807 |
---|---|
Hunter Lab | 18.147, 47.349, -123.892 |
CIE-LAB | 21.181, 59.242, -81.26 |
CIE-LCH | 21.181, 100.562, 306.094 |
CIE-LUV | 97.18, 97.74, 0, 30.59 |
Web Safe | 000099 |
RGB percent of color #0504b1
CMYK percent of color #0504b1
Text with hexadecimal color #0504b1
This text has a font color of #0504b1
<p style="color:#0504b1">Text here</p>
#0504b1 Background Color
This box has a background color of #0504b1
<div style="background-color:#0504b1">Text here</div>
#0504b1 Border Color
This box has a border color of #0504b1
<div style="border: 4px solid #0504b1">Text here</div>
CSS codes
<p style="color:#0504b1">Text here</p>
<div style="background-color:#0504b1">Text here</div>
<div style="border: 4px solid #0504b1">Text here</div>
#0504b1 Color on white background
This is how a font and box color of #0504b1 will look
on a white background.
#0504b1 Color on black background
This is how a font and box color of #0504b1 hex color will look
on a black background.