In RGB color space, #1f187e hex color has a red value of 31, a green value of 24 and a blue value of 126.
In CMYK color space (used in color printing), #1f187e hex color is composed of 75.4% cyan, 80.95% magenta, 0% yellow and 50.59% black.
#1f187e color has a hue of 244.1 degrees, a saturation of 68% and a lightness of 29.4%.
#1f187e hex color contains mainly BLUE.
The closest web safe color of #1f187e is #330066
#1f187e hex color has a decimal value of 2037886.
HEX | 1f187e | #1f187e |
---|---|---|
RGB | 31, 24, 126 | rgb(31, 24, 126) |
RGB Percent | 12.16, 9.41, 49.41 | rgb(12.16, 9.41, 49.41) |
CMYK | 75, 81, 0, 51 | |
HSL | 244.1°, 68, 29.4 | hsl(244.1, 68%, 29.4%) |
HSV | 244.1°, 81, 49.4 |
XYZ | 4.658, 2.451, 19.966 |
---|---|
Hunter Lab | 15.656, 25.711, -64.655 |
CIE-LAB | 17.696, 37.735, -55.529 |
CIE-LCH | 17.696, 67.137, 304.198 |
CIE-LUV | 75.4, 80.95, 0, 50.59 |
Web Safe | 330066 |
RGB percent of color #1f187e
CMYK percent of color #1f187e
Text with hexadecimal color #1f187e
This text has a font color of #1f187e
<p style="color:#1f187e">Text here</p>
#1f187e Background Color
This box has a background color of #1f187e
<div style="background-color:#1f187e">Text here</div>
#1f187e Border Color
This box has a border color of #1f187e
<div style="border: 4px solid #1f187e">Text here</div>
CSS codes
<p style="color:#1f187e">Text here</p>
<div style="background-color:#1f187e">Text here</div>
<div style="border: 4px solid #1f187e">Text here</div>
#1f187e Color on white background
This is how a font and box color of #1f187e will look
on a white background.
#1f187e Color on black background
This is how a font and box color of #1f187e hex color will look
on a black background.