In RGB color space, #1f2f52 hex color has a red value of 31, a green value of 47 and a blue value of 82.
In CMYK color space (used in color printing), #1f2f52 hex color is composed of 62.2% cyan, 42.68% magenta, 0% yellow and 67.84% black.
#1f2f52 color has a hue of 221.2 degrees, a saturation of 45.13% and a lightness of 22.2%.
#1f2f52 hex color contains mainly BLUE.
The closest web safe color of #1f2f52 is #333366
#1f2f52 hex color has a decimal value of 2043730.
HEX | 1f2f52 | #1f2f52 |
---|---|---|
RGB | 31, 47, 82 | rgb(31, 47, 82) |
RGB Percent | 12.16, 18.43, 32.16 | rgb(12.16, 18.43, 32.16) |
CMYK | 62, 43, 0, 68 | |
HSL | 221.2°, 45.13, 22.2 | hsl(221.2, 45.13%, 22.2%) |
HSV | 221.2°, 62.2, 32.2 |
XYZ | 3.105, 2.934, 8.385 |
---|---|
Hunter Lab | 17.129, 2.381, -17.034 |
CIE-LAB | 19.778, 5.623, -23.404 |
CIE-LCH | 19.778, 24.07, 283.51 |
CIE-LUV | 62.2, 42.68, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #1f2f52
CMYK percent of color #1f2f52
Text with hexadecimal color #1f2f52
This text has a font color of #1f2f52
<p style="color:#1f2f52">Text here</p>
#1f2f52 Background Color
This box has a background color of #1f2f52
<div style="background-color:#1f2f52">Text here</div>
#1f2f52 Border Color
This box has a border color of #1f2f52
<div style="border: 4px solid #1f2f52">Text here</div>
CSS codes
<p style="color:#1f2f52">Text here</p>
<div style="background-color:#1f2f52">Text here</div>
<div style="border: 4px solid #1f2f52">Text here</div>
#1f2f52 Color on white background
This is how a font and box color of #1f2f52 will look
on a white background.
#1f2f52 Color on black background
This is how a font and box color of #1f2f52 hex color will look
on a black background.