In RGB color space, #040fa3 hex color has a red value of 4, a green value of 15 and a blue value of 163.
In CMYK color space (used in color printing), #040fa3 hex color is composed of 97.55% cyan, 90.8% magenta, 0% yellow and 36.08% black.
#040fa3 color has a hue of 235.8 degrees, a saturation of 95.21% and a lightness of 32.7%.
#040fa3 hex color contains mainly BLUE.
The closest web safe color of #040fa3 is #000099
#040fa3 hex color has a decimal value of 266147.
HEX | 040fa3 | #040fa3 |
---|---|---|
RGB | 4, 15, 163 | rgb(4, 15, 163) |
RGB Percent | 1.57, 5.88, 63.92 | rgb(1.57, 5.88, 63.92) |
CMYK | 98, 91, 0, 36 | |
HSL | 235.8°, 95.21, 32.7 | hsl(235.8, 95.21%, 32.7%) |
HSV | 235.8°, 97.5, 63.9 |
XYZ | 6.832, 3.012, 34.872 |
---|---|
Hunter Lab | 17.355, 39.897, -106.984 |
CIE-LAB | 20.092, 52.324, -74.609 |
CIE-LCH | 20.092, 91.128, 305.042 |
CIE-LUV | 97.55, 90.8, 0, 36.08 |
Web Safe | 000099 |
RGB percent of color #040fa3
CMYK percent of color #040fa3
Text with hexadecimal color #040fa3
This text has a font color of #040fa3
<p style="color:#040fa3">Text here</p>
#040fa3 Background Color
This box has a background color of #040fa3
<div style="background-color:#040fa3">Text here</div>
#040fa3 Border Color
This box has a border color of #040fa3
<div style="border: 4px solid #040fa3">Text here</div>
CSS codes
<p style="color:#040fa3">Text here</p>
<div style="background-color:#040fa3">Text here</div>
<div style="border: 4px solid #040fa3">Text here</div>
#040fa3 Color on white background
This is how a font and box color of #040fa3 will look
on a white background.
#040fa3 Color on black background
This is how a font and box color of #040fa3 hex color will look
on a black background.