In RGB color space, #040271 hex color has a red value of 4, a green value of 2 and a blue value of 113.
In CMYK color space (used in color printing), #040271 hex color is composed of 96.46% cyan, 98.23% magenta, 0% yellow and 55.69% black.
#040271 color has a hue of 241.1 degrees, a saturation of 96.52% and a lightness of 22.5%.
#040271 hex color contains mainly BLUE.
The closest web safe color of #040271 is #000066
#040271 hex color has a decimal value of 262769.
HEX | 040271 | #040271 |
---|---|---|
RGB | 4, 2, 113 | rgb(4, 2, 113) |
RGB Percent | 1.57, 0.78, 44.31 | rgb(1.57, 0.78, 44.31) |
CMYK | 96, 98, 0, 56 | |
HSL | 241.1°, 96.52, 22.5 | hsl(241.1, 96.52%, 22.5%) |
HSV | 241.1°, 98.2, 44.3 |
XYZ | 3.052, 1.261, 15.705 |
---|---|
Hunter Lab | 11.229, 28.862, -75.06 |
CIE-LAB | 11, 42.543, -58.336 |
CIE-LCH | 11, 72.201, 306.102 |
CIE-LUV | 96.46, 98.23, 0, 55.69 |
Web Safe | 000066 |
RGB percent of color #040271
CMYK percent of color #040271
Text with hexadecimal color #040271
This text has a font color of #040271
<p style="color:#040271">Text here</p>
#040271 Background Color
This box has a background color of #040271
<div style="background-color:#040271">Text here</div>
#040271 Border Color
This box has a border color of #040271
<div style="border: 4px solid #040271">Text here</div>
CSS codes
<p style="color:#040271">Text here</p>
<div style="background-color:#040271">Text here</div>
<div style="border: 4px solid #040271">Text here</div>
#040271 Color on white background
This is how a font and box color of #040271 will look
on a white background.
#040271 Color on black background
This is how a font and box color of #040271 hex color will look
on a black background.