In RGB color space, #040fb6 hex color has a red value of 4, a green value of 15 and a blue value of 182.
In CMYK color space (used in color printing), #040fb6 hex color is composed of 97.8% cyan, 91.76% magenta, 0% yellow and 28.63% black.
#040fb6 color has a hue of 236.3 degrees, a saturation of 95.7% and a lightness of 36.5%.
#040fb6 hex color contains mainly BLUE.
The closest web safe color of #040fb6 is #0000cc
#040fb6 hex color has a decimal value of 266166.
HEX | 040fb6 | #040fb6 |
---|---|---|
RGB | 4, 15, 182 | rgb(4, 15, 182) |
RGB Percent | 1.57, 5.88, 71.37 | rgb(1.57, 5.88, 71.37) |
CMYK | 98, 92, 0, 29 | |
HSL | 236.3°, 95.7, 36.5 | hsl(236.3, 95.7%, 36.5%) |
HSV | 236.3°, 97.8, 71.4 |
XYZ | 8.664, 3.745, 44.522 |
---|---|
Hunter Lab | 19.352, 46.049, -122.859 |
CIE-LAB | 22.81, 57.741, -81.532 |
CIE-LCH | 22.81, 99.907, 305.306 |
CIE-LUV | 97.8, 91.76, 0, 28.63 |
Web Safe | 0000cc |
RGB percent of color #040fb6
CMYK percent of color #040fb6
Text with hexadecimal color #040fb6
This text has a font color of #040fb6
<p style="color:#040fb6">Text here</p>
#040fb6 Background Color
This box has a background color of #040fb6
<div style="background-color:#040fb6">Text here</div>
#040fb6 Border Color
This box has a border color of #040fb6
<div style="border: 4px solid #040fb6">Text here</div>
CSS codes
<p style="color:#040fb6">Text here</p>
<div style="background-color:#040fb6">Text here</div>
<div style="border: 4px solid #040fb6">Text here</div>
#040fb6 Color on white background
This is how a font and box color of #040fb6 will look
on a white background.
#040fb6 Color on black background
This is how a font and box color of #040fb6 hex color will look
on a black background.