In RGB color space, #042fa8 hex color has a red value of 4, a green value of 47 and a blue value of 168.
In CMYK color space (used in color printing), #042fa8 hex color is composed of 97.62% cyan, 72.02% magenta, 0% yellow and 34.12% black.
#042fa8 color has a hue of 224.3 degrees, a saturation of 95.35% and a lightness of 33.7%.
#042fa8 hex color contains mainly BLUE.
The closest web safe color of #042fa8 is #003399
#042fa8 hex color has a decimal value of 274344.
HEX | 042fa8 | #042fa8 |
---|---|---|
RGB | 4, 47, 168 | rgb(4, 47, 168) |
RGB Percent | 1.57, 18.43, 65.88 | rgb(1.57, 18.43, 65.88) |
CMYK | 98, 72, 0, 34 | |
HSL | 224.3°, 95.35, 33.7 | hsl(224.3, 95.35%, 33.7%) |
HSV | 224.3°, 97.6, 65.9 |
XYZ | 8.134, 4.886, 37.56 |
---|---|
Hunter Lab | 22.104, 27.002, -85.274 |
CIE-LAB | 26.407, 37.548, -67.149 |
CIE-LCH | 26.407, 76.934, 299.213 |
CIE-LUV | 97.62, 72.02, 0, 34.12 |
Web Safe | 003399 |
RGB percent of color #042fa8
CMYK percent of color #042fa8
Text with hexadecimal color #042fa8
This text has a font color of #042fa8
<p style="color:#042fa8">Text here</p>
#042fa8 Background Color
This box has a background color of #042fa8
<div style="background-color:#042fa8">Text here</div>
#042fa8 Border Color
This box has a border color of #042fa8
<div style="border: 4px solid #042fa8">Text here</div>
CSS codes
<p style="color:#042fa8">Text here</p>
<div style="background-color:#042fa8">Text here</div>
<div style="border: 4px solid #042fa8">Text here</div>
#042fa8 Color on white background
This is how a font and box color of #042fa8 will look
on a white background.
#042fa8 Color on black background
This is how a font and box color of #042fa8 hex color will look
on a black background.