In RGB color space, #1f5fa1 hex color has a red value of 31, a green value of 95 and a blue value of 161.
In CMYK color space (used in color printing), #1f5fa1 hex color is composed of 80.75% cyan, 40.99% magenta, 0% yellow and 36.86% black.
#1f5fa1 color has a hue of 210.5 degrees, a saturation of 67.71% and a lightness of 37.6%.
#1f5fa1 hex color contains mainly BLUE.
The closest web safe color of #1f5fa1 is #336699
#1f5fa1 hex color has a decimal value of 2056097.
HEX | 1f5fa1 | #1f5fa1 |
---|---|---|
RGB | 31, 95, 161 | rgb(31, 95, 161) |
RGB Percent | 12.16, 37.25, 63.14 | rgb(12.16, 37.25, 63.14) |
CMYK | 81, 41, 0, 37 | |
HSL | 210.5°, 67.71, 37.6 | hsl(210.5, 67.71%, 37.6%) |
HSV | 210.5°, 80.7, 63.1 |
XYZ | 11.09, 11.049, 35.266 |
---|---|
Hunter Lab | 33.24, 1.384, -39.636 |
CIE-LAB | 39.663, 4.399, -41.38 |
CIE-LCH | 39.663, 41.613, 276.068 |
CIE-LUV | 80.75, 40.99, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #1f5fa1
CMYK percent of color #1f5fa1
Text with hexadecimal color #1f5fa1
This text has a font color of #1f5fa1
<p style="color:#1f5fa1">Text here</p>
#1f5fa1 Background Color
This box has a background color of #1f5fa1
<div style="background-color:#1f5fa1">Text here</div>
#1f5fa1 Border Color
This box has a border color of #1f5fa1
<div style="border: 4px solid #1f5fa1">Text here</div>
CSS codes
<p style="color:#1f5fa1">Text here</p>
<div style="background-color:#1f5fa1">Text here</div>
<div style="border: 4px solid #1f5fa1">Text here</div>
#1f5fa1 Color on white background
This is how a font and box color of #1f5fa1 will look
on a white background.
#1f5fa1 Color on black background
This is how a font and box color of #1f5fa1 hex color will look
on a black background.