In RGB color space, #1f157a hex color has a red value of 31, a green value of 21 and a blue value of 122.
In CMYK color space (used in color printing), #1f157a hex color is composed of 74.59% cyan, 82.79% magenta, 0% yellow and 52.16% black.
#1f157a color has a hue of 245.9 degrees, a saturation of 70.63% and a lightness of 28%.
#1f157a hex color contains mainly BLUE.
The closest web safe color of #1f157a is #330066
#1f157a hex color has a decimal value of 2037114.
HEX | 1f157a | #1f157a |
---|---|---|
RGB | 31, 21, 122 | rgb(31, 21, 122) |
RGB Percent | 12.16, 8.24, 47.84 | rgb(12.16, 8.24, 47.84) |
CMYK | 75, 83, 0, 52 | |
HSL | 245.9°, 70.63, 28 | hsl(245.9, 70.63%, 28%) |
HSV | 245.9°, 82.8, 47.8 |
XYZ | 4.346, 2.233, 18.614 |
---|---|
Hunter Lab | 14.943, 25.763, -63.394 |
CIE-LAB | 16.665, 37.995, -54.68 |
CIE-LCH | 16.665, 66.585, 304.794 |
CIE-LUV | 74.59, 82.79, 0, 52.16 |
Web Safe | 330066 |
RGB percent of color #1f157a
CMYK percent of color #1f157a
Text with hexadecimal color #1f157a
This text has a font color of #1f157a
<p style="color:#1f157a">Text here</p>
#1f157a Background Color
This box has a background color of #1f157a
<div style="background-color:#1f157a">Text here</div>
#1f157a Border Color
This box has a border color of #1f157a
<div style="border: 4px solid #1f157a">Text here</div>
CSS codes
<p style="color:#1f157a">Text here</p>
<div style="background-color:#1f157a">Text here</div>
<div style="border: 4px solid #1f157a">Text here</div>
#1f157a Color on white background
This is how a font and box color of #1f157a will look
on a white background.
#1f157a Color on black background
This is how a font and box color of #1f157a hex color will look
on a black background.