In RGB color space, #0c2170 hex color has a red value of 12, a green value of 33 and a blue value of 112.
In CMYK color space (used in color printing), #0c2170 hex color is composed of 89.29% cyan, 70.54% magenta, 0% yellow and 56.08% black.
#0c2170 color has a hue of 227.4 degrees, a saturation of 80.65% and a lightness of 24.3%.
#0c2170 hex color contains mainly BLUE.
The closest web safe color of #0c2170 is #003366
#0c2170 hex color has a decimal value of 794992.
HEX | 0c2170 | #0c2170 |
---|---|---|
RGB | 12, 33, 112 | rgb(12, 33, 112) |
RGB Percent | 4.71, 12.94, 43.92 | rgb(4.71, 12.94, 43.92) |
CMYK | 89, 71, 0, 56 | |
HSL | 227.4°, 80.65, 24.3 | hsl(227.4, 80.65%, 24.3%) |
HSV | 227.4°, 89.3, 43.9 |
XYZ | 3.62, 2.336, 15.589 |
---|---|
Hunter Lab | 15.284, 15.531, -49.774 |
CIE-LAB | 17.16, 25.295, -47.456 |
CIE-LCH | 17.16, 53.776, 298.059 |
CIE-LUV | 89.29, 70.54, 0, 56.08 |
Web Safe | 003366 |
RGB percent of color #0c2170
CMYK percent of color #0c2170
Text with hexadecimal color #0c2170
This text has a font color of #0c2170
<p style="color:#0c2170">Text here</p>
#0c2170 Background Color
This box has a background color of #0c2170
<div style="background-color:#0c2170">Text here</div>
#0c2170 Border Color
This box has a border color of #0c2170
<div style="border: 4px solid #0c2170">Text here</div>
CSS codes
<p style="color:#0c2170">Text here</p>
<div style="background-color:#0c2170">Text here</div>
<div style="border: 4px solid #0c2170">Text here</div>
#0c2170 Color on white background
This is how a font and box color of #0c2170 will look
on a white background.
#0c2170 Color on black background
This is how a font and box color of #0c2170 hex color will look
on a black background.