In RGB color space, #1f1b7b hex color has a red value of 31, a green value of 27 and a blue value of 123.
In CMYK color space (used in color printing), #1f1b7b hex color is composed of 74.8% cyan, 78.05% magenta, 0% yellow and 51.76% black.
#1f1b7b color has a hue of 242.5 degrees, a saturation of 64% and a lightness of 29.4%.
#1f1b7b hex color contains mainly BLUE.
The closest web safe color of #1f1b7b is #333366
#1f1b7b hex color has a decimal value of 2038651.
HEX | 1f1b7b | #1f1b7b |
---|---|---|
RGB | 31, 27, 123 | rgb(31, 27, 123) |
RGB Percent | 12.16, 10.59, 48.24 | rgb(12.16, 10.59, 48.24) |
CMYK | 75, 78, 0, 52 | |
HSL | 242.5°, 64, 29.4 | hsl(242.5, 64%, 29.4%) |
HSV | 242.5°, 78, 48.2 |
XYZ | 4.532, 2.505, 18.984 |
---|---|
Hunter Lab | 15.827, 23.415, -60.037 |
CIE-LAB | 17.941, 35.011, -53.211 |
CIE-LCH | 17.941, 63.696, 303.344 |
CIE-LUV | 74.8, 78.05, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #1f1b7b
CMYK percent of color #1f1b7b
Text with hexadecimal color #1f1b7b
This text has a font color of #1f1b7b
<p style="color:#1f1b7b">Text here</p>
#1f1b7b Background Color
This box has a background color of #1f1b7b
<div style="background-color:#1f1b7b">Text here</div>
#1f1b7b Border Color
This box has a border color of #1f1b7b
<div style="border: 4px solid #1f1b7b">Text here</div>
CSS codes
<p style="color:#1f1b7b">Text here</p>
<div style="background-color:#1f1b7b">Text here</div>
<div style="border: 4px solid #1f1b7b">Text here</div>
#1f1b7b Color on white background
This is how a font and box color of #1f1b7b will look
on a white background.
#1f1b7b Color on black background
This is how a font and box color of #1f1b7b hex color will look
on a black background.