In RGB color space, #040ab7 hex color has a red value of 4, a green value of 10 and a blue value of 183.
In CMYK color space (used in color printing), #040ab7 hex color is composed of 97.81% cyan, 94.54% magenta, 0% yellow and 28.24% black.
#040ab7 color has a hue of 238 degrees, a saturation of 95.72% and a lightness of 36.7%.
#040ab7 hex color contains mainly BLUE.
The closest web safe color of #040ab7 is #0000cc
#040ab7 hex color has a decimal value of 264887.
HEX | 040ab7 | #040ab7 |
---|---|---|
RGB | 4, 10, 183 | rgb(4, 10, 183) |
RGB Percent | 1.57, 3.92, 71.76 | rgb(1.57, 3.92, 71.76) |
CMYK | 98, 95, 0, 28 | |
HSL | 238°, 95.72, 36.7 | hsl(238, 95.72%, 36.7%) |
HSV | 238°, 97.8, 71.8 |
XYZ | 8.706, 3.662, 45.048 |
---|---|
Hunter Lab | 19.136, 47.719, -126.176 |
CIE-LAB | 22.521, 59.349, -82.613 |
CIE-LCH | 22.521, 101.721, 305.693 |
CIE-LUV | 97.81, 94.54, 0, 28.24 |
Web Safe | 0000cc |
RGB percent of color #040ab7
CMYK percent of color #040ab7
Text with hexadecimal color #040ab7
This text has a font color of #040ab7
<p style="color:#040ab7">Text here</p>
#040ab7 Background Color
This box has a background color of #040ab7
<div style="background-color:#040ab7">Text here</div>
#040ab7 Border Color
This box has a border color of #040ab7
<div style="border: 4px solid #040ab7">Text here</div>
CSS codes
<p style="color:#040ab7">Text here</p>
<div style="background-color:#040ab7">Text here</div>
<div style="border: 4px solid #040ab7">Text here</div>
#040ab7 Color on white background
This is how a font and box color of #040ab7 will look
on a white background.
#040ab7 Color on black background
This is how a font and box color of #040ab7 hex color will look
on a black background.