In RGB color space, #021271 hex color has a red value of 2, a green value of 18 and a blue value of 113.
In CMYK color space (used in color printing), #021271 hex color is composed of 98.23% cyan, 84.07% magenta, 0% yellow and 55.69% black.
#021271 color has a hue of 231.4 degrees, a saturation of 96.52% and a lightness of 22.5%.
#021271 hex color contains mainly BLUE.
The closest web safe color of #021271 is #000066
#021271 hex color has a decimal value of 135793.
HEX | 021271 | #021271 |
---|---|---|
RGB | 2, 18, 113 | rgb(2, 18, 113) |
RGB Percent | 0.78, 7.06, 44.31 | rgb(0.78, 7.06, 44.31) |
CMYK | 98, 84, 0, 56 | |
HSL | 231.4°, 96.52, 22.5 | hsl(231.4, 96.52%, 22.5%) |
HSV | 231.4°, 98.2, 44.3 |
XYZ | 3.222, 1.638, 15.769 |
---|---|
Hunter Lab | 12.798, 22.54, -64.093 |
CIE-LAB | 13.46, 34.838, -54.237 |
CIE-LCH | 13.46, 64.462, 302.714 |
CIE-LUV | 98.23, 84.07, 0, 55.69 |
Web Safe | 000066 |
RGB percent of color #021271
CMYK percent of color #021271
Text with hexadecimal color #021271
This text has a font color of #021271
<p style="color:#021271">Text here</p>
#021271 Background Color
This box has a background color of #021271
<div style="background-color:#021271">Text here</div>
#021271 Border Color
This box has a border color of #021271
<div style="border: 4px solid #021271">Text here</div>
CSS codes
<p style="color:#021271">Text here</p>
<div style="background-color:#021271">Text here</div>
<div style="border: 4px solid #021271">Text here</div>
#021271 Color on white background
This is how a font and box color of #021271 will look
on a white background.
#021271 Color on black background
This is how a font and box color of #021271 hex color will look
on a black background.