In RGB color space, #1f4f9c hex color has a red value of 31, a green value of 79 and a blue value of 156.
In CMYK color space (used in color printing), #1f4f9c hex color is composed of 80.13% cyan, 49.36% magenta, 0% yellow and 38.82% black.
#1f4f9c color has a hue of 217 degrees, a saturation of 66.84% and a lightness of 36.7%.
#1f4f9c hex color contains mainly BLUE.
The closest web safe color of #1f4f9c is #336699
#1f4f9c hex color has a decimal value of 2051996.
HEX | 1f4f9c | #1f4f9c |
---|---|---|
RGB | 31, 79, 156 | rgb(31, 79, 156) |
RGB Percent | 12.16, 30.98, 61.18 | rgb(12.16, 30.98, 61.18) |
CMYK | 80, 49, 0, 39 | |
HSL | 217°, 66.84, 36.7 | hsl(217, 66.84%, 36.7%) |
HSV | 217°, 80.1, 61.2 |
XYZ | 9.362, 8.284, 32.558 |
---|---|
Hunter Lab | 28.782, 7.693, -46.921 |
CIE-LAB | 34.567, 12.949, -46.555 |
CIE-LCH | 34.567, 48.322, 285.544 |
CIE-LUV | 80.13, 49.36, 0, 38.82 |
Web Safe | 336699 |
RGB percent of color #1f4f9c
CMYK percent of color #1f4f9c
Text with hexadecimal color #1f4f9c
This text has a font color of #1f4f9c
<p style="color:#1f4f9c">Text here</p>
#1f4f9c Background Color
This box has a background color of #1f4f9c
<div style="background-color:#1f4f9c">Text here</div>
#1f4f9c Border Color
This box has a border color of #1f4f9c
<div style="border: 4px solid #1f4f9c">Text here</div>
CSS codes
<p style="color:#1f4f9c">Text here</p>
<div style="background-color:#1f4f9c">Text here</div>
<div style="border: 4px solid #1f4f9c">Text here</div>
#1f4f9c Color on white background
This is how a font and box color of #1f4f9c will look
on a white background.
#1f4f9c Color on black background
This is how a font and box color of #1f4f9c hex color will look
on a black background.