In RGB color space, #042f7f hex color has a red value of 4, a green value of 47 and a blue value of 127.
In CMYK color space (used in color printing), #042f7f hex color is composed of 96.85% cyan, 62.99% magenta, 0% yellow and 50.2% black.
#042f7f color has a hue of 219 degrees, a saturation of 93.89% and a lightness of 25.7%.
#042f7f hex color contains mainly BLUE.
The closest web safe color of #042f7f is #003366
#042f7f hex color has a decimal value of 274303.
HEX | 042f7f | #042f7f |
---|---|---|
RGB | 4, 47, 127 | rgb(4, 47, 127) |
RGB Percent | 1.57, 18.43, 49.8 | rgb(1.57, 18.43, 49.8) |
CMYK | 97, 63, 0, 50 | |
HSL | 219°, 93.89, 25.7 | hsl(219, 93.89%, 25.7%) |
HSV | 219°, 96.9, 49.8 |
XYZ | 4.897, 3.591, 20.514 |
---|---|
Hunter Lab | 18.95, 12.965, -50.919 |
CIE-LAB | 22.27, 21.093, -48.672 |
CIE-LCH | 22.27, 53.046, 293.43 |
CIE-LUV | 96.85, 62.99, 0, 50.2 |
Web Safe | 003366 |
RGB percent of color #042f7f
CMYK percent of color #042f7f
Text with hexadecimal color #042f7f
This text has a font color of #042f7f
<p style="color:#042f7f">Text here</p>
#042f7f Background Color
This box has a background color of #042f7f
<div style="background-color:#042f7f">Text here</div>
#042f7f Border Color
This box has a border color of #042f7f
<div style="border: 4px solid #042f7f">Text here</div>
CSS codes
<p style="color:#042f7f">Text here</p>
<div style="background-color:#042f7f">Text here</div>
<div style="border: 4px solid #042f7f">Text here</div>
#042f7f Color on white background
This is how a font and box color of #042f7f will look
on a white background.
#042f7f Color on black background
This is how a font and box color of #042f7f hex color will look
on a black background.