In RGB color space, #040fb5 hex color has a red value of 4, a green value of 15 and a blue value of 181.
In CMYK color space (used in color printing), #040fb5 hex color is composed of 97.79% cyan, 91.71% magenta, 0% yellow and 29.02% black.
#040fb5 color has a hue of 236.3 degrees, a saturation of 95.68% and a lightness of 36.3%.
#040fb5 hex color contains mainly BLUE.
The closest web safe color of #040fb5 is #0000cc
#040fb5 hex color has a decimal value of 266165.
HEX | 040fb5 | #040fb5 |
---|---|---|
RGB | 4, 15, 181 | rgb(4, 15, 181) |
RGB Percent | 1.57, 5.88, 70.98 | rgb(1.57, 5.88, 70.98) |
CMYK | 98, 92, 0, 29 | |
HSL | 236.3°, 95.68, 36.3 | hsl(236.3, 95.68%, 36.3%) |
HSV | 236.3°, 97.8, 71 |
XYZ | 8.561, 3.704, 43.98 |
---|---|
Hunter Lab | 19.246, 45.721, -122.016 |
CIE-LAB | 22.668, 57.458, -81.173 |
CIE-LCH | 22.668, 99.451, 305.293 |
CIE-LUV | 97.79, 91.71, 0, 29.02 |
Web Safe | 0000cc |
RGB percent of color #040fb5
CMYK percent of color #040fb5
Text with hexadecimal color #040fb5
This text has a font color of #040fb5
<p style="color:#040fb5">Text here</p>
#040fb5 Background Color
This box has a background color of #040fb5
<div style="background-color:#040fb5">Text here</div>
#040fb5 Border Color
This box has a border color of #040fb5
<div style="border: 4px solid #040fb5">Text here</div>
CSS codes
<p style="color:#040fb5">Text here</p>
<div style="background-color:#040fb5">Text here</div>
<div style="border: 4px solid #040fb5">Text here</div>
#040fb5 Color on white background
This is how a font and box color of #040fb5 will look
on a white background.
#040fb5 Color on black background
This is how a font and box color of #040fb5 hex color will look
on a black background.