In RGB color space, #1f1248 hex color has a red value of 31, a green value of 18 and a blue value of 72.
In CMYK color space (used in color printing), #1f1248 hex color is composed of 56.94% cyan, 75% magenta, 0% yellow and 71.76% black.
#1f1248 color has a hue of 254.4 degrees, a saturation of 60% and a lightness of 17.6%.
#1f1248 hex color contains mainly BLUE.
The closest web safe color of #1f1248 is #330033
#1f1248 hex color has a decimal value of 2036296.
HEX | 1f1248 | #1f1248 |
---|---|---|
RGB | 31, 18, 72 | rgb(31, 18, 72) |
RGB Percent | 12.16, 7.06, 28.24 | rgb(12.16, 7.06, 28.24) |
CMYK | 57, 75, 0, 72 | |
HSL | 254.4°, 60, 17.6 | hsl(254.4, 60%, 17.6%) |
HSV | 254.4°, 75, 28.2 |
XYZ | 1.951, 1.192, 6.258 |
---|---|
Hunter Lab | 10.918, 12.791, -26.342 |
CIE-LAB | 10.498, 22.685, -31.496 |
CIE-LCH | 10.498, 38.815, 305.763 |
CIE-LUV | 56.94, 75, 0, 71.76 |
Web Safe | 330033 |
RGB percent of color #1f1248
CMYK percent of color #1f1248
Text with hexadecimal color #1f1248
This text has a font color of #1f1248
<p style="color:#1f1248">Text here</p>
#1f1248 Background Color
This box has a background color of #1f1248
<div style="background-color:#1f1248">Text here</div>
#1f1248 Border Color
This box has a border color of #1f1248
<div style="border: 4px solid #1f1248">Text here</div>
CSS codes
<p style="color:#1f1248">Text here</p>
<div style="background-color:#1f1248">Text here</div>
<div style="border: 4px solid #1f1248">Text here</div>
#1f1248 Color on white background
This is how a font and box color of #1f1248 will look
on a white background.
#1f1248 Color on black background
This is how a font and box color of #1f1248 hex color will look
on a black background.