In RGB color space, #1f1a9b hex color has a red value of 31, a green value of 26 and a blue value of 155.
In CMYK color space (used in color printing), #1f1a9b hex color is composed of 80% cyan, 83.23% magenta, 0% yellow and 39.22% black.
#1f1a9b color has a hue of 242.3 degrees, a saturation of 71.27% and a lightness of 35.5%.
#1f1a9b hex color contains mainly BLUE.
The closest web safe color of #1f1a9b is #333399
#1f1a9b hex color has a decimal value of 2038427.
HEX | 1f1a9b | #1f1a9b |
---|---|---|
RGB | 31, 26, 155 | rgb(31, 26, 155) |
RGB Percent | 12.16, 10.2, 60.78 | rgb(12.16, 10.2, 60.78) |
CMYK | 80, 83, 0, 39 | |
HSL | 242.3°, 71.27, 35.5 | hsl(242.3, 71.27%, 35.5%) |
HSV | 242.3°, 83.2, 60.8 |
XYZ | 6.851, 3.397, 31.305 |
---|---|
Hunter Lab | 18.431, 34.096, -87.802 |
CIE-LAB | 21.568, 46.153, -67.229 |
CIE-LCH | 21.568, 81.547, 304.47 |
CIE-LUV | 80, 83.23, 0, 39.22 |
Web Safe | 333399 |
RGB percent of color #1f1a9b
CMYK percent of color #1f1a9b
Text with hexadecimal color #1f1a9b
This text has a font color of #1f1a9b
<p style="color:#1f1a9b">Text here</p>
#1f1a9b Background Color
This box has a background color of #1f1a9b
<div style="background-color:#1f1a9b">Text here</div>
#1f1a9b Border Color
This box has a border color of #1f1a9b
<div style="border: 4px solid #1f1a9b">Text here</div>
CSS codes
<p style="color:#1f1a9b">Text here</p>
<div style="background-color:#1f1a9b">Text here</div>
<div style="border: 4px solid #1f1a9b">Text here</div>
#1f1a9b Color on white background
This is how a font and box color of #1f1a9b will look
on a white background.
#1f1a9b Color on black background
This is how a font and box color of #1f1a9b hex color will look
on a black background.