In RGB color space, #0c2f7f hex color has a red value of 12, a green value of 47 and a blue value of 127.
In CMYK color space (used in color printing), #0c2f7f hex color is composed of 90.55% cyan, 62.99% magenta, 0% yellow and 50.2% black.
#0c2f7f color has a hue of 221.7 degrees, a saturation of 82.73% and a lightness of 27.3%.
#0c2f7f hex color contains mainly BLUE.
The closest web safe color of #0c2f7f is #003366
#0c2f7f hex color has a decimal value of 798591.
HEX | 0c2f7f | #0c2f7f |
---|---|---|
RGB | 12, 47, 127 | rgb(12, 47, 127) |
RGB Percent | 4.71, 18.43, 49.8 | rgb(4.71, 18.43, 49.8) |
CMYK | 91, 63, 0, 50 | |
HSL | 221.7°, 82.73, 27.3 | hsl(221.7, 82.73%, 27.3%) |
HSV | 221.7°, 90.6, 49.8 |
XYZ | 4.999, 3.643, 20.518 |
---|---|
Hunter Lab | 19.087, 13.349, -50.376 |
CIE-LAB | 22.454, 21.584, -48.362 |
CIE-LCH | 22.454, 52.96, 294.051 |
CIE-LUV | 90.55, 62.99, 0, 50.2 |
Web Safe | 003366 |
RGB percent of color #0c2f7f
CMYK percent of color #0c2f7f
Text with hexadecimal color #0c2f7f
This text has a font color of #0c2f7f
<p style="color:#0c2f7f">Text here</p>
#0c2f7f Background Color
This box has a background color of #0c2f7f
<div style="background-color:#0c2f7f">Text here</div>
#0c2f7f Border Color
This box has a border color of #0c2f7f
<div style="border: 4px solid #0c2f7f">Text here</div>
CSS codes
<p style="color:#0c2f7f">Text here</p>
<div style="background-color:#0c2f7f">Text here</div>
<div style="border: 4px solid #0c2f7f">Text here</div>
#0c2f7f Color on white background
This is how a font and box color of #0c2f7f will look
on a white background.
#0c2f7f Color on black background
This is how a font and box color of #0c2f7f hex color will look
on a black background.