In RGB color space, #0c2a51 hex color has a red value of 12, a green value of 42 and a blue value of 81.
In CMYK color space (used in color printing), #0c2a51 hex color is composed of 85.19% cyan, 48.15% magenta, 0% yellow and 68.24% black.
#0c2a51 color has a hue of 213.9 degrees, a saturation of 74.19% and a lightness of 18.2%.
#0c2a51 hex color contains mainly BLUE.
The closest web safe color of #0c2a51 is #003366
#0c2a51 hex color has a decimal value of 797265.
HEX | 0c2a51 | #0c2a51 |
---|---|---|
RGB | 12, 42, 81 | rgb(12, 42, 81) |
RGB Percent | 4.71, 16.47, 31.76 | rgb(4.71, 16.47, 31.76) |
CMYK | 85, 48, 0, 68 | |
HSL | 213.9°, 74.19, 18.2 | hsl(213.9, 74.19%, 18.2%) |
HSV | 213.9°, 85.2, 31.8 |
XYZ | 2.465, 2.328, 8.104 |
---|---|
Hunter Lab | 15.258, 2.137, -20.811 |
CIE-LAB | 17.122, 5.232, -27.021 |
CIE-LCH | 17.122, 27.523, 280.958 |
CIE-LUV | 85.19, 48.15, 0, 68.24 |
Web Safe | 003366 |
RGB percent of color #0c2a51
CMYK percent of color #0c2a51
Text with hexadecimal color #0c2a51
This text has a font color of #0c2a51
<p style="color:#0c2a51">Text here</p>
#0c2a51 Background Color
This box has a background color of #0c2a51
<div style="background-color:#0c2a51">Text here</div>
#0c2a51 Border Color
This box has a border color of #0c2a51
<div style="border: 4px solid #0c2a51">Text here</div>
CSS codes
<p style="color:#0c2a51">Text here</p>
<div style="background-color:#0c2a51">Text here</div>
<div style="border: 4px solid #0c2a51">Text here</div>
#0c2a51 Color on white background
This is how a font and box color of #0c2a51 will look
on a white background.
#0c2a51 Color on black background
This is how a font and box color of #0c2a51 hex color will look
on a black background.