In RGB color space, #1f3187 hex color has a red value of 31, a green value of 49 and a blue value of 135.
In CMYK color space (used in color printing), #1f3187 hex color is composed of 77.04% cyan, 63.7% magenta, 0% yellow and 47.06% black.
#1f3187 color has a hue of 229.6 degrees, a saturation of 62.65% and a lightness of 32.5%.
#1f3187 hex color contains mainly BLUE.
The closest web safe color of #1f3187 is #333399
#1f3187 hex color has a decimal value of 2044295.
HEX | 1f3187 | #1f3187 |
---|---|---|
RGB | 31, 49, 135 | rgb(31, 49, 135) |
RGB Percent | 12.16, 19.22, 52.94 | rgb(12.16, 19.22, 52.94) |
CMYK | 77, 64, 0, 47 | |
HSL | 229.6°, 62.65, 32.5 | hsl(229.6, 62.65%, 32.5%) |
HSV | 229.6°, 77, 52.9 |
XYZ | 6.037, 4.237, 23.421 |
---|---|
Hunter Lab | 20.584, 16.33, -53.053 |
CIE-LAB | 24.44, 25.184, -50.109 |
CIE-LCH | 24.44, 56.082, 296.683 |
CIE-LUV | 77.04, 63.7, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #1f3187
CMYK percent of color #1f3187
Text with hexadecimal color #1f3187
This text has a font color of #1f3187
<p style="color:#1f3187">Text here</p>
#1f3187 Background Color
This box has a background color of #1f3187
<div style="background-color:#1f3187">Text here</div>
#1f3187 Border Color
This box has a border color of #1f3187
<div style="border: 4px solid #1f3187">Text here</div>
CSS codes
<p style="color:#1f3187">Text here</p>
<div style="background-color:#1f3187">Text here</div>
<div style="border: 4px solid #1f3187">Text here</div>
#1f3187 Color on white background
This is how a font and box color of #1f3187 will look
on a white background.
#1f3187 Color on black background
This is how a font and box color of #1f3187 hex color will look
on a black background.