In RGB color space, #040cba hex color has a red value of 4, a green value of 12 and a blue value of 186.
In CMYK color space (used in color printing), #040cba hex color is composed of 97.85% cyan, 93.55% magenta, 0% yellow and 27.06% black.
#040cba color has a hue of 237.4 degrees, a saturation of 95.79% and a lightness of 37.3%.
#040cba hex color contains mainly BLUE.
The closest web safe color of #040cba is #0000cc
#040cba hex color has a decimal value of 265402.
HEX | 040cba | #040cba |
---|---|---|
RGB | 4, 12, 186 | rgb(4, 12, 186) |
RGB Percent | 1.57, 4.71, 72.94 | rgb(1.57, 4.71, 72.94) |
CMYK | 98, 94, 0, 27 | |
HSL | 237.4°, 95.79, 37.3 | hsl(237.4, 95.79%, 37.3%) |
HSV | 237.4°, 97.8, 72.9 |
XYZ | 9.044, 3.834, 46.718 |
---|---|
Hunter Lab | 19.581, 48.181, -127.756 |
CIE-LAB | 23.115, 59.669, -83.408 |
CIE-LCH | 23.115, 102.554, 305.579 |
CIE-LUV | 97.85, 93.55, 0, 27.06 |
Web Safe | 0000cc |
RGB percent of color #040cba
CMYK percent of color #040cba
Text with hexadecimal color #040cba
This text has a font color of #040cba
<p style="color:#040cba">Text here</p>
#040cba Background Color
This box has a background color of #040cba
<div style="background-color:#040cba">Text here</div>
#040cba Border Color
This box has a border color of #040cba
<div style="border: 4px solid #040cba">Text here</div>
CSS codes
<p style="color:#040cba">Text here</p>
<div style="background-color:#040cba">Text here</div>
<div style="border: 4px solid #040cba">Text here</div>
#040cba Color on white background
This is how a font and box color of #040cba will look
on a white background.
#040cba Color on black background
This is how a font and box color of #040cba hex color will look
on a black background.