In RGB color space, #1f3999 hex color has a red value of 31, a green value of 57 and a blue value of 153.
In CMYK color space (used in color printing), #1f3999 hex color is composed of 79.74% cyan, 62.75% magenta, 0% yellow and 40% black.
#1f3999 color has a hue of 227.2 degrees, a saturation of 66.3% and a lightness of 36.1%.
#1f3999 hex color contains mainly BLUE.
The closest web safe color of #1f3999 is #333399
#1f3999 hex color has a decimal value of 2046361.
HEX | 1f3999 | #1f3999 |
---|---|---|
RGB | 31, 57, 153 | rgb(31, 57, 153) |
RGB Percent | 12.16, 22.35, 60 | rgb(12.16, 22.35, 60) |
CMYK | 80, 63, 0, 40 | |
HSL | 227.2°, 66.3, 36.1 | hsl(227.2, 66.3%, 36.1%) |
HSV | 227.2°, 79.7, 60 |
XYZ | 7.778, 5.517, 30.792 |
---|---|
Hunter Lab | 23.488, 18.005, -61.284 |
CIE-LAB | 28.16, 26.733, -55.14 |
CIE-LCH | 28.16, 61.279, 295.865 |
CIE-LUV | 79.74, 62.75, 0, 40 |
Web Safe | 333399 |
RGB percent of color #1f3999
CMYK percent of color #1f3999
Text with hexadecimal color #1f3999
This text has a font color of #1f3999
<p style="color:#1f3999">Text here</p>
#1f3999 Background Color
This box has a background color of #1f3999
<div style="background-color:#1f3999">Text here</div>
#1f3999 Border Color
This box has a border color of #1f3999
<div style="border: 4px solid #1f3999">Text here</div>
CSS codes
<p style="color:#1f3999">Text here</p>
<div style="background-color:#1f3999">Text here</div>
<div style="border: 4px solid #1f3999">Text here</div>
#1f3999 Color on white background
This is how a font and box color of #1f3999 will look
on a white background.
#1f3999 Color on black background
This is how a font and box color of #1f3999 hex color will look
on a black background.