In RGB color space, #1f1f38 hex color has a red value of 31, a green value of 31 and a blue value of 56.
In CMYK color space (used in color printing), #1f1f38 hex color is composed of 44.64% cyan, 44.64% magenta, 0% yellow and 78.04% black.
#1f1f38 color has a hue of 240 degrees, a saturation of 28.74% and a lightness of 17.1%.
#1f1f38 hex color contains mainly BLUE.
The closest web safe color of #1f1f38 is #333333
#1f1f38 hex color has a decimal value of 2039608.
HEX | 1f1f38 | #1f1f38 |
---|---|---|
RGB | 31, 31, 56 | rgb(31, 31, 56) |
RGB Percent | 12.16, 12.16, 21.96 | rgb(12.16, 12.16, 21.96) |
CMYK | 45, 45, 0, 78 | |
HSL | 240°, 28.74, 17.1 | hsl(240, 28.74%, 17.1%) |
HSV | 240°, 44.6, 22 |
XYZ | 1.769, 1.557, 3.949 |
---|---|
Hunter Lab | 12.478, 3.469, -10.029 |
CIE-LAB | 12.966, 7.652, -16.261 |
CIE-LCH | 12.966, 17.971, 295.2 |
CIE-LUV | 44.64, 44.64, 0, 78.04 |
Web Safe | 333333 |
RGB percent of color #1f1f38
CMYK percent of color #1f1f38
Text with hexadecimal color #1f1f38
This text has a font color of #1f1f38
<p style="color:#1f1f38">Text here</p>
#1f1f38 Background Color
This box has a background color of #1f1f38
<div style="background-color:#1f1f38">Text here</div>
#1f1f38 Border Color
This box has a border color of #1f1f38
<div style="border: 4px solid #1f1f38">Text here</div>
CSS codes
<p style="color:#1f1f38">Text here</p>
<div style="background-color:#1f1f38">Text here</div>
<div style="border: 4px solid #1f1f38">Text here</div>
#1f1f38 Color on white background
This is how a font and box color of #1f1f38 will look
on a white background.
#1f1f38 Color on black background
This is how a font and box color of #1f1f38 hex color will look
on a black background.