In RGB color space, #040cb8 hex color has a red value of 4, a green value of 12 and a blue value of 184.
In CMYK color space (used in color printing), #040cb8 hex color is composed of 97.83% cyan, 93.48% magenta, 0% yellow and 27.84% black.
#040cb8 color has a hue of 237.3 degrees, a saturation of 95.74% and a lightness of 36.9%.
#040cb8 hex color contains mainly BLUE.
The closest web safe color of #040cb8 is #0000cc
#040cb8 hex color has a decimal value of 265400.
HEX | 040cb8 | #040cb8 |
---|---|---|
RGB | 4, 12, 184 | rgb(4, 12, 184) |
RGB Percent | 1.57, 4.71, 72.16 | rgb(1.57, 4.71, 72.16) |
CMYK | 98, 93, 0, 28 | |
HSL | 237.3°, 95.74, 36.9 | hsl(237.3, 95.74%, 36.9%) |
HSV | 237.3°, 97.8, 72.2 |
XYZ | 8.833, 3.749, 45.606 |
---|---|
Hunter Lab | 19.362, 47.547, -126.098 |
CIE-LAB | 22.824, 59.135, -82.704 |
CIE-LCH | 22.824, 101.671, 305.566 |
CIE-LUV | 97.83, 93.48, 0, 27.84 |
Web Safe | 0000cc |
RGB percent of color #040cb8
CMYK percent of color #040cb8
Text with hexadecimal color #040cb8
This text has a font color of #040cb8
<p style="color:#040cb8">Text here</p>
#040cb8 Background Color
This box has a background color of #040cb8
<div style="background-color:#040cb8">Text here</div>
#040cb8 Border Color
This box has a border color of #040cb8
<div style="border: 4px solid #040cb8">Text here</div>
CSS codes
<p style="color:#040cb8">Text here</p>
<div style="background-color:#040cb8">Text here</div>
<div style="border: 4px solid #040cb8">Text here</div>
#040cb8 Color on white background
This is how a font and box color of #040cb8 will look
on a white background.
#040cb8 Color on black background
This is how a font and box color of #040cb8 hex color will look
on a black background.