In RGB color space, #040840 hex color has a red value of 4, a green value of 8 and a blue value of 64.
In CMYK color space (used in color printing), #040840 hex color is composed of 93.75% cyan, 87.5% magenta, 0% yellow and 74.9% black.
#040840 color has a hue of 236 degrees, a saturation of 88.24% and a lightness of 13.3%.
#040840 hex color contains mainly BLUE.
The closest web safe color of #040840 is #000033
#040840 hex color has a decimal value of 264256.
HEX | 040840 | #040840 |
---|---|---|
RGB | 4, 8, 64 | rgb(4, 8, 64) |
RGB Percent | 1.57, 3.14, 25.1 | rgb(1.57, 3.14, 25.1) |
CMYK | 94, 88, 0, 75 | |
HSL | 236°, 88.24, 13.3 | hsl(236, 88.24%, 13.3%) |
HSV | 236°, 93.8, 25.1 |
XYZ | 1.062, 0.57, 4.904 |
---|---|
Hunter Lab | 7.55, 11.897, -33.227 |
CIE-LAB | 5.149, 20.622, -34.695 |
CIE-LCH | 5.149, 40.361, 300.726 |
CIE-LUV | 93.75, 87.5, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040840
CMYK percent of color #040840
Text with hexadecimal color #040840
This text has a font color of #040840
<p style="color:#040840">Text here</p>
#040840 Background Color
This box has a background color of #040840
<div style="background-color:#040840">Text here</div>
#040840 Border Color
This box has a border color of #040840
<div style="border: 4px solid #040840">Text here</div>
CSS codes
<p style="color:#040840">Text here</p>
<div style="background-color:#040840">Text here</div>
<div style="border: 4px solid #040840">Text here</div>
#040840 Color on white background
This is how a font and box color of #040840 will look
on a white background.
#040840 Color on black background
This is how a font and box color of #040840 hex color will look
on a black background.