In RGB color space, #1f157b hex color has a red value of 31, a green value of 21 and a blue value of 123.
In CMYK color space (used in color printing), #1f157b hex color is composed of 74.8% cyan, 82.93% magenta, 0% yellow and 51.76% black.
#1f157b color has a hue of 245.9 degrees, a saturation of 70.83% and a lightness of 28.2%.
#1f157b hex color contains mainly BLUE.
The closest web safe color of #1f157b is #330066
#1f157b hex color has a decimal value of 2037115.
HEX | 1f157b | #1f157b |
---|---|---|
RGB | 31, 21, 123 | rgb(31, 21, 123) |
RGB Percent | 12.16, 8.24, 48.24 | rgb(12.16, 8.24, 48.24) |
CMYK | 75, 83, 0, 52 | |
HSL | 245.9°, 70.83, 28.2 | hsl(245.9, 70.83%, 28.2%) |
HSV | 245.9°, 82.9, 48.2 |
XYZ | 4.408, 2.258, 18.942 |
---|---|
Hunter Lab | 15.027, 26.066, -64.22 |
CIE-LAB | 16.787, 38.318, -55.119 |
CIE-LCH | 16.787, 67.13, 304.807 |
CIE-LUV | 74.8, 82.93, 0, 51.76 |
Web Safe | 330066 |
RGB percent of color #1f157b
CMYK percent of color #1f157b
Text with hexadecimal color #1f157b
This text has a font color of #1f157b
<p style="color:#1f157b">Text here</p>
#1f157b Background Color
This box has a background color of #1f157b
<div style="background-color:#1f157b">Text here</div>
#1f157b Border Color
This box has a border color of #1f157b
<div style="border: 4px solid #1f157b">Text here</div>
CSS codes
<p style="color:#1f157b">Text here</p>
<div style="background-color:#1f157b">Text here</div>
<div style="border: 4px solid #1f157b">Text here</div>
#1f157b Color on white background
This is how a font and box color of #1f157b will look
on a white background.
#1f157b Color on black background
This is how a font and box color of #1f157b hex color will look
on a black background.