In RGB color space, #1f2151 hex color has a red value of 31, a green value of 33 and a blue value of 81.
In CMYK color space (used in color printing), #1f2151 hex color is composed of 61.73% cyan, 59.26% magenta, 0% yellow and 68.24% black.
#1f2151 color has a hue of 237.6 degrees, a saturation of 44.64% and a lightness of 22%.
#1f2151 hex color contains mainly BLUE.
The closest web safe color of #1f2151 is #333366
#1f2151 hex color has a decimal value of 2040145.
HEX | 1f2151 | #1f2151 |
---|---|---|
RGB | 31, 33, 81 | rgb(31, 33, 81) |
RGB Percent | 12.16, 12.94, 31.76 | rgb(12.16, 12.94, 31.76) |
CMYK | 62, 59, 0, 68 | |
HSL | 237.6°, 44.64, 22 | hsl(237.6, 44.64%, 22%) |
HSV | 237.6°, 61.7, 31.8 |
XYZ | 2.594, 1.973, 8.029 |
---|---|
Hunter Lab | 14.046, 8.383, -24.058 |
CIE-LAB | 15.345, 15.431, -29.825 |
CIE-LCH | 15.345, 33.58, 297.356 |
CIE-LUV | 61.73, 59.26, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #1f2151
CMYK percent of color #1f2151
Text with hexadecimal color #1f2151
This text has a font color of #1f2151
<p style="color:#1f2151">Text here</p>
#1f2151 Background Color
This box has a background color of #1f2151
<div style="background-color:#1f2151">Text here</div>
#1f2151 Border Color
This box has a border color of #1f2151
<div style="border: 4px solid #1f2151">Text here</div>
CSS codes
<p style="color:#1f2151">Text here</p>
<div style="background-color:#1f2151">Text here</div>
<div style="border: 4px solid #1f2151">Text here</div>
#1f2151 Color on white background
This is how a font and box color of #1f2151 will look
on a white background.
#1f2151 Color on black background
This is how a font and box color of #1f2151 hex color will look
on a black background.