In RGB color space, #1f1a52 hex color has a red value of 31, a green value of 26 and a blue value of 82.
In CMYK color space (used in color printing), #1f1a52 hex color is composed of 62.2% cyan, 68.29% magenta, 0% yellow and 67.84% black.
#1f1a52 color has a hue of 245.4 degrees, a saturation of 51.85% and a lightness of 21.2%.
#1f1a52 hex color contains mainly BLUE.
The closest web safe color of #1f1a52 is #333366
#1f1a52 hex color has a decimal value of 2038354.
HEX | 1f1a52 | #1f1a52 |
---|---|---|
RGB | 31, 26, 82 | rgb(31, 26, 82) |
RGB Percent | 12.16, 10.2, 32.16 | rgb(12.16, 10.2, 32.16) |
CMYK | 62, 68, 0, 68 | |
HSL | 245.4°, 51.85, 21.2 | hsl(245.4, 51.85%, 21.2%) |
HSV | 245.4°, 68.3, 32.2 |
XYZ | 2.457, 1.639, 8.17 |
---|---|
Hunter Lab | 12.802, 11.853, -28.875 |
CIE-LAB | 13.466, 20.833, -33.553 |
CIE-LCH | 13.466, 39.495, 301.836 |
CIE-LUV | 62.2, 68.29, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #1f1a52
CMYK percent of color #1f1a52
Text with hexadecimal color #1f1a52
This text has a font color of #1f1a52
<p style="color:#1f1a52">Text here</p>
#1f1a52 Background Color
This box has a background color of #1f1a52
<div style="background-color:#1f1a52">Text here</div>
#1f1a52 Border Color
This box has a border color of #1f1a52
<div style="border: 4px solid #1f1a52">Text here</div>
CSS codes
<p style="color:#1f1a52">Text here</p>
<div style="background-color:#1f1a52">Text here</div>
<div style="border: 4px solid #1f1a52">Text here</div>
#1f1a52 Color on white background
This is how a font and box color of #1f1a52 will look
on a white background.
#1f1a52 Color on black background
This is how a font and box color of #1f1a52 hex color will look
on a black background.