In RGB color space, #040f95 hex color has a red value of 4, a green value of 15 and a blue value of 149.
In CMYK color space (used in color printing), #040f95 hex color is composed of 97.32% cyan, 89.93% magenta, 0% yellow and 41.57% black.
#040f95 color has a hue of 235.4 degrees, a saturation of 94.77% and a lightness of 30%.
#040f95 hex color contains mainly BLUE.
The closest web safe color of #040f95 is #000099
#040f95 hex color has a decimal value of 266133.
HEX | 040f95 | #040f95 |
---|---|---|
RGB | 4, 15, 149 | rgb(4, 15, 149) |
RGB Percent | 1.57, 5.88, 58.43 | rgb(1.57, 5.88, 58.43) |
CMYK | 97, 90, 0, 42 | |
HSL | 235.4°, 94.77, 30 | hsl(235.4, 94.77%, 30%) |
HSV | 235.4°, 97.3, 58.4 |
XYZ | 5.646, 2.537, 28.626 |
---|---|
Hunter Lab | 15.928, 35.399, -95.407 |
CIE-LAB | 18.085, 48.172, -69.356 |
CIE-LCH | 18.085, 84.444, 304.782 |
CIE-LUV | 97.32, 89.93, 0, 41.57 |
Web Safe | 000099 |
RGB percent of color #040f95
CMYK percent of color #040f95
Text with hexadecimal color #040f95
This text has a font color of #040f95
<p style="color:#040f95">Text here</p>
#040f95 Background Color
This box has a background color of #040f95
<div style="background-color:#040f95">Text here</div>
#040f95 Border Color
This box has a border color of #040f95
<div style="border: 4px solid #040f95">Text here</div>
CSS codes
<p style="color:#040f95">Text here</p>
<div style="background-color:#040f95">Text here</div>
<div style="border: 4px solid #040f95">Text here</div>
#040f95 Color on white background
This is how a font and box color of #040f95 will look
on a white background.
#040f95 Color on black background
This is how a font and box color of #040f95 hex color will look
on a black background.