In RGB color space, #0c1f8b hex color has a red value of 12, a green value of 31 and a blue value of 139.
In CMYK color space (used in color printing), #0c1f8b hex color is composed of 91.37% cyan, 77.7% magenta, 0% yellow and 45.49% black.
#0c1f8b color has a hue of 231 degrees, a saturation of 84.11% and a lightness of 29.6%.
#0c1f8b hex color contains mainly BLUE.
The closest web safe color of #0c1f8b is #003399
#0c1f8b hex color has a decimal value of 794507.
HEX | 0c1f8b | #0c1f8b |
---|---|---|
RGB | 12, 31, 139 | rgb(12, 31, 139) |
RGB Percent | 4.71, 12.16, 54.51 | rgb(4.71, 12.16, 54.51) |
CMYK | 91, 78, 0, 45 | |
HSL | 231°, 84.11, 29.6 | hsl(231, 84.11%, 29.6%) |
HSV | 231°, 91.4, 54.5 |
XYZ | 5.302, 2.922, 24.711 |
---|---|
Hunter Lab | 17.094, 25.451, -73.744 |
CIE-LAB | 19.729, 37.042, -60.393 |
CIE-LCH | 19.729, 70.848, 301.523 |
CIE-LUV | 91.37, 77.7, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #0c1f8b
CMYK percent of color #0c1f8b
Text with hexadecimal color #0c1f8b
This text has a font color of #0c1f8b
<p style="color:#0c1f8b">Text here</p>
#0c1f8b Background Color
This box has a background color of #0c1f8b
<div style="background-color:#0c1f8b">Text here</div>
#0c1f8b Border Color
This box has a border color of #0c1f8b
<div style="border: 4px solid #0c1f8b">Text here</div>
CSS codes
<p style="color:#0c1f8b">Text here</p>
<div style="background-color:#0c1f8b">Text here</div>
<div style="border: 4px solid #0c1f8b">Text here</div>
#0c1f8b Color on white background
This is how a font and box color of #0c1f8b will look
on a white background.
#0c1f8b Color on black background
This is how a font and box color of #0c1f8b hex color will look
on a black background.