In RGB color space, #04218b hex color has a red value of 4, a green value of 33 and a blue value of 139.
In CMYK color space (used in color printing), #04218b hex color is composed of 97.12% cyan, 76.26% magenta, 0% yellow and 45.49% black.
#04218b color has a hue of 227.1 degrees, a saturation of 94.41% and a lightness of 28%.
#04218b hex color contains mainly BLUE.
The closest web safe color of #04218b is #003399
#04218b hex color has a decimal value of 270731.
HEX | 04218b | #04218b |
---|---|---|
RGB | 4, 33, 139 | rgb(4, 33, 139) |
RGB Percent | 1.57, 12.94, 54.51 | rgb(1.57, 12.94, 54.51) |
CMYK | 97, 76, 0, 45 | |
HSL | 227.1°, 94.41, 28 | hsl(227.1, 94.41%, 28%) |
HSV | 227.1°, 97.1, 54.5 |
XYZ | 5.254, 2.978, 24.724 |
---|---|
Hunter Lab | 17.257, 24.146, -72.865 |
CIE-LAB | 19.956, 35.486, -60.023 |
CIE-LCH | 19.956, 69.728, 300.592 |
CIE-LUV | 97.12, 76.26, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #04218b
CMYK percent of color #04218b
Text with hexadecimal color #04218b
This text has a font color of #04218b
<p style="color:#04218b">Text here</p>
#04218b Background Color
This box has a background color of #04218b
<div style="background-color:#04218b">Text here</div>
#04218b Border Color
This box has a border color of #04218b
<div style="border: 4px solid #04218b">Text here</div>
CSS codes
<p style="color:#04218b">Text here</p>
<div style="background-color:#04218b">Text here</div>
<div style="border: 4px solid #04218b">Text here</div>
#04218b Color on white background
This is how a font and box color of #04218b will look
on a white background.
#04218b Color on black background
This is how a font and box color of #04218b hex color will look
on a black background.