In RGB color space, #1f3791 hex color has a red value of 31, a green value of 55 and a blue value of 145.
In CMYK color space (used in color printing), #1f3791 hex color is composed of 78.62% cyan, 62.07% magenta, 0% yellow and 43.14% black.
#1f3791 color has a hue of 227.4 degrees, a saturation of 64.77% and a lightness of 34.5%.
#1f3791 hex color contains mainly BLUE.
The closest web safe color of #1f3791 is #333399
#1f3791 hex color has a decimal value of 2045841.
HEX | 1f3791 | #1f3791 |
---|---|---|
RGB | 31, 55, 145 | rgb(31, 55, 145) |
RGB Percent | 12.16, 21.57, 56.86 | rgb(12.16, 21.57, 56.86) |
CMYK | 79, 62, 0, 43 | |
HSL | 227.4°, 64.77, 34.5 | hsl(227.4, 64.77%, 34.5%) |
HSV | 227.4°, 78.6, 56.9 |
XYZ | 7.042, 5.068, 27.395 |
---|---|
Hunter Lab | 22.512, 16.44, -56.391 |
CIE-LAB | 26.928, 24.969, -52.247 |
CIE-LCH | 26.928, 57.907, 295.543 |
CIE-LUV | 78.62, 62.07, 0, 43.14 |
Web Safe | 333399 |
RGB percent of color #1f3791
CMYK percent of color #1f3791
Text with hexadecimal color #1f3791
This text has a font color of #1f3791
<p style="color:#1f3791">Text here</p>
#1f3791 Background Color
This box has a background color of #1f3791
<div style="background-color:#1f3791">Text here</div>
#1f3791 Border Color
This box has a border color of #1f3791
<div style="border: 4px solid #1f3791">Text here</div>
CSS codes
<p style="color:#1f3791">Text here</p>
<div style="background-color:#1f3791">Text here</div>
<div style="border: 4px solid #1f3791">Text here</div>
#1f3791 Color on white background
This is how a font and box color of #1f3791 will look
on a white background.
#1f3791 Color on black background
This is how a font and box color of #1f3791 hex color will look
on a black background.