In RGB color space, #0c2a6d hex color has a red value of 12, a green value of 42 and a blue value of 109.
In CMYK color space (used in color printing), #0c2a6d hex color is composed of 88.99% cyan, 61.47% magenta, 0% yellow and 57.25% black.
#0c2a6d color has a hue of 221.4 degrees, a saturation of 80.17% and a lightness of 23.7%.
#0c2a6d hex color contains mainly BLUE.
The closest web safe color of #0c2a6d is #003366
#0c2a6d hex color has a decimal value of 797293.
HEX | 0c2a6d | #0c2a6d |
---|---|---|
RGB | 12, 42, 109 | rgb(12, 42, 109) |
RGB Percent | 4.71, 16.47, 42.75 | rgb(4.71, 16.47, 42.75) |
CMYK | 89, 61, 0, 57 | |
HSL | 221.4°, 80.17, 23.7 | hsl(221.4, 80.17%, 23.7%) |
HSV | 221.4°, 89, 42.7 |
XYZ | 3.74, 2.838, 14.819 |
---|---|
Hunter Lab | 16.846, 10.147, -40.362 |
CIE-LAB | 19.383, 17.552, -41.871 |
CIE-LCH | 19.383, 45.401, 292.743 |
CIE-LUV | 88.99, 61.47, 0, 57.25 |
Web Safe | 003366 |
RGB percent of color #0c2a6d
CMYK percent of color #0c2a6d
Text with hexadecimal color #0c2a6d
This text has a font color of #0c2a6d
<p style="color:#0c2a6d">Text here</p>
#0c2a6d Background Color
This box has a background color of #0c2a6d
<div style="background-color:#0c2a6d">Text here</div>
#0c2a6d Border Color
This box has a border color of #0c2a6d
<div style="border: 4px solid #0c2a6d">Text here</div>
CSS codes
<p style="color:#0c2a6d">Text here</p>
<div style="background-color:#0c2a6d">Text here</div>
<div style="border: 4px solid #0c2a6d">Text here</div>
#0c2a6d Color on white background
This is how a font and box color of #0c2a6d will look
on a white background.
#0c2a6d Color on black background
This is how a font and box color of #0c2a6d hex color will look
on a black background.