In RGB color space, #040ac7 hex color has a red value of 4, a green value of 10 and a blue value of 199.
In CMYK color space (used in color printing), #040ac7 hex color is composed of 97.99% cyan, 94.97% magenta, 0% yellow and 21.96% black.
#040ac7 color has a hue of 238.2 degrees, a saturation of 96.06% and a lightness of 39.8%.
#040ac7 hex color contains mainly BLUE.
The closest web safe color of #040ac7 is #0000cc
#040ac7 hex color has a decimal value of 264903.
HEX | 040ac7 | #040ac7 |
---|---|---|
RGB | 4, 10, 199 | rgb(4, 10, 199) |
RGB Percent | 1.57, 3.92, 78.04 | rgb(1.57, 3.92, 78.04) |
CMYK | 98, 95, 0, 22 | |
HSL | 238.2°, 96.06, 39.8 | hsl(238.2, 96.06%, 39.8%) |
HSV | 238.2°, 98, 78 |
XYZ | 10.467, 4.366, 54.324 |
---|---|
Hunter Lab | 20.895, 52.85, -139.519 |
CIE-LAB | 24.846, 63.6, -88.201 |
CIE-LCH | 24.846, 108.74, 305.795 |
CIE-LUV | 97.99, 94.97, 0, 21.96 |
Web Safe | 0000cc |
RGB percent of color #040ac7
CMYK percent of color #040ac7
Text with hexadecimal color #040ac7
This text has a font color of #040ac7
<p style="color:#040ac7">Text here</p>
#040ac7 Background Color
This box has a background color of #040ac7
<div style="background-color:#040ac7">Text here</div>
#040ac7 Border Color
This box has a border color of #040ac7
<div style="border: 4px solid #040ac7">Text here</div>
CSS codes
<p style="color:#040ac7">Text here</p>
<div style="background-color:#040ac7">Text here</div>
<div style="border: 4px solid #040ac7">Text here</div>
#040ac7 Color on white background
This is how a font and box color of #040ac7 will look
on a white background.
#040ac7 Color on black background
This is how a font and box color of #040ac7 hex color will look
on a black background.