In RGB color space, #040742 hex color has a red value of 4, a green value of 7 and a blue value of 66.
In CMYK color space (used in color printing), #040742 hex color is composed of 93.94% cyan, 89.39% magenta, 0% yellow and 74.12% black.
#040742 color has a hue of 237.1 degrees, a saturation of 88.57% and a lightness of 13.7%.
#040742 hex color contains mainly BLUE.
The closest web safe color of #040742 is #000033
#040742 hex color has a decimal value of 264002.
HEX | 040742 | #040742 |
---|---|---|
RGB | 4, 7, 66 | rgb(4, 7, 66) |
RGB Percent | 1.57, 2.75, 25.88 | rgb(1.57, 2.75, 25.88) |
CMYK | 94, 89, 0, 74 | |
HSL | 237.1°, 88.57, 13.7 | hsl(237.1, 88.57%, 13.7%) |
HSV | 237.1°, 93.9, 25.9 |
XYZ | 1.109, 0.571, 5.206 |
---|---|
Hunter Lab | 7.556, 12.973, -35.558 |
CIE-LAB | 5.158, 22.208, -36.111 |
CIE-LCH | 5.158, 42.393, 301.591 |
CIE-LUV | 93.94, 89.39, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040742
CMYK percent of color #040742
Text with hexadecimal color #040742
This text has a font color of #040742
<p style="color:#040742">Text here</p>
#040742 Background Color
This box has a background color of #040742
<div style="background-color:#040742">Text here</div>
#040742 Border Color
This box has a border color of #040742
<div style="border: 4px solid #040742">Text here</div>
CSS codes
<p style="color:#040742">Text here</p>
<div style="background-color:#040742">Text here</div>
<div style="border: 4px solid #040742">Text here</div>
#040742 Color on white background
This is how a font and box color of #040742 will look
on a white background.
#040742 Color on black background
This is how a font and box color of #040742 hex color will look
on a black background.