In RGB color space, #1f2a70 hex color has a red value of 31, a green value of 42 and a blue value of 112.
In CMYK color space (used in color printing), #1f2a70 hex color is composed of 72.32% cyan, 62.5% magenta, 0% yellow and 56.08% black.
#1f2a70 color has a hue of 231.9 degrees, a saturation of 56.64% and a lightness of 28%.
#1f2a70 hex color contains mainly BLUE.
The closest web safe color of #1f2a70 is #333366
#1f2a70 hex color has a decimal value of 2042480.
HEX | 1f2a70 | #1f2a70 |
---|---|---|
RGB | 31, 42, 112 | rgb(31, 42, 112) |
RGB Percent | 12.16, 16.47, 43.92 | rgb(12.16, 16.47, 43.92) |
CMYK | 72, 63, 0, 56 | |
HSL | 231.9°, 56.64, 28 | hsl(231.9, 56.64%, 28%) |
HSV | 231.9°, 72.3, 43.9 |
XYZ | 4.318, 3.117, 15.703 |
---|---|
Hunter Lab | 17.655, 12.761, -40.376 |
CIE-LAB | 20.507, 21.054, -41.941 |
CIE-LCH | 20.507, 46.929, 296.656 |
CIE-LUV | 72.32, 62.5, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #1f2a70
CMYK percent of color #1f2a70
Text with hexadecimal color #1f2a70
This text has a font color of #1f2a70
<p style="color:#1f2a70">Text here</p>
#1f2a70 Background Color
This box has a background color of #1f2a70
<div style="background-color:#1f2a70">Text here</div>
#1f2a70 Border Color
This box has a border color of #1f2a70
<div style="border: 4px solid #1f2a70">Text here</div>
CSS codes
<p style="color:#1f2a70">Text here</p>
<div style="background-color:#1f2a70">Text here</div>
<div style="border: 4px solid #1f2a70">Text here</div>
#1f2a70 Color on white background
This is how a font and box color of #1f2a70 will look
on a white background.
#1f2a70 Color on black background
This is how a font and box color of #1f2a70 hex color will look
on a black background.