In RGB color space, #1f3057 hex color has a red value of 31, a green value of 48 and a blue value of 87.
In CMYK color space (used in color printing), #1f3057 hex color is composed of 64.37% cyan, 44.83% magenta, 0% yellow and 65.88% black.
#1f3057 color has a hue of 221.8 degrees, a saturation of 47.46% and a lightness of 23.1%.
#1f3057 hex color contains mainly BLUE.
The closest web safe color of #1f3057 is #333366
#1f3057 hex color has a decimal value of 2043991.
HEX | 1f3057 | #1f3057 |
---|---|---|
RGB | 31, 48, 87 | rgb(31, 48, 87) |
RGB Percent | 12.16, 18.82, 34.12 | rgb(12.16, 18.82, 34.12) |
CMYK | 64, 45, 0, 66 | |
HSL | 221.8°, 47.46, 23.1 | hsl(221.8, 47.46%, 23.1%) |
HSV | 221.8°, 64.4, 34.1 |
XYZ | 3.342, 3.093, 9.438 |
---|---|
Hunter Lab | 17.587, 3.143, -19.507 |
CIE-LAB | 20.413, 6.854, -25.732 |
CIE-LCH | 20.413, 26.629, 284.915 |
CIE-LUV | 64.37, 44.83, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #1f3057
CMYK percent of color #1f3057
Text with hexadecimal color #1f3057
This text has a font color of #1f3057
<p style="color:#1f3057">Text here</p>
#1f3057 Background Color
This box has a background color of #1f3057
<div style="background-color:#1f3057">Text here</div>
#1f3057 Border Color
This box has a border color of #1f3057
<div style="border: 4px solid #1f3057">Text here</div>
CSS codes
<p style="color:#1f3057">Text here</p>
<div style="background-color:#1f3057">Text here</div>
<div style="border: 4px solid #1f3057">Text here</div>
#1f3057 Color on white background
This is how a font and box color of #1f3057 will look
on a white background.
#1f3057 Color on black background
This is how a font and box color of #1f3057 hex color will look
on a black background.