In RGB color space, #1f3371 hex color has a red value of 31, a green value of 51 and a blue value of 113.
In CMYK color space (used in color printing), #1f3371 hex color is composed of 72.57% cyan, 54.87% magenta, 0% yellow and 55.69% black.
#1f3371 color has a hue of 225.4 degrees, a saturation of 56.94% and a lightness of 28.2%.
#1f3371 hex color contains mainly BLUE.
The closest web safe color of #1f3371 is #333366
#1f3371 hex color has a decimal value of 2044785.
HEX | 1f3371 | #1f3371 |
---|---|---|
RGB | 31, 51, 113 | rgb(31, 51, 113) |
RGB Percent | 12.16, 20, 44.31 | rgb(12.16, 20, 44.31) |
CMYK | 73, 55, 0, 56 | |
HSL | 225.4°, 56.94, 28.2 | hsl(225.4, 56.94%, 28.2%) |
HSV | 225.4°, 72.6, 44.3 |
XYZ | 4.73, 3.851, 16.117 |
---|---|
Hunter Lab | 19.624, 8.682, -34.958 |
CIE-LAB | 23.173, 15.065, -38.258 |
CIE-LCH | 23.173, 41.117, 291.493 |
CIE-LUV | 72.57, 54.87, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #1f3371
CMYK percent of color #1f3371
Text with hexadecimal color #1f3371
This text has a font color of #1f3371
<p style="color:#1f3371">Text here</p>
#1f3371 Background Color
This box has a background color of #1f3371
<div style="background-color:#1f3371">Text here</div>
#1f3371 Border Color
This box has a border color of #1f3371
<div style="border: 4px solid #1f3371">Text here</div>
CSS codes
<p style="color:#1f3371">Text here</p>
<div style="background-color:#1f3371">Text here</div>
<div style="border: 4px solid #1f3371">Text here</div>
#1f3371 Color on white background
This is how a font and box color of #1f3371 will look
on a white background.
#1f3371 Color on black background
This is how a font and box color of #1f3371 hex color will look
on a black background.