In RGB color space, #021198 hex color has a red value of 2, a green value of 17 and a blue value of 152.
In CMYK color space (used in color printing), #021198 hex color is composed of 98.68% cyan, 88.82% magenta, 0% yellow and 40.39% black.
#021198 color has a hue of 234 degrees, a saturation of 97.4% and a lightness of 30.2%.
#021198 hex color contains mainly BLUE.
The closest web safe color of #021198 is #000099
#021198 hex color has a decimal value of 135576.
HEX | 021198 | #021198 |
---|---|---|
RGB | 2, 17, 152 | rgb(2, 17, 152) |
RGB Percent | 0.78, 6.67, 59.61 | rgb(0.78, 6.67, 59.61) |
CMYK | 99, 89, 0, 40 | |
HSL | 234°, 97.4, 30.2 | hsl(234, 97.4%, 30.2%) |
HSV | 234°, 98.7, 59.6 |
XYZ | 5.893, 2.681, 29.913 |
---|---|
Hunter Lab | 16.374, 35.589, -96.854 |
CIE-LAB | 18.718, 48.248, -70.157 |
CIE-LCH | 18.718, 85.146, 304.517 |
CIE-LUV | 98.68, 88.82, 0, 40.39 |
Web Safe | 000099 |
RGB percent of color #021198
CMYK percent of color #021198
Text with hexadecimal color #021198
This text has a font color of #021198
<p style="color:#021198">Text here</p>
#021198 Background Color
This box has a background color of #021198
<div style="background-color:#021198">Text here</div>
#021198 Border Color
This box has a border color of #021198
<div style="border: 4px solid #021198">Text here</div>
CSS codes
<p style="color:#021198">Text here</p>
<div style="background-color:#021198">Text here</div>
<div style="border: 4px solid #021198">Text here</div>
#021198 Color on white background
This is how a font and box color of #021198 will look
on a white background.
#021198 Color on black background
This is how a font and box color of #021198 hex color will look
on a black background.