In RGB color space, #040398 hex color has a red value of 4, a green value of 3 and a blue value of 152.
In CMYK color space (used in color printing), #040398 hex color is composed of 97.37% cyan, 98.03% magenta, 0% yellow and 40.39% black.
#040398 color has a hue of 240.4 degrees, a saturation of 96.13% and a lightness of 30.4%.
#040398 hex color contains mainly BLUE.
The closest web safe color of #040398 is #000099
#040398 hex color has a decimal value of 263064.
HEX | 040398 | #040398 |
---|---|---|
RGB | 4, 3, 152 | rgb(4, 3, 152) |
RGB Percent | 1.57, 1.18, 59.61 | rgb(1.57, 1.18, 59.61) |
CMYK | 97, 98, 0, 40 | |
HSL | 240.4°, 96.13, 30.4 | hsl(240.4, 96.13%, 30.4%) |
HSV | 240.4°, 98, 59.6 |
XYZ | 5.75, 2.358, 29.858 |
---|---|
Hunter Lab | 15.356, 39.967, -104.535 |
CIE-LAB | 17.264, 52.903, -72.585 |
CIE-LCH | 17.264, 89.818, 306.086 |
CIE-LUV | 97.37, 98.03, 0, 40.39 |
Web Safe | 000099 |
RGB percent of color #040398
CMYK percent of color #040398
Text with hexadecimal color #040398
This text has a font color of #040398
<p style="color:#040398">Text here</p>
#040398 Background Color
This box has a background color of #040398
<div style="background-color:#040398">Text here</div>
#040398 Border Color
This box has a border color of #040398
<div style="border: 4px solid #040398">Text here</div>
CSS codes
<p style="color:#040398">Text here</p>
<div style="background-color:#040398">Text here</div>
<div style="border: 4px solid #040398">Text here</div>
#040398 Color on white background
This is how a font and box color of #040398 will look
on a white background.
#040398 Color on black background
This is how a font and box color of #040398 hex color will look
on a black background.