In RGB color space, #042cb8 hex color has a red value of 4, a green value of 44 and a blue value of 184.
In CMYK color space (used in color printing), #042cb8 hex color is composed of 97.83% cyan, 76.09% magenta, 0% yellow and 27.84% black.
#042cb8 color has a hue of 226.7 degrees, a saturation of 95.74% and a lightness of 36.9%.
#042cb8 hex color contains mainly BLUE.
The closest web safe color of #042cb8 is #0033cc
#042cb8 hex color has a decimal value of 273592.
HEX | 042cb8 | #042cb8 |
---|---|---|
RGB | 4, 44, 184 | rgb(4, 44, 184) |
RGB Percent | 1.57, 17.25, 72.16 | rgb(1.57, 17.25, 72.16) |
CMYK | 98, 76, 0, 28 | |
HSL | 226.7°, 95.74, 36.9 | hsl(226.7, 95.74%, 36.9%) |
HSV | 226.7°, 97.8, 72.2 |
XYZ | 9.602, 5.288, 45.862 |
---|---|
Hunter Lab | 22.996, 34.292, -102.15 |
CIE-LAB | 27.54, 45.196, -74.852 |
CIE-LCH | 27.54, 87.439, 301.124 |
CIE-LUV | 97.83, 76.09, 0, 27.84 |
Web Safe | 0033cc |
RGB percent of color #042cb8
CMYK percent of color #042cb8
Text with hexadecimal color #042cb8
This text has a font color of #042cb8
<p style="color:#042cb8">Text here</p>
#042cb8 Background Color
This box has a background color of #042cb8
<div style="background-color:#042cb8">Text here</div>
#042cb8 Border Color
This box has a border color of #042cb8
<div style="border: 4px solid #042cb8">Text here</div>
CSS codes
<p style="color:#042cb8">Text here</p>
<div style="background-color:#042cb8">Text here</div>
<div style="border: 4px solid #042cb8">Text here</div>
#042cb8 Color on white background
This is how a font and box color of #042cb8 will look
on a white background.
#042cb8 Color on black background
This is how a font and box color of #042cb8 hex color will look
on a black background.