In RGB color space, #1f1a5a hex color has a red value of 31, a green value of 26 and a blue value of 90.
In CMYK color space (used in color printing), #1f1a5a hex color is composed of 65.56% cyan, 71.11% magenta, 0% yellow and 64.71% black.
#1f1a5a color has a hue of 244.7 degrees, a saturation of 55.17% and a lightness of 22.7%.
#1f1a5a hex color contains mainly BLUE.
The closest web safe color of #1f1a5a is #333366
#1f1a5a hex color has a decimal value of 2038362.
HEX | 1f1a5a | #1f1a5a |
---|---|---|
RGB | 31, 26, 90 | rgb(31, 26, 90) |
RGB Percent | 12.16, 10.2, 35.29 | rgb(12.16, 10.2, 35.29) |
CMYK | 66, 71, 0, 65 | |
HSL | 244.7°, 55.17, 22.7 | hsl(244.7, 55.17%, 22.7%) |
HSV | 244.7°, 71.1, 35.3 |
XYZ | 2.78, 1.768, 9.868 |
---|---|
Hunter Lab | 13.297, 14.051, -34.694 |
CIE-LAB | 14.219, 23.798, -37.734 |
CIE-LCH | 14.219, 44.612, 302.239 |
CIE-LUV | 65.56, 71.11, 0, 64.71 |
Web Safe | 333366 |
RGB percent of color #1f1a5a
CMYK percent of color #1f1a5a
Text with hexadecimal color #1f1a5a
This text has a font color of #1f1a5a
<p style="color:#1f1a5a">Text here</p>
#1f1a5a Background Color
This box has a background color of #1f1a5a
<div style="background-color:#1f1a5a">Text here</div>
#1f1a5a Border Color
This box has a border color of #1f1a5a
<div style="border: 4px solid #1f1a5a">Text here</div>
CSS codes
<p style="color:#1f1a5a">Text here</p>
<div style="background-color:#1f1a5a">Text here</div>
<div style="border: 4px solid #1f1a5a">Text here</div>
#1f1a5a Color on white background
This is how a font and box color of #1f1a5a will look
on a white background.
#1f1a5a Color on black background
This is how a font and box color of #1f1a5a hex color will look
on a black background.