In RGB color space, #040fa1 hex color has a red value of 4, a green value of 15 and a blue value of 161.
In CMYK color space (used in color printing), #040fa1 hex color is composed of 97.52% cyan, 90.68% magenta, 0% yellow and 36.86% black.
#040fa1 color has a hue of 235.8 degrees, a saturation of 95.15% and a lightness of 32.4%.
#040fa1 hex color contains mainly BLUE.
The closest web safe color of #040fa1 is #000099
#040fa1 hex color has a decimal value of 266145.
HEX | 040fa1 | #040fa1 |
---|---|---|
RGB | 4, 15, 161 | rgb(4, 15, 161) |
RGB Percent | 1.57, 5.88, 63.14 | rgb(1.57, 5.88, 63.14) |
CMYK | 98, 91, 0, 37 | |
HSL | 235.8°, 95.15, 32.4 | hsl(235.8, 95.15%, 32.4%) |
HSV | 235.8°, 97.5, 63.1 |
XYZ | 6.654, 2.941, 33.935 |
---|---|
Hunter Lab | 17.149, 39.247, -105.318 |
CIE-LAB | 19.806, 51.735, -73.865 |
CIE-LCH | 19.806, 90.181, 305.007 |
CIE-LUV | 97.52, 90.68, 0, 36.86 |
Web Safe | 000099 |
RGB percent of color #040fa1
CMYK percent of color #040fa1
Text with hexadecimal color #040fa1
This text has a font color of #040fa1
<p style="color:#040fa1">Text here</p>
#040fa1 Background Color
This box has a background color of #040fa1
<div style="background-color:#040fa1">Text here</div>
#040fa1 Border Color
This box has a border color of #040fa1
<div style="border: 4px solid #040fa1">Text here</div>
CSS codes
<p style="color:#040fa1">Text here</p>
<div style="background-color:#040fa1">Text here</div>
<div style="border: 4px solid #040fa1">Text here</div>
#040fa1 Color on white background
This is how a font and box color of #040fa1 will look
on a white background.
#040fa1 Color on black background
This is how a font and box color of #040fa1 hex color will look
on a black background.