In RGB color space, #0c2a52 hex color has a red value of 12, a green value of 42 and a blue value of 82.
In CMYK color space (used in color printing), #0c2a52 hex color is composed of 85.37% cyan, 48.78% magenta, 0% yellow and 67.84% black.
#0c2a52 color has a hue of 214.3 degrees, a saturation of 74.47% and a lightness of 18.4%.
#0c2a52 hex color contains mainly BLUE.
The closest web safe color of #0c2a52 is #003366
#0c2a52 hex color has a decimal value of 797266.
HEX | 0c2a52 | #0c2a52 |
---|---|---|
RGB | 12, 42, 82 | rgb(12, 42, 82) |
RGB Percent | 4.71, 16.47, 32.16 | rgb(4.71, 16.47, 32.16) |
CMYK | 85, 49, 0, 68 | |
HSL | 214.3°, 74.47, 18.4 | hsl(214.3, 74.47%, 18.4%) |
HSV | 214.3°, 85.4, 32.2 |
XYZ | 2.503, 2.343, 8.303 |
---|---|
Hunter Lab | 15.307, 2.402, -21.446 |
CIE-LAB | 17.193, 5.683, -27.582 |
CIE-LCH | 17.193, 28.161, 281.642 |
CIE-LUV | 85.37, 48.78, 0, 67.84 |
Web Safe | 003366 |
RGB percent of color #0c2a52
CMYK percent of color #0c2a52
Text with hexadecimal color #0c2a52
This text has a font color of #0c2a52
<p style="color:#0c2a52">Text here</p>
#0c2a52 Background Color
This box has a background color of #0c2a52
<div style="background-color:#0c2a52">Text here</div>
#0c2a52 Border Color
This box has a border color of #0c2a52
<div style="border: 4px solid #0c2a52">Text here</div>
CSS codes
<p style="color:#0c2a52">Text here</p>
<div style="background-color:#0c2a52">Text here</div>
<div style="border: 4px solid #0c2a52">Text here</div>
#0c2a52 Color on white background
This is how a font and box color of #0c2a52 will look
on a white background.
#0c2a52 Color on black background
This is how a font and box color of #0c2a52 hex color will look
on a black background.