In RGB color space, #0c2f71 hex color has a red value of 12, a green value of 47 and a blue value of 113.
In CMYK color space (used in color printing), #0c2f71 hex color is composed of 89.38% cyan, 58.41% magenta, 0% yellow and 55.69% black.
#0c2f71 color has a hue of 219.2 degrees, a saturation of 80.8% and a lightness of 24.5%.
#0c2f71 hex color contains mainly BLUE.
The closest web safe color of #0c2f71 is #003366
#0c2f71 hex color has a decimal value of 798577.
HEX | 0c2f71 | #0c2f71 |
---|---|---|
RGB | 12, 47, 113 | rgb(12, 47, 113) |
RGB Percent | 4.71, 18.43, 44.31 | rgb(4.71, 18.43, 44.31) |
CMYK | 89, 58, 0, 56 | |
HSL | 219.2°, 80.8, 24.5 | hsl(219.2, 80.8%, 24.5%) |
HSV | 219.2°, 89.4, 44.3 |
XYZ | 4.149, 3.303, 16.042 |
---|---|
Hunter Lab | 18.174, 8.945, -39.612 |
CIE-LAB | 21.219, 15.626, -41.462 |
CIE-LCH | 21.219, 44.309, 290.65 |
CIE-LUV | 89.38, 58.41, 0, 55.69 |
Web Safe | 003366 |
RGB percent of color #0c2f71
CMYK percent of color #0c2f71
Text with hexadecimal color #0c2f71
This text has a font color of #0c2f71
<p style="color:#0c2f71">Text here</p>
#0c2f71 Background Color
This box has a background color of #0c2f71
<div style="background-color:#0c2f71">Text here</div>
#0c2f71 Border Color
This box has a border color of #0c2f71
<div style="border: 4px solid #0c2f71">Text here</div>
CSS codes
<p style="color:#0c2f71">Text here</p>
<div style="background-color:#0c2f71">Text here</div>
<div style="border: 4px solid #0c2f71">Text here</div>
#0c2f71 Color on white background
This is how a font and box color of #0c2f71 will look
on a white background.
#0c2f71 Color on black background
This is how a font and box color of #0c2f71 hex color will look
on a black background.