In RGB color space, #040140 hex color has a red value of 4, a green value of 1 and a blue value of 64.
In CMYK color space (used in color printing), #040140 hex color is composed of 93.75% cyan, 98.44% magenta, 0% yellow and 74.9% black.
#040140 color has a hue of 242.9 degrees, a saturation of 96.92% and a lightness of 12.7%.
#040140 hex color contains mainly BLUE.
The closest web safe color of #040140 is #000033
#040140 hex color has a decimal value of 262464.
HEX | 040140 | #040140 |
---|---|---|
RGB | 4, 1, 64 | rgb(4, 1, 64) |
RGB Percent | 1.57, 0.39, 25.1 | rgb(1.57, 0.39, 25.1) |
CMYK | 94, 98, 0, 75 | |
HSL | 242.9°, 96.92, 12.7 | hsl(242.9, 96.92%, 12.7%) |
HSV | 242.9°, 98.4, 25.1 |
XYZ | 0.986, 0.418, 4.879 |
---|---|
Hunter Lab | 6.465, 15.908, -40.217 |
CIE-LAB | 3.776, 23.807, -36.941 |
CIE-LCH | 3.776, 43.948, 302.8 |
CIE-LUV | 93.75, 98.44, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040140
CMYK percent of color #040140
Text with hexadecimal color #040140
This text has a font color of #040140
<p style="color:#040140">Text here</p>
#040140 Background Color
This box has a background color of #040140
<div style="background-color:#040140">Text here</div>
#040140 Border Color
This box has a border color of #040140
<div style="border: 4px solid #040140">Text here</div>
CSS codes
<p style="color:#040140">Text here</p>
<div style="background-color:#040140">Text here</div>
<div style="border: 4px solid #040140">Text here</div>
#040140 Color on white background
This is how a font and box color of #040140 will look
on a white background.
#040140 Color on black background
This is how a font and box color of #040140 hex color will look
on a black background.