In RGB color space, #0c2d8b hex color has a red value of 12, a green value of 45 and a blue value of 139.
In CMYK color space (used in color printing), #0c2d8b hex color is composed of 91.37% cyan, 67.63% magenta, 0% yellow and 45.49% black.
#0c2d8b color has a hue of 224.4 degrees, a saturation of 84.11% and a lightness of 29.6%.
#0c2d8b hex color contains mainly BLUE.
The closest web safe color of #0c2d8b is #003399
#0c2d8b hex color has a decimal value of 798091.
HEX | 0c2d8b | #0c2d8b |
---|---|---|
RGB | 12, 45, 139 | rgb(12, 45, 139) |
RGB Percent | 4.71, 17.65, 54.51 | rgb(4.71, 17.65, 54.51) |
CMYK | 91, 68, 0, 45 | |
HSL | 224.4°, 84.11, 29.6 | hsl(224.4, 84.11%, 29.6%) |
HSV | 224.4°, 91.4, 54.5 |
XYZ | 5.75, 3.819, 24.86 |
---|---|
Hunter Lab | 19.542, 18.322, -61.744 |
CIE-LAB | 23.064, 27.903, -54.888 |
CIE-LCH | 23.064, 61.573, 296.947 |
CIE-LUV | 91.37, 67.63, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #0c2d8b
CMYK percent of color #0c2d8b
Text with hexadecimal color #0c2d8b
This text has a font color of #0c2d8b
<p style="color:#0c2d8b">Text here</p>
#0c2d8b Background Color
This box has a background color of #0c2d8b
<div style="background-color:#0c2d8b">Text here</div>
#0c2d8b Border Color
This box has a border color of #0c2d8b
<div style="border: 4px solid #0c2d8b">Text here</div>
CSS codes
<p style="color:#0c2d8b">Text here</p>
<div style="background-color:#0c2d8b">Text here</div>
<div style="border: 4px solid #0c2d8b">Text here</div>
#0c2d8b Color on white background
This is how a font and box color of #0c2d8b will look
on a white background.
#0c2d8b Color on black background
This is how a font and box color of #0c2d8b hex color will look
on a black background.