In RGB color space, #0c2d9a hex color has a red value of 12, a green value of 45 and a blue value of 154.
In CMYK color space (used in color printing), #0c2d9a hex color is composed of 92.21% cyan, 70.78% magenta, 0% yellow and 39.61% black.
#0c2d9a color has a hue of 226.1 degrees, a saturation of 85.54% and a lightness of 32.5%.
#0c2d9a hex color contains mainly BLUE.
The closest web safe color of #0c2d9a is #003399
#0c2d9a hex color has a decimal value of 798106.
HEX | 0c2d9a | #0c2d9a |
---|---|---|
RGB | 12, 45, 154 | rgb(12, 45, 154) |
RGB Percent | 4.71, 17.65, 60.39 | rgb(4.71, 17.65, 60.39) |
CMYK | 92, 71, 0, 40 | |
HSL | 226.1°, 85.54, 32.5 | hsl(226.1, 85.54%, 32.5%) |
HSV | 226.1°, 92.2, 60.4 |
XYZ | 6.923, 4.288, 31.035 |
---|---|
Hunter Lab | 20.707, 23.439, -74.365 |
CIE-LAB | 24.602, 33.805, -61.619 |
CIE-LCH | 24.602, 70.283, 298.75 |
CIE-LUV | 92.21, 70.78, 0, 39.61 |
Web Safe | 003399 |
RGB percent of color #0c2d9a
CMYK percent of color #0c2d9a
Text with hexadecimal color #0c2d9a
This text has a font color of #0c2d9a
<p style="color:#0c2d9a">Text here</p>
#0c2d9a Background Color
This box has a background color of #0c2d9a
<div style="background-color:#0c2d9a">Text here</div>
#0c2d9a Border Color
This box has a border color of #0c2d9a
<div style="border: 4px solid #0c2d9a">Text here</div>
CSS codes
<p style="color:#0c2d9a">Text here</p>
<div style="background-color:#0c2d9a">Text here</div>
<div style="border: 4px solid #0c2d9a">Text here</div>
#0c2d9a Color on white background
This is how a font and box color of #0c2d9a will look
on a white background.
#0c2d9a Color on black background
This is how a font and box color of #0c2d9a hex color will look
on a black background.