In RGB color space, #021157 hex color has a red value of 2, a green value of 17 and a blue value of 87.
In CMYK color space (used in color printing), #021157 hex color is composed of 97.7% cyan, 80.46% magenta, 0% yellow and 65.88% black.
#021157 color has a hue of 229.4 degrees, a saturation of 95.51% and a lightness of 17.5%.
#021157 hex color contains mainly BLUE.
The closest web safe color of #021157 is #000066
#021157 hex color has a decimal value of 135511.
HEX | 021157 | #021157 |
---|---|---|
RGB | 2, 17, 87 | rgb(2, 17, 87) |
RGB Percent | 0.78, 6.67, 34.12 | rgb(0.78, 6.67, 34.12) |
CMYK | 98, 80, 0, 66 | |
HSL | 229.4°, 95.51, 17.5 | hsl(229.4, 95.51%, 17.5%) |
HSV | 229.4°, 97.7, 34.1 |
XYZ | 1.946, 1.102, 9.127 |
---|---|
Hunter Lab | 10.498, 14.719, -44.2 |
CIE-LAB | 9.814, 25.519, -43.023 |
CIE-LCH | 9.814, 50.022, 300.674 |
CIE-LUV | 97.7, 80.46, 0, 65.88 |
Web Safe | 000066 |
RGB percent of color #021157
CMYK percent of color #021157
Text with hexadecimal color #021157
This text has a font color of #021157
<p style="color:#021157">Text here</p>
#021157 Background Color
This box has a background color of #021157
<div style="background-color:#021157">Text here</div>
#021157 Border Color
This box has a border color of #021157
<div style="border: 4px solid #021157">Text here</div>
CSS codes
<p style="color:#021157">Text here</p>
<div style="background-color:#021157">Text here</div>
<div style="border: 4px solid #021157">Text here</div>
#021157 Color on white background
This is how a font and box color of #021157 will look
on a white background.
#021157 Color on black background
This is how a font and box color of #021157 hex color will look
on a black background.