In RGB color space, #1f2870 hex color has a red value of 31, a green value of 40 and a blue value of 112.
In CMYK color space (used in color printing), #1f2870 hex color is composed of 72.32% cyan, 64.29% magenta, 0% yellow and 56.08% black.
#1f2870 color has a hue of 233.3 degrees, a saturation of 56.64% and a lightness of 28%.
#1f2870 hex color contains mainly BLUE.
The closest web safe color of #1f2870 is #333366
#1f2870 hex color has a decimal value of 2041968.
HEX | 1f2870 | #1f2870 |
---|---|---|
RGB | 31, 40, 112 | rgb(31, 40, 112) |
RGB Percent | 12.16, 15.69, 43.92 | rgb(12.16, 15.69, 43.92) |
CMYK | 72, 64, 0, 56 | |
HSL | 233.3°, 56.64, 28 | hsl(233.3, 56.64%, 28%) |
HSV | 233.3°, 72.3, 43.9 |
XYZ | 4.248, 2.979, 15.68 |
---|---|
Hunter Lab | 17.26, 13.728, -41.781 |
CIE-LAB | 19.96, 22.442, -42.832 |
CIE-LCH | 19.96, 48.355, 297.652 |
CIE-LUV | 72.32, 64.29, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #1f2870
CMYK percent of color #1f2870
Text with hexadecimal color #1f2870
This text has a font color of #1f2870
<p style="color:#1f2870">Text here</p>
#1f2870 Background Color
This box has a background color of #1f2870
<div style="background-color:#1f2870">Text here</div>
#1f2870 Border Color
This box has a border color of #1f2870
<div style="border: 4px solid #1f2870">Text here</div>
CSS codes
<p style="color:#1f2870">Text here</p>
<div style="background-color:#1f2870">Text here</div>
<div style="border: 4px solid #1f2870">Text here</div>
#1f2870 Color on white background
This is how a font and box color of #1f2870 will look
on a white background.
#1f2870 Color on black background
This is how a font and box color of #1f2870 hex color will look
on a black background.