In RGB color space, #040ab4 hex color has a red value of 4, a green value of 10 and a blue value of 180.
In CMYK color space (used in color printing), #040ab4 hex color is composed of 97.78% cyan, 94.44% magenta, 0% yellow and 29.41% black.
#040ab4 color has a hue of 238 degrees, a saturation of 95.65% and a lightness of 36.1%.
#040ab4 hex color contains mainly BLUE.
The closest web safe color of #040ab4 is #0000cc
#040ab4 hex color has a decimal value of 264884.
HEX | 040ab4 | #040ab4 |
---|---|---|
RGB | 4, 10, 180 | rgb(4, 10, 180) |
RGB Percent | 1.57, 3.92, 70.59 | rgb(1.57, 3.92, 70.59) |
CMYK | 98, 94, 0, 29 | |
HSL | 238°, 95.65, 36.1 | hsl(238, 95.65%, 36.1%) |
HSV | 238°, 97.8, 70.6 |
XYZ | 8.397, 3.538, 43.42 |
---|---|
Hunter Lab | 18.81, 46.77, -123.698 |
CIE-LAB | 22.081, 58.546, -81.554 |
CIE-LCH | 22.081, 100.393, 305.674 |
CIE-LUV | 97.78, 94.44, 0, 29.41 |
Web Safe | 0000cc |
RGB percent of color #040ab4
CMYK percent of color #040ab4
Text with hexadecimal color #040ab4
This text has a font color of #040ab4
<p style="color:#040ab4">Text here</p>
#040ab4 Background Color
This box has a background color of #040ab4
<div style="background-color:#040ab4">Text here</div>
#040ab4 Border Color
This box has a border color of #040ab4
<div style="border: 4px solid #040ab4">Text here</div>
CSS codes
<p style="color:#040ab4">Text here</p>
<div style="background-color:#040ab4">Text here</div>
<div style="border: 4px solid #040ab4">Text here</div>
#040ab4 Color on white background
This is how a font and box color of #040ab4 will look
on a white background.
#040ab4 Color on black background
This is how a font and box color of #040ab4 hex color will look
on a black background.