In RGB color space, #1f2156 hex color has a red value of 31, a green value of 33 and a blue value of 86.
In CMYK color space (used in color printing), #1f2156 hex color is composed of 63.95% cyan, 61.63% magenta, 0% yellow and 66.27% black.
#1f2156 color has a hue of 237.8 degrees, a saturation of 47.01% and a lightness of 22.9%.
#1f2156 hex color contains mainly BLUE.
The closest web safe color of #1f2156 is #333366
#1f2156 hex color has a decimal value of 2040150.
HEX | 1f2156 | #1f2156 |
---|---|---|
RGB | 31, 33, 86 | rgb(31, 33, 86) |
RGB Percent | 12.16, 12.94, 33.73 | rgb(12.16, 12.94, 33.73) |
CMYK | 64, 62, 0, 66 | |
HSL | 237.8°, 47.01, 22.9 | hsl(237.8, 47.01%, 22.9%) |
HSV | 237.8°, 64, 33.7 |
XYZ | 2.789, 2.051, 9.053 |
---|---|
Hunter Lab | 14.321, 9.7, -27.454 |
CIE-LAB | 15.753, 17.355, -32.546 |
CIE-LCH | 15.753, 36.884, 298.069 |
CIE-LUV | 63.95, 61.63, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #1f2156
CMYK percent of color #1f2156
Text with hexadecimal color #1f2156
This text has a font color of #1f2156
<p style="color:#1f2156">Text here</p>
#1f2156 Background Color
This box has a background color of #1f2156
<div style="background-color:#1f2156">Text here</div>
#1f2156 Border Color
This box has a border color of #1f2156
<div style="border: 4px solid #1f2156">Text here</div>
CSS codes
<p style="color:#1f2156">Text here</p>
<div style="background-color:#1f2156">Text here</div>
<div style="border: 4px solid #1f2156">Text here</div>
#1f2156 Color on white background
This is how a font and box color of #1f2156 will look
on a white background.
#1f2156 Color on black background
This is how a font and box color of #1f2156 hex color will look
on a black background.