In RGB color space, #04228b hex color has a red value of 4, a green value of 34 and a blue value of 139.
In CMYK color space (used in color printing), #04228b hex color is composed of 97.12% cyan, 75.54% magenta, 0% yellow and 45.49% black.
#04228b color has a hue of 226.7 degrees, a saturation of 94.41% and a lightness of 28%.
#04228b hex color contains mainly BLUE.
The closest web safe color of #04228b is #003399
#04228b hex color has a decimal value of 270987.
HEX | 04228b | #04228b |
---|---|---|
RGB | 4, 34, 139 | rgb(4, 34, 139) |
RGB Percent | 1.57, 13.33, 54.51 | rgb(1.57, 13.33, 54.51) |
CMYK | 97, 76, 0, 45 | |
HSL | 226.7°, 94.41, 28 | hsl(226.7, 94.41%, 28%) |
HSV | 226.7°, 97.1, 54.5 |
XYZ | 5.282, 3.034, 24.733 |
---|---|
Hunter Lab | 17.418, 23.647, -71.995 |
CIE-LAB | 20.18, 34.859, -59.652 |
CIE-LCH | 20.18, 69.091, 300.301 |
CIE-LUV | 97.12, 75.54, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #04228b
CMYK percent of color #04228b
Text with hexadecimal color #04228b
This text has a font color of #04228b
<p style="color:#04228b">Text here</p>
#04228b Background Color
This box has a background color of #04228b
<div style="background-color:#04228b">Text here</div>
#04228b Border Color
This box has a border color of #04228b
<div style="border: 4px solid #04228b">Text here</div>
CSS codes
<p style="color:#04228b">Text here</p>
<div style="background-color:#04228b">Text here</div>
<div style="border: 4px solid #04228b">Text here</div>
#04228b Color on white background
This is how a font and box color of #04228b will look
on a white background.
#04228b Color on black background
This is how a font and box color of #04228b hex color will look
on a black background.