In RGB color space, #040798 hex color has a red value of 4, a green value of 7 and a blue value of 152.
In CMYK color space (used in color printing), #040798 hex color is composed of 97.37% cyan, 95.39% magenta, 0% yellow and 40.39% black.
#040798 color has a hue of 238.8 degrees, a saturation of 94.87% and a lightness of 30.6%.
#040798 hex color contains mainly BLUE.
The closest web safe color of #040798 is #000099
#040798 hex color has a decimal value of 264088.
HEX | 040798 | #040798 |
---|---|---|
RGB | 4, 7, 152 | rgb(4, 7, 152) |
RGB Percent | 1.57, 2.75, 59.61 | rgb(1.57, 2.75, 59.61) |
CMYK | 97, 95, 0, 40 | |
HSL | 238.8°, 94.87, 30.6 | hsl(238.8, 94.87%, 30.6%) |
HSV | 238.8°, 97.4, 59.6 |
XYZ | 5.794, 2.445, 29.872 |
---|---|
Hunter Lab | 15.636, 38.778, -102.322 |
CIE-LAB | 17.668, 51.66, -71.908 |
CIE-LCH | 17.668, 88.541, 305.694 |
CIE-LUV | 97.37, 95.39, 0, 40.39 |
Web Safe | 000099 |
RGB percent of color #040798
CMYK percent of color #040798
Text with hexadecimal color #040798
This text has a font color of #040798
<p style="color:#040798">Text here</p>
#040798 Background Color
This box has a background color of #040798
<div style="background-color:#040798">Text here</div>
#040798 Border Color
This box has a border color of #040798
<div style="border: 4px solid #040798">Text here</div>
CSS codes
<p style="color:#040798">Text here</p>
<div style="background-color:#040798">Text here</div>
<div style="border: 4px solid #040798">Text here</div>
#040798 Color on white background
This is how a font and box color of #040798 will look
on a white background.
#040798 Color on black background
This is how a font and box color of #040798 hex color will look
on a black background.