In RGB color space, #042287 hex color has a red value of 4, a green value of 34 and a blue value of 135.
In CMYK color space (used in color printing), #042287 hex color is composed of 97.04% cyan, 74.81% magenta, 0% yellow and 47.06% black.
#042287 color has a hue of 226.3 degrees, a saturation of 94.24% and a lightness of 27.3%.
#042287 hex color contains mainly BLUE.
The closest web safe color of #042287 is #003399
#042287 hex color has a decimal value of 270983.
HEX | 042287 | #042287 |
---|---|---|
RGB | 4, 34, 135 | rgb(4, 34, 135) |
RGB Percent | 1.57, 13.33, 52.94 | rgb(1.57, 13.33, 52.94) |
CMYK | 97, 75, 0, 47 | |
HSL | 226.3°, 94.24, 27.3 | hsl(226.3, 94.24%, 27.3%) |
HSV | 226.3°, 97, 52.9 |
XYZ | 4.995, 2.919, 23.222 |
---|---|
Hunter Lab | 17.085, 22.287, -68.627 |
CIE-LAB | 19.717, 33.334, -57.913 |
CIE-LCH | 19.717, 66.821, 299.924 |
CIE-LUV | 97.04, 74.81, 0, 47.06 |
Web Safe | 003399 |
RGB percent of color #042287
CMYK percent of color #042287
Text with hexadecimal color #042287
This text has a font color of #042287
<p style="color:#042287">Text here</p>
#042287 Background Color
This box has a background color of #042287
<div style="background-color:#042287">Text here</div>
#042287 Border Color
This box has a border color of #042287
<div style="border: 4px solid #042287">Text here</div>
CSS codes
<p style="color:#042287">Text here</p>
<div style="background-color:#042287">Text here</div>
<div style="border: 4px solid #042287">Text here</div>
#042287 Color on white background
This is how a font and box color of #042287 will look
on a white background.
#042287 Color on black background
This is how a font and box color of #042287 hex color will look
on a black background.