In RGB color space, #0512a1 hex color has a red value of 5, a green value of 18 and a blue value of 161.
In CMYK color space (used in color printing), #0512a1 hex color is composed of 96.89% cyan, 88.82% magenta, 0% yellow and 36.86% black.
#0512a1 color has a hue of 235 degrees, a saturation of 93.98% and a lightness of 32.5%.
#0512a1 hex color contains mainly BLUE.
The closest web safe color of #0512a1 is #000099
#0512a1 hex color has a decimal value of 332449.
HEX | 0512a1 | #0512a1 |
---|---|---|
RGB | 5, 18, 161 | rgb(5, 18, 161) |
RGB Percent | 1.96, 7.06, 63.14 | rgb(1.96, 7.06, 63.14) |
CMYK | 97, 89, 0, 37 | |
HSL | 235°, 93.98, 32.5 | hsl(235, 93.98%, 32.5%) |
HSV | 235°, 96.9, 63.1 |
XYZ | 6.712, 3.038, 33.951 |
---|---|
Hunter Lab | 17.43, 38.236, -103.288 |
CIE-LAB | 20.195, 50.654, -73.215 |
CIE-LCH | 20.195, 89.03, 304.678 |
CIE-LUV | 96.89, 88.82, 0, 36.86 |
Web Safe | 000099 |
RGB percent of color #0512a1
CMYK percent of color #0512a1
Text with hexadecimal color #0512a1
This text has a font color of #0512a1
<p style="color:#0512a1">Text here</p>
#0512a1 Background Color
This box has a background color of #0512a1
<div style="background-color:#0512a1">Text here</div>
#0512a1 Border Color
This box has a border color of #0512a1
<div style="border: 4px solid #0512a1">Text here</div>
CSS codes
<p style="color:#0512a1">Text here</p>
<div style="background-color:#0512a1">Text here</div>
<div style="border: 4px solid #0512a1">Text here</div>
#0512a1 Color on white background
This is how a font and box color of #0512a1 will look
on a white background.
#0512a1 Color on black background
This is how a font and box color of #0512a1 hex color will look
on a black background.