In RGB color space, #040ca4 hex color has a red value of 4, a green value of 12 and a blue value of 164.
In CMYK color space (used in color printing), #040ca4 hex color is composed of 97.56% cyan, 92.68% magenta, 0% yellow and 35.69% black.
#040ca4 color has a hue of 237 degrees, a saturation of 95.24% and a lightness of 32.9%.
#040ca4 hex color contains mainly BLUE.
The closest web safe color of #040ca4 is #000099
#040ca4 hex color has a decimal value of 265380.
HEX | 040ca4 | #040ca4 |
---|---|---|
RGB | 4, 12, 164 | rgb(4, 12, 164) |
RGB Percent | 1.57, 4.71, 64.31 | rgb(1.57, 4.71, 64.31) |
CMYK | 98, 93, 0, 36 | |
HSL | 237°, 95.24, 32.9 | hsl(237, 95.24%, 32.9%) |
HSV | 237°, 97.6, 64.3 |
XYZ | 6.882, 2.969, 35.332 |
---|---|
Hunter Lab | 17.231, 41.139, -109.514 |
CIE-LAB | 19.919, 53.574, -75.506 |
CIE-LCH | 19.919, 92.581, 305.357 |
CIE-LUV | 97.56, 92.68, 0, 35.69 |
Web Safe | 000099 |
RGB percent of color #040ca4
CMYK percent of color #040ca4
Text with hexadecimal color #040ca4
This text has a font color of #040ca4
<p style="color:#040ca4">Text here</p>
#040ca4 Background Color
This box has a background color of #040ca4
<div style="background-color:#040ca4">Text here</div>
#040ca4 Border Color
This box has a border color of #040ca4
<div style="border: 4px solid #040ca4">Text here</div>
CSS codes
<p style="color:#040ca4">Text here</p>
<div style="background-color:#040ca4">Text here</div>
<div style="border: 4px solid #040ca4">Text here</div>
#040ca4 Color on white background
This is how a font and box color of #040ca4 will look
on a white background.
#040ca4 Color on black background
This is how a font and box color of #040ca4 hex color will look
on a black background.