In RGB color space, #1f004c hex color has a red value of 31, a green value of 0 and a blue value of 76.
In CMYK color space (used in color printing), #1f004c hex color is composed of 59.21% cyan, 100% magenta, 0% yellow and 70.2% black.
#1f004c color has a hue of 264.5 degrees, a saturation of 100% and a lightness of 14.9%.
#1f004c hex color contains mainly BLUE.
The closest web safe color of #1f004c is #330033
#1f004c hex color has a decimal value of 2031692.
HEX | 1f004c | #1f004c |
---|---|---|
RGB | 31, 0, 76 | rgb(31, 0, 76) |
RGB Percent | 12.16, 0, 29.8 | rgb(12.16, 0, 29.8) |
CMYK | 59, 100, 0, 70 | |
HSL | 264.5°, 100, 14.9 | hsl(264.5, 100%, 14.9%) |
HSV | 264.5°, 100, 29.8 |
XYZ | 1.87, 0.813, 6.896 |
---|---|
Hunter Lab | 9.017, 21.241, -39.034 |
CIE-LAB | 7.344, 34.361, -39.474 |
CIE-LCH | 7.344, 52.334, 311.039 |
CIE-LUV | 59.21, 100, 0, 70.2 |
Web Safe | 330033 |
RGB percent of color #1f004c
CMYK percent of color #1f004c
Text with hexadecimal color #1f004c
This text has a font color of #1f004c
<p style="color:#1f004c">Text here</p>
#1f004c Background Color
This box has a background color of #1f004c
<div style="background-color:#1f004c">Text here</div>
#1f004c Border Color
This box has a border color of #1f004c
<div style="border: 4px solid #1f004c">Text here</div>
CSS codes
<p style="color:#1f004c">Text here</p>
<div style="background-color:#1f004c">Text here</div>
<div style="border: 4px solid #1f004c">Text here</div>
#1f004c Color on white background
This is how a font and box color of #1f004c will look
on a white background.
#1f004c Color on black background
This is how a font and box color of #1f004c hex color will look
on a black background.