In RGB color space, #0c2fa1 hex color has a red value of 12, a green value of 47 and a blue value of 161.
In CMYK color space (used in color printing), #0c2fa1 hex color is composed of 92.55% cyan, 70.81% magenta, 0% yellow and 36.86% black.
#0c2fa1 color has a hue of 225.9 degrees, a saturation of 86.13% and a lightness of 33.9%.
#0c2fa1 hex color contains mainly BLUE.
The closest web safe color of #0c2fa1 is #003399
#0c2fa1 hex color has a decimal value of 798625.
HEX | 0c2fa1 | #0c2fa1 |
---|---|---|
RGB | 12, 47, 161 | rgb(12, 47, 161) |
RGB Percent | 4.71, 18.43, 63.14 | rgb(4.71, 18.43, 63.14) |
CMYK | 93, 71, 0, 37 | |
HSL | 225.9°, 86.13, 33.9 | hsl(225.9, 86.13%, 33.9%) |
HSV | 225.9°, 92.5, 63.1 |
XYZ | 7.601, 4.684, 34.222 |
---|---|
Hunter Lab | 21.643, 24.816, -78.602 |
CIE-LAB | 25.815, 35.181, -63.887 |
CIE-LCH | 25.815, 72.933, 298.84 |
CIE-LUV | 92.55, 70.81, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #0c2fa1
CMYK percent of color #0c2fa1
Text with hexadecimal color #0c2fa1
This text has a font color of #0c2fa1
<p style="color:#0c2fa1">Text here</p>
#0c2fa1 Background Color
This box has a background color of #0c2fa1
<div style="background-color:#0c2fa1">Text here</div>
#0c2fa1 Border Color
This box has a border color of #0c2fa1
<div style="border: 4px solid #0c2fa1">Text here</div>
CSS codes
<p style="color:#0c2fa1">Text here</p>
<div style="background-color:#0c2fa1">Text here</div>
<div style="border: 4px solid #0c2fa1">Text here</div>
#0c2fa1 Color on white background
This is how a font and box color of #0c2fa1 will look
on a white background.
#0c2fa1 Color on black background
This is how a font and box color of #0c2fa1 hex color will look
on a black background.