In RGB color space, #0c2f7b hex color has a red value of 12, a green value of 47 and a blue value of 123.
In CMYK color space (used in color printing), #0c2f7b hex color is composed of 90.24% cyan, 61.79% magenta, 0% yellow and 51.76% black.
#0c2f7b color has a hue of 221.1 degrees, a saturation of 82.22% and a lightness of 26.5%.
#0c2f7b hex color contains mainly BLUE.
The closest web safe color of #0c2f7b is #003366
#0c2f7b hex color has a decimal value of 798587.
HEX | 0c2f7b | #0c2f7b |
---|---|---|
RGB | 12, 47, 123 | rgb(12, 47, 123) |
RGB Percent | 4.71, 18.43, 48.24 | rgb(4.71, 18.43, 48.24) |
CMYK | 90, 62, 0, 52 | |
HSL | 221.1°, 82.22, 26.5 | hsl(221.1, 82.22%, 26.5%) |
HSV | 221.1°, 90.2, 48.2 |
XYZ | 4.743, 3.541, 19.172 |
---|---|
Hunter Lab | 18.818, 12.061, -47.235 |
CIE-LAB | 22.092, 19.891, -46.423 |
CIE-LCH | 22.092, 50.505, 293.194 |
CIE-LUV | 90.24, 61.79, 0, 51.76 |
Web Safe | 003366 |
RGB percent of color #0c2f7b
CMYK percent of color #0c2f7b
Text with hexadecimal color #0c2f7b
This text has a font color of #0c2f7b
<p style="color:#0c2f7b">Text here</p>
#0c2f7b Background Color
This box has a background color of #0c2f7b
<div style="background-color:#0c2f7b">Text here</div>
#0c2f7b Border Color
This box has a border color of #0c2f7b
<div style="border: 4px solid #0c2f7b">Text here</div>
CSS codes
<p style="color:#0c2f7b">Text here</p>
<div style="background-color:#0c2f7b">Text here</div>
<div style="border: 4px solid #0c2f7b">Text here</div>
#0c2f7b Color on white background
This is how a font and box color of #0c2f7b will look
on a white background.
#0c2f7b Color on black background
This is how a font and box color of #0c2f7b hex color will look
on a black background.