In RGB color space, #1f172f hex color has a red value of 31, a green value of 23 and a blue value of 47.
In CMYK color space (used in color printing), #1f172f hex color is composed of 34.04% cyan, 51.06% magenta, 0% yellow and 81.57% black.
#1f172f color has a hue of 260 degrees, a saturation of 34.29% and a lightness of 13.7%.
#1f172f hex color contains mainly BLUE.
The closest web safe color of #1f172f is #330033
#1f172f hex color has a decimal value of 2037551.
HEX | 1f172f | #1f172f |
---|---|---|
RGB | 31, 23, 47 | rgb(31, 23, 47) |
RGB Percent | 12.16, 9.02, 18.43 | rgb(12.16, 9.02, 18.43) |
CMYK | 34, 51, 0, 82 | |
HSL | 260°, 34.29, 13.7 | hsl(260, 34.29%, 13.7%) |
HSV | 260°, 51.1, 18.4 |
XYZ | 1.385, 1.109, 2.83 |
---|---|
Hunter Lab | 10.531, 5.047, -8.562 |
CIE-LAB | 9.868, 10.624, -14.643 |
CIE-LCH | 9.868, 18.091, 305.962 |
CIE-LUV | 34.04, 51.06, 0, 81.57 |
Web Safe | 330033 |
RGB percent of color #1f172f
CMYK percent of color #1f172f
Text with hexadecimal color #1f172f
This text has a font color of #1f172f
<p style="color:#1f172f">Text here</p>
#1f172f Background Color
This box has a background color of #1f172f
<div style="background-color:#1f172f">Text here</div>
#1f172f Border Color
This box has a border color of #1f172f
<div style="border: 4px solid #1f172f">Text here</div>
CSS codes
<p style="color:#1f172f">Text here</p>
<div style="background-color:#1f172f">Text here</div>
<div style="border: 4px solid #1f172f">Text here</div>
#1f172f Color on white background
This is how a font and box color of #1f172f will look
on a white background.
#1f172f Color on black background
This is how a font and box color of #1f172f hex color will look
on a black background.