In RGB color space, #040642 hex color has a red value of 4, a green value of 6 and a blue value of 66.
In CMYK color space (used in color printing), #040642 hex color is composed of 93.94% cyan, 90.91% magenta, 0% yellow and 74.12% black.
#040642 color has a hue of 238.1 degrees, a saturation of 88.57% and a lightness of 13.7%.
#040642 hex color contains mainly BLUE.
The closest web safe color of #040642 is #000033
#040642 hex color has a decimal value of 263746.
HEX | 040642 | #040642 |
---|---|---|
RGB | 4, 6, 66 | rgb(4, 6, 66) |
RGB Percent | 1.57, 2.35, 25.88 | rgb(1.57, 2.35, 25.88) |
CMYK | 94, 91, 0, 74 | |
HSL | 238.1°, 88.57, 13.7 | hsl(238.1, 88.57%, 13.7%) |
HSV | 238.1°, 93.9, 25.9 |
XYZ | 1.099, 0.549, 5.202 |
---|---|
Hunter Lab | 7.409, 13.509, -36.439 |
CIE-LAB | 4.959, 22.723, -36.435 |
CIE-LCH | 4.959, 42.94, 301.95 |
CIE-LUV | 93.94, 90.91, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040642
CMYK percent of color #040642
Text with hexadecimal color #040642
This text has a font color of #040642
<p style="color:#040642">Text here</p>
#040642 Background Color
This box has a background color of #040642
<div style="background-color:#040642">Text here</div>
#040642 Border Color
This box has a border color of #040642
<div style="border: 4px solid #040642">Text here</div>
CSS codes
<p style="color:#040642">Text here</p>
<div style="background-color:#040642">Text here</div>
<div style="border: 4px solid #040642">Text here</div>
#040642 Color on white background
This is how a font and box color of #040642 will look
on a white background.
#040642 Color on black background
This is how a font and box color of #040642 hex color will look
on a black background.