In RGB color space, #042498 hex color has a red value of 4, a green value of 36 and a blue value of 152.
In CMYK color space (used in color printing), #042498 hex color is composed of 97.37% cyan, 76.32% magenta, 0% yellow and 40.39% black.
#042498 color has a hue of 227 degrees, a saturation of 94.87% and a lightness of 30.6%.
#042498 hex color contains mainly BLUE.
The closest web safe color of #042498 is #003399
#042498 hex color has a decimal value of 271512.
HEX | 042498 | #042498 |
---|---|---|
RGB | 4, 36, 152 | rgb(4, 36, 152) |
RGB Percent | 1.57, 14.12, 59.61 | rgb(1.57, 14.12, 59.61) |
CMYK | 97, 76, 0, 40 | |
HSL | 227°, 94.87, 30.6 | hsl(227, 94.87%, 30.6%) |
HSV | 227°, 97.4, 59.6 |
XYZ | 6.348, 3.555, 30.057 |
---|---|
Hunter Lab | 18.855, 27.102, -81.318 |
CIE-LAB | 22.142, 38.457, -64.462 |
CIE-LCH | 22.142, 75.062, 300.82 |
CIE-LUV | 97.37, 76.32, 0, 40.39 |
Web Safe | 003399 |
RGB percent of color #042498
CMYK percent of color #042498
Text with hexadecimal color #042498
This text has a font color of #042498
<p style="color:#042498">Text here</p>
#042498 Background Color
This box has a background color of #042498
<div style="background-color:#042498">Text here</div>
#042498 Border Color
This box has a border color of #042498
<div style="border: 4px solid #042498">Text here</div>
CSS codes
<p style="color:#042498">Text here</p>
<div style="background-color:#042498">Text here</div>
<div style="border: 4px solid #042498">Text here</div>
#042498 Color on white background
This is how a font and box color of #042498 will look
on a white background.
#042498 Color on black background
This is how a font and box color of #042498 hex color will look
on a black background.