In RGB color space, #0c1a38 hex color has a red value of 12, a green value of 26 and a blue value of 56.
In CMYK color space (used in color printing), #0c1a38 hex color is composed of 78.57% cyan, 53.57% magenta, 0% yellow and 78.04% black.
#0c1a38 color has a hue of 220.9 degrees, a saturation of 64.71% and a lightness of 13.3%.
#0c1a38 hex color contains mainly BLUE.
The closest web safe color of #0c1a38 is #003333
#0c1a38 hex color has a decimal value of 793144.
HEX | 0c1a38 | #0c1a38 |
---|---|---|
RGB | 12, 26, 56 | rgb(12, 26, 56) |
RGB Percent | 4.71, 10.2, 21.96 | rgb(4.71, 10.2, 21.96) |
CMYK | 79, 54, 0, 78 | |
HSL | 220.9°, 64.71, 13.3 | hsl(220.9, 64.71%, 13.3%) |
HSV | 220.9°, 78.6, 22 |
XYZ | 1.235, 1.102, 3.889 |
---|---|
Hunter Lab | 10.498, 2.629, -14.617 |
CIE-LAB | 9.814, 6.281, -21.359 |
CIE-LCH | 9.814, 22.263, 286.387 |
CIE-LUV | 78.57, 53.57, 0, 78.04 |
Web Safe | 003333 |
RGB percent of color #0c1a38
CMYK percent of color #0c1a38
Text with hexadecimal color #0c1a38
This text has a font color of #0c1a38
<p style="color:#0c1a38">Text here</p>
#0c1a38 Background Color
This box has a background color of #0c1a38
<div style="background-color:#0c1a38">Text here</div>
#0c1a38 Border Color
This box has a border color of #0c1a38
<div style="border: 4px solid #0c1a38">Text here</div>
CSS codes
<p style="color:#0c1a38">Text here</p>
<div style="background-color:#0c1a38">Text here</div>
<div style="border: 4px solid #0c1a38">Text here</div>
#0c1a38 Color on white background
This is how a font and box color of #0c1a38 will look
on a white background.
#0c1a38 Color on black background
This is how a font and box color of #0c1a38 hex color will look
on a black background.