In RGB color space, #1f4f9f hex color has a red value of 31, a green value of 79 and a blue value of 159.
In CMYK color space (used in color printing), #1f4f9f hex color is composed of 80.5% cyan, 50.31% magenta, 0% yellow and 37.65% black.
#1f4f9f color has a hue of 217.5 degrees, a saturation of 67.37% and a lightness of 37.3%.
#1f4f9f hex color contains mainly BLUE.
The closest web safe color of #1f4f9f is #336699
#1f4f9f hex color has a decimal value of 2051999.
HEX | 1f4f9f | #1f4f9f |
---|---|---|
RGB | 31, 79, 159 | rgb(31, 79, 159) |
RGB Percent | 12.16, 30.98, 62.35 | rgb(12.16, 30.98, 62.35) |
CMYK | 81, 50, 0, 38 | |
HSL | 217.5°, 67.37, 37.3 | hsl(217.5, 67.37%, 37.3%) |
HSV | 217.5°, 80.5, 62.4 |
XYZ | 9.619, 8.386, 33.913 |
---|---|
Hunter Lab | 28.959, 8.614, -49.163 |
CIE-LAB | 34.774, 14.152, -48.029 |
CIE-LCH | 34.774, 50.071, 286.418 |
CIE-LUV | 80.5, 50.31, 0, 37.65 |
Web Safe | 336699 |
RGB percent of color #1f4f9f
CMYK percent of color #1f4f9f
Text with hexadecimal color #1f4f9f
This text has a font color of #1f4f9f
<p style="color:#1f4f9f">Text here</p>
#1f4f9f Background Color
This box has a background color of #1f4f9f
<div style="background-color:#1f4f9f">Text here</div>
#1f4f9f Border Color
This box has a border color of #1f4f9f
<div style="border: 4px solid #1f4f9f">Text here</div>
CSS codes
<p style="color:#1f4f9f">Text here</p>
<div style="background-color:#1f4f9f">Text here</div>
<div style="border: 4px solid #1f4f9f">Text here</div>
#1f4f9f Color on white background
This is how a font and box color of #1f4f9f will look
on a white background.
#1f4f9f Color on black background
This is how a font and box color of #1f4f9f hex color will look
on a black background.