In RGB color space, #0040e2 hex color has a red value of 0, a green value of 64 and a blue value of 226.
In CMYK color space (used in color printing), #0040e2 hex color is composed of 100% cyan, 71.68% magenta, 0% yellow and 11.37% black.
#0040e2 color has a hue of 223 degrees, a saturation of 100% and a lightness of 44.3%.
#0040e2 hex color contains mainly BLUE.
The closest web safe color of #0040e2 is #0033cc
#0040e2 hex color has a decimal value of 16610.
HEX | 0040e2 | #0040e2 |
---|---|---|
RGB | 0, 64, 226 | rgb(0, 64, 226) |
RGB Percent | 0, 25.1, 88.63 | rgb(0, 25.1, 88.63) |
CMYK | 100, 72, 0, 11 | |
HSL | 223°, 100, 44.3 | hsl(223, 100%, 44.3%) |
HSV | 223°, 100, 88.6 |
XYZ | 15.561, 9.158, 72.899 |
---|---|
Hunter Lab | 30.262, 38.827, -121.641 |
CIE-LAB | 36.287, 48.155, -84.815 |
CIE-LCH | 36.287, 97.532, 299.586 |
CIE-LUV | 100, 71.68, 0, 11.37 |
Web Safe | 0033cc |
RGB percent of color #0040e2
CMYK percent of color #0040e2
Text with hexadecimal color #0040e2
This text has a font color of #0040e2
<p style="color:#0040e2">Text here</p>
#0040e2 Background Color
This box has a background color of #0040e2
<div style="background-color:#0040e2">Text here</div>
#0040e2 Border Color
This box has a border color of #0040e2
<div style="border: 4px solid #0040e2">Text here</div>
CSS codes
<p style="color:#0040e2">Text here</p>
<div style="background-color:#0040e2">Text here</div>
<div style="border: 4px solid #0040e2">Text here</div>
#0040e2 Color on white background
This is how a font and box color of #0040e2 will look
on a white background.
#0040e2 Color on black background
This is how a font and box color of #0040e2 hex color will look
on a black background.