In RGB color space, #0c2fa6 hex color has a red value of 12, a green value of 47 and a blue value of 166.
In CMYK color space (used in color printing), #0c2fa6 hex color is composed of 92.77% cyan, 71.69% magenta, 0% yellow and 34.9% black.
#0c2fa6 color has a hue of 226.4 degrees, a saturation of 86.52% and a lightness of 34.9%.
#0c2fa6 hex color contains mainly BLUE.
The closest web safe color of #0c2fa6 is #003399
#0c2fa6 hex color has a decimal value of 798630.
HEX | 0c2fa6 | #0c2fa6 |
---|---|---|
RGB | 12, 47, 166 | rgb(12, 47, 166) |
RGB Percent | 4.71, 18.43, 65.1 | rgb(4.71, 18.43, 65.1) |
CMYK | 93, 72, 0, 35 | |
HSL | 226.4°, 86.52, 34.9 | hsl(226.4, 86.52%, 34.9%) |
HSV | 226.4°, 92.8, 65.1 |
XYZ | 8.051, 4.864, 36.591 |
---|---|
Hunter Lab | 22.054, 26.566, -82.931 |
CIE-LAB | 26.344, 37.071, -66.043 |
CIE-LCH | 26.344, 75.736, 299.306 |
CIE-LUV | 92.77, 71.69, 0, 34.9 |
Web Safe | 003399 |
RGB percent of color #0c2fa6
CMYK percent of color #0c2fa6
Text with hexadecimal color #0c2fa6
This text has a font color of #0c2fa6
<p style="color:#0c2fa6">Text here</p>
#0c2fa6 Background Color
This box has a background color of #0c2fa6
<div style="background-color:#0c2fa6">Text here</div>
#0c2fa6 Border Color
This box has a border color of #0c2fa6
<div style="border: 4px solid #0c2fa6">Text here</div>
CSS codes
<p style="color:#0c2fa6">Text here</p>
<div style="background-color:#0c2fa6">Text here</div>
<div style="border: 4px solid #0c2fa6">Text here</div>
#0c2fa6 Color on white background
This is how a font and box color of #0c2fa6 will look
on a white background.
#0c2fa6 Color on black background
This is how a font and box color of #0c2fa6 hex color will look
on a black background.