In RGB color space, #021fb2 hex color has a red value of 2, a green value of 31 and a blue value of 178.
In CMYK color space (used in color printing), #021fb2 hex color is composed of 98.88% cyan, 82.58% magenta, 0% yellow and 30.2% black.
#021fb2 color has a hue of 230.1 degrees, a saturation of 97.78% and a lightness of 35.3%.
#021fb2 hex color contains mainly BLUE.
The closest web safe color of #021fb2 is #003399
#021fb2 hex color has a decimal value of 139186.
HEX | 021fb2 | #021fb2 |
---|---|---|
RGB | 2, 31, 178 | rgb(2, 31, 178) |
RGB Percent | 0.78, 12.16, 69.8 | rgb(0.78, 12.16, 69.8) |
CMYK | 99, 83, 0, 30 | |
HSL | 230.1°, 97.78, 35.3 | hsl(230.1, 97.78%, 35.3%) |
HSV | 230.1°, 98.9, 69.8 |
XYZ | 8.551, 4.207, 42.481 |
---|---|
Hunter Lab | 20.511, 38.522, -108.44 |
CIE-LAB | 24.344, 50.144, -76.583 |
CIE-LCH | 24.344, 91.539, 303.215 |
CIE-LUV | 98.88, 82.58, 0, 30.2 |
Web Safe | 003399 |
RGB percent of color #021fb2
CMYK percent of color #021fb2
Text with hexadecimal color #021fb2
This text has a font color of #021fb2
<p style="color:#021fb2">Text here</p>
#021fb2 Background Color
This box has a background color of #021fb2
<div style="background-color:#021fb2">Text here</div>
#021fb2 Border Color
This box has a border color of #021fb2
<div style="border: 4px solid #021fb2">Text here</div>
CSS codes
<p style="color:#021fb2">Text here</p>
<div style="background-color:#021fb2">Text here</div>
<div style="border: 4px solid #021fb2">Text here</div>
#021fb2 Color on white background
This is how a font and box color of #021fb2 will look
on a white background.
#021fb2 Color on black background
This is how a font and box color of #021fb2 hex color will look
on a black background.