In RGB color space, #020c8b hex color has a red value of 2, a green value of 12 and a blue value of 139.
In CMYK color space (used in color printing), #020c8b hex color is composed of 98.56% cyan, 91.37% magenta, 0% yellow and 45.49% black.
#020c8b color has a hue of 235.6 degrees, a saturation of 97.16% and a lightness of 27.6%.
#020c8b hex color contains mainly BLUE.
The closest web safe color of #020c8b is #000099
#020c8b hex color has a decimal value of 134283.
HEX | 020c8b | #020c8b |
---|---|---|
RGB | 2, 12, 139 | rgb(2, 12, 139) |
RGB Percent | 0.78, 4.71, 54.51 | rgb(0.78, 4.71, 54.51) |
CMYK | 99, 91, 0, 45 | |
HSL | 235.6°, 97.16, 27.6 | hsl(235.6, 97.16%, 27.6%) |
HSV | 235.6°, 98.6, 54.5 |
XYZ | 4.817, 2.14, 24.585 |
---|---|
Hunter Lab | 14.629, 33.177, -89.402 |
CIE-LAB | 16.205, 46.217, -66.26 |
CIE-LCH | 16.205, 80.786, 304.896 |
CIE-LUV | 98.56, 91.37, 0, 45.49 |
Web Safe | 000099 |
RGB percent of color #020c8b
CMYK percent of color #020c8b
Text with hexadecimal color #020c8b
This text has a font color of #020c8b
<p style="color:#020c8b">Text here</p>
#020c8b Background Color
This box has a background color of #020c8b
<div style="background-color:#020c8b">Text here</div>
#020c8b Border Color
This box has a border color of #020c8b
<div style="border: 4px solid #020c8b">Text here</div>
CSS codes
<p style="color:#020c8b">Text here</p>
<div style="background-color:#020c8b">Text here</div>
<div style="border: 4px solid #020c8b">Text here</div>
#020c8b Color on white background
This is how a font and box color of #020c8b will look
on a white background.
#020c8b Color on black background
This is how a font and box color of #020c8b hex color will look
on a black background.