In RGB color space, #0c2aff hex color has a red value of 12, a green value of 42 and a blue value of 255.
In CMYK color space (used in color printing), #0c2aff hex color is composed of 95.29% cyan, 83.53% magenta, 0% yellow and 0% black.
#0c2aff color has a hue of 232.6 degrees, a saturation of 100% and a lightness of 52.4%.
#0c2aff hex color contains mainly BLUE.
The closest web safe color of #0c2aff is #0033ff
#0c2aff hex color has a decimal value of 797439.
HEX | 0c2aff | #0c2aff |
---|---|---|
RGB | 12, 42, 255 | rgb(12, 42, 255) |
RGB Percent | 4.71, 16.47, 100 | rgb(4.71, 16.47, 100) |
CMYK | 95, 84, 0, 0 | |
HSL | 232.6°, 100, 52.4 | hsl(232.6, 100%, 52.4%) |
HSV | 232.6°, 95.3, 100 |
XYZ | 19.03, 8.954, 95.333 |
---|---|
Hunter Lab | 29.923, 61.153, -167.947 |
CIE-LAB | 35.896, 68.82, -101.858 |
CIE-LCH | 35.896, 122.928, 304.045 |
CIE-LUV | 95.29, 83.53, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0c2aff
CMYK percent of color #0c2aff
Text with hexadecimal color #0c2aff
This text has a font color of #0c2aff
<p style="color:#0c2aff">Text here</p>
#0c2aff Background Color
This box has a background color of #0c2aff
<div style="background-color:#0c2aff">Text here</div>
#0c2aff Border Color
This box has a border color of #0c2aff
<div style="border: 4px solid #0c2aff">Text here</div>
CSS codes
<p style="color:#0c2aff">Text here</p>
<div style="background-color:#0c2aff">Text here</div>
<div style="border: 4px solid #0c2aff">Text here</div>
#0c2aff Color on white background
This is how a font and box color of #0c2aff will look
on a white background.
#0c2aff Color on black background
This is how a font and box color of #0c2aff hex color will look
on a black background.