In RGB color space, #042f6f hex color has a red value of 4, a green value of 47 and a blue value of 111.
In CMYK color space (used in color printing), #042f6f hex color is composed of 96.4% cyan, 57.66% magenta, 0% yellow and 56.47% black.
#042f6f color has a hue of 215.9 degrees, a saturation of 93.04% and a lightness of 22.5%.
#042f6f hex color contains mainly BLUE.
The closest web safe color of #042f6f is #003366
#042f6f hex color has a decimal value of 274287.
HEX | 042f6f | #042f6f |
---|---|---|
RGB | 4, 47, 111 | rgb(4, 47, 111) |
RGB Percent | 1.57, 18.43, 43.53 | rgb(1.57, 18.43, 43.53) |
CMYK | 96, 58, 0, 56 | |
HSL | 215.9°, 93.04, 22.5 | hsl(215.9, 93.04%, 22.5%) |
HSV | 215.9°, 96.4, 43.5 |
XYZ | 3.936, 3.207, 15.45 |
---|---|
Hunter Lab | 17.908, 7.893, -38.616 |
CIE-LAB | 20.855, 14.129, -40.774 |
CIE-LCH | 20.855, 43.153, 289.112 |
CIE-LUV | 96.4, 57.66, 0, 56.47 |
Web Safe | 003366 |
RGB percent of color #042f6f
CMYK percent of color #042f6f
Text with hexadecimal color #042f6f
This text has a font color of #042f6f
<p style="color:#042f6f">Text here</p>
#042f6f Background Color
This box has a background color of #042f6f
<div style="background-color:#042f6f">Text here</div>
#042f6f Border Color
This box has a border color of #042f6f
<div style="border: 4px solid #042f6f">Text here</div>
CSS codes
<p style="color:#042f6f">Text here</p>
<div style="background-color:#042f6f">Text here</div>
<div style="border: 4px solid #042f6f">Text here</div>
#042f6f Color on white background
This is how a font and box color of #042f6f will look
on a white background.
#042f6f Color on black background
This is how a font and box color of #042f6f hex color will look
on a black background.