In RGB color space, #040ab9 hex color has a red value of 4, a green value of 10 and a blue value of 185.
In CMYK color space (used in color printing), #040ab9 hex color is composed of 97.84% cyan, 94.59% magenta, 0% yellow and 27.45% black.
#040ab9 color has a hue of 238 degrees, a saturation of 95.77% and a lightness of 37.1%.
#040ab9 hex color contains mainly BLUE.
The closest web safe color of #040ab9 is #0000cc
#040ab9 hex color has a decimal value of 264889.
HEX | 040ab9 | #040ab9 |
---|---|---|
RGB | 4, 10, 185 | rgb(4, 10, 185) |
RGB Percent | 1.57, 3.92, 72.55 | rgb(1.57, 3.92, 72.55) |
CMYK | 98, 95, 0, 27 | |
HSL | 238°, 95.77, 37.1 | hsl(238, 95.77%, 37.1%) |
HSV | 238°, 97.8, 72.5 |
XYZ | 8.916, 3.746, 46.152 |
---|---|
Hunter Lab | 19.355, 48.358, -127.832 |
CIE-LAB | 22.813, 59.887, -83.316 |
CIE-LCH | 22.813, 102.606, 305.708 |
CIE-LUV | 97.84, 94.59, 0, 27.45 |
Web Safe | 0000cc |
RGB percent of color #040ab9
CMYK percent of color #040ab9
Text with hexadecimal color #040ab9
This text has a font color of #040ab9
<p style="color:#040ab9">Text here</p>
#040ab9 Background Color
This box has a background color of #040ab9
<div style="background-color:#040ab9">Text here</div>
#040ab9 Border Color
This box has a border color of #040ab9
<div style="border: 4px solid #040ab9">Text here</div>
CSS codes
<p style="color:#040ab9">Text here</p>
<div style="background-color:#040ab9">Text here</div>
<div style="border: 4px solid #040ab9">Text here</div>
#040ab9 Color on white background
This is how a font and box color of #040ab9 will look
on a white background.
#040ab9 Color on black background
This is how a font and box color of #040ab9 hex color will look
on a black background.