In RGB color space, #040ab8 hex color has a red value of 4, a green value of 10 and a blue value of 184.
In CMYK color space (used in color printing), #040ab8 hex color is composed of 97.83% cyan, 94.57% magenta, 0% yellow and 27.84% black.
#040ab8 color has a hue of 238 degrees, a saturation of 95.74% and a lightness of 36.9%.
#040ab8 hex color contains mainly BLUE.
The closest web safe color of #040ab8 is #0000cc
#040ab8 hex color has a decimal value of 264888.
HEX | 040ab8 | #040ab8 |
---|---|---|
RGB | 4, 10, 184 | rgb(4, 10, 184) |
RGB Percent | 1.57, 3.92, 72.16 | rgb(1.57, 3.92, 72.16) |
CMYK | 98, 95, 0, 28 | |
HSL | 238°, 95.74, 36.9 | hsl(238, 95.74%, 36.9%) |
HSV | 238°, 97.8, 72.2 |
XYZ | 8.81, 3.704, 45.598 |
---|---|
Hunter Lab | 19.246, 48.031, -127.001 |
CIE-LAB | 22.668, 59.61, -82.964 |
CIE-LCH | 22.668, 102.159, 305.697 |
CIE-LUV | 97.83, 94.57, 0, 27.84 |
Web Safe | 0000cc |
RGB percent of color #040ab8
CMYK percent of color #040ab8
Text with hexadecimal color #040ab8
This text has a font color of #040ab8
<p style="color:#040ab8">Text here</p>
#040ab8 Background Color
This box has a background color of #040ab8
<div style="background-color:#040ab8">Text here</div>
#040ab8 Border Color
This box has a border color of #040ab8
<div style="border: 4px solid #040ab8">Text here</div>
CSS codes
<p style="color:#040ab8">Text here</p>
<div style="background-color:#040ab8">Text here</div>
<div style="border: 4px solid #040ab8">Text here</div>
#040ab8 Color on white background
This is how a font and box color of #040ab8 will look
on a white background.
#040ab8 Color on black background
This is how a font and box color of #040ab8 hex color will look
on a black background.