In RGB color space, #0c1f4b hex color has a red value of 12, a green value of 31 and a blue value of 75.
In CMYK color space (used in color printing), #0c1f4b hex color is composed of 84% cyan, 58.67% magenta, 0% yellow and 70.59% black.
#0c1f4b color has a hue of 221.9 degrees, a saturation of 72.41% and a lightness of 17.1%.
#0c1f4b hex color contains mainly BLUE.
The closest web safe color of #0c1f4b is #003333
#0c1f4b hex color has a decimal value of 794443.
HEX | 0c1f4b | #0c1f4b |
---|---|---|
RGB | 12, 31, 75 | rgb(12, 31, 75) |
RGB Percent | 4.71, 12.16, 29.41 | rgb(4.71, 12.16, 29.41) |
CMYK | 84, 59, 0, 71 | |
HSL | 221.9°, 72.41, 17.1 | hsl(221.9, 72.41%, 17.1%) |
HSV | 221.9°, 84, 29.4 |
XYZ | 1.912, 1.566, 6.858 |
---|---|
Hunter Lab | 12.514, 5.373, -23.733 |
CIE-LAB | 13.022, 10.89, -29.538 |
CIE-LCH | 13.022, 31.482, 290.238 |
CIE-LUV | 84, 58.67, 0, 70.59 |
Web Safe | 003333 |
RGB percent of color #0c1f4b
CMYK percent of color #0c1f4b
Text with hexadecimal color #0c1f4b
This text has a font color of #0c1f4b
<p style="color:#0c1f4b">Text here</p>
#0c1f4b Background Color
This box has a background color of #0c1f4b
<div style="background-color:#0c1f4b">Text here</div>
#0c1f4b Border Color
This box has a border color of #0c1f4b
<div style="border: 4px solid #0c1f4b">Text here</div>
CSS codes
<p style="color:#0c1f4b">Text here</p>
<div style="background-color:#0c1f4b">Text here</div>
<div style="border: 4px solid #0c1f4b">Text here</div>
#0c1f4b Color on white background
This is how a font and box color of #0c1f4b will look
on a white background.
#0c1f4b Color on black background
This is how a font and box color of #0c1f4b hex color will look
on a black background.