In RGB color space, #1f5a9c hex color has a red value of 31, a green value of 90 and a blue value of 156.
In CMYK color space (used in color printing), #1f5a9c hex color is composed of 80.13% cyan, 42.31% magenta, 0% yellow and 38.82% black.
#1f5a9c color has a hue of 211.7 degrees, a saturation of 66.84% and a lightness of 36.7%.
#1f5a9c hex color contains mainly BLUE.
The closest web safe color of #1f5a9c is #336699
#1f5a9c hex color has a decimal value of 2054812.
HEX | 1f5a9c | #1f5a9c |
---|---|---|
RGB | 31, 90, 156 | rgb(31, 90, 156) |
RGB Percent | 12.16, 35.29, 61.18 | rgb(12.16, 35.29, 61.18) |
CMYK | 80, 42, 0, 39 | |
HSL | 211.7°, 66.84, 36.7 | hsl(211.7, 66.84%, 36.7%) |
HSV | 211.7°, 80.1, 61.2 |
XYZ | 10.222, 10.004, 32.845 |
---|---|
Hunter Lab | 31.629, 2.337, -39.429 |
CIE-LAB | 37.85, 5.666, -41.288 |
CIE-LCH | 37.85, 41.675, 277.814 |
CIE-LUV | 80.13, 42.31, 0, 38.82 |
Web Safe | 336699 |
RGB percent of color #1f5a9c
CMYK percent of color #1f5a9c
Text with hexadecimal color #1f5a9c
This text has a font color of #1f5a9c
<p style="color:#1f5a9c">Text here</p>
#1f5a9c Background Color
This box has a background color of #1f5a9c
<div style="background-color:#1f5a9c">Text here</div>
#1f5a9c Border Color
This box has a border color of #1f5a9c
<div style="border: 4px solid #1f5a9c">Text here</div>
CSS codes
<p style="color:#1f5a9c">Text here</p>
<div style="background-color:#1f5a9c">Text here</div>
<div style="border: 4px solid #1f5a9c">Text here</div>
#1f5a9c Color on white background
This is how a font and box color of #1f5a9c will look
on a white background.
#1f5a9c Color on black background
This is how a font and box color of #1f5a9c hex color will look
on a black background.