In RGB color space, #040940 hex color has a red value of 4, a green value of 9 and a blue value of 64.
In CMYK color space (used in color printing), #040940 hex color is composed of 93.75% cyan, 85.94% magenta, 0% yellow and 74.9% black.
#040940 color has a hue of 235 degrees, a saturation of 88.24% and a lightness of 13.3%.
#040940 hex color contains mainly BLUE.
The closest web safe color of #040940 is #000033
#040940 hex color has a decimal value of 264512.
HEX | 040940 | #040940 |
---|---|---|
RGB | 4, 9, 64 | rgb(4, 9, 64) |
RGB Percent | 1.57, 3.53, 25.1 | rgb(1.57, 3.53, 25.1) |
CMYK | 94, 86, 0, 75 | |
HSL | 235°, 88.24, 13.3 | hsl(235, 88.24%, 13.3%) |
HSV | 235°, 93.8, 25.1 |
XYZ | 1.073, 0.591, 4.908 |
---|---|
Hunter Lab | 7.688, 11.461, -32.471 |
CIE-LAB | 5.338, 20.189, -34.387 |
CIE-LCH | 5.338, 39.876, 300.418 |
CIE-LUV | 93.75, 85.94, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040940
CMYK percent of color #040940
Text with hexadecimal color #040940
This text has a font color of #040940
<p style="color:#040940">Text here</p>
#040940 Background Color
This box has a background color of #040940
<div style="background-color:#040940">Text here</div>
#040940 Border Color
This box has a border color of #040940
<div style="border: 4px solid #040940">Text here</div>
CSS codes
<p style="color:#040940">Text here</p>
<div style="background-color:#040940">Text here</div>
<div style="border: 4px solid #040940">Text here</div>
#040940 Color on white background
This is how a font and box color of #040940 will look
on a white background.
#040940 Color on black background
This is how a font and box color of #040940 hex color will look
on a black background.