In RGB color space, #040cb2 hex color has a red value of 4, a green value of 12 and a blue value of 178.
In CMYK color space (used in color printing), #040cb2 hex color is composed of 97.75% cyan, 93.26% magenta, 0% yellow and 30.2% black.
#040cb2 color has a hue of 237.2 degrees, a saturation of 95.6% and a lightness of 35.7%.
#040cb2 hex color contains mainly BLUE.
The closest web safe color of #040cb2 is #000099
#040cb2 hex color has a decimal value of 265394.
HEX | 040cb2 | #040cb2 |
---|---|---|
RGB | 4, 12, 178 | rgb(4, 12, 178) |
RGB Percent | 1.57, 4.71, 69.8 | rgb(1.57, 4.71, 69.8) |
CMYK | 98, 93, 0, 30 | |
HSL | 237.2°, 95.6, 35.7 | hsl(237.2, 95.6%, 35.7%) |
HSV | 237.2°, 97.8, 69.8 |
XYZ | 8.217, 3.503, 42.363 |
---|---|
Hunter Lab | 18.716, 45.613, -121.097 |
CIE-LAB | 21.955, 57.486, -80.566 |
CIE-LCH | 21.955, 98.972, 305.509 |
CIE-LUV | 97.75, 93.26, 0, 30.2 |
Web Safe | 000099 |
RGB percent of color #040cb2
CMYK percent of color #040cb2
Text with hexadecimal color #040cb2
This text has a font color of #040cb2
<p style="color:#040cb2">Text here</p>
#040cb2 Background Color
This box has a background color of #040cb2
<div style="background-color:#040cb2">Text here</div>
#040cb2 Border Color
This box has a border color of #040cb2
<div style="border: 4px solid #040cb2">Text here</div>
CSS codes
<p style="color:#040cb2">Text here</p>
<div style="background-color:#040cb2">Text here</div>
<div style="border: 4px solid #040cb2">Text here</div>
#040cb2 Color on white background
This is how a font and box color of #040cb2 will look
on a white background.
#040cb2 Color on black background
This is how a font and box color of #040cb2 hex color will look
on a black background.