In RGB color space, #1f2751 hex color has a red value of 31, a green value of 39 and a blue value of 81.
In CMYK color space (used in color printing), #1f2751 hex color is composed of 61.73% cyan, 51.85% magenta, 0% yellow and 68.24% black.
#1f2751 color has a hue of 230.4 degrees, a saturation of 44.64% and a lightness of 22%.
#1f2751 hex color contains mainly BLUE.
The closest web safe color of #1f2751 is #333366
#1f2751 hex color has a decimal value of 2041681.
HEX | 1f2751 | #1f2751 |
---|---|---|
RGB | 31, 39, 81 | rgb(31, 39, 81) |
RGB Percent | 12.16, 15.29, 31.76 | rgb(12.16, 15.29, 31.76) |
CMYK | 62, 52, 0, 68 | |
HSL | 230.4°, 44.64, 22 | hsl(230.4, 44.64%, 22%) |
HSV | 230.4°, 61.7, 31.8 |
XYZ | 2.776, 2.336, 8.089 |
---|---|
Hunter Lab | 15.284, 5.674, -20.68 |
CIE-LAB | 17.16, 11.048, -26.904 |
CIE-LCH | 17.16, 29.084, 292.325 |
CIE-LUV | 61.73, 51.85, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #1f2751
CMYK percent of color #1f2751
Text with hexadecimal color #1f2751
This text has a font color of #1f2751
<p style="color:#1f2751">Text here</p>
#1f2751 Background Color
This box has a background color of #1f2751
<div style="background-color:#1f2751">Text here</div>
#1f2751 Border Color
This box has a border color of #1f2751
<div style="border: 4px solid #1f2751">Text here</div>
CSS codes
<p style="color:#1f2751">Text here</p>
<div style="background-color:#1f2751">Text here</div>
<div style="border: 4px solid #1f2751">Text here</div>
#1f2751 Color on white background
This is how a font and box color of #1f2751 will look
on a white background.
#1f2751 Color on black background
This is how a font and box color of #1f2751 hex color will look
on a black background.