In RGB color space, #1f3a9c hex color has a red value of 31, a green value of 58 and a blue value of 156.
In CMYK color space (used in color printing), #1f3a9c hex color is composed of 80.13% cyan, 62.82% magenta, 0% yellow and 38.82% black.
#1f3a9c color has a hue of 227 degrees, a saturation of 66.84% and a lightness of 36.7%.
#1f3a9c hex color contains mainly BLUE.
The closest web safe color of #1f3a9c is #333399
#1f3a9c hex color has a decimal value of 2046620.
HEX | 1f3a9c | #1f3a9c |
---|---|---|
RGB | 31, 58, 156 | rgb(31, 58, 156) |
RGB Percent | 12.16, 22.75, 61.18 | rgb(12.16, 22.75, 61.18) |
CMYK | 80, 63, 0, 39 | |
HSL | 227°, 66.84, 36.7 | hsl(227, 66.84%, 36.7%) |
HSV | 227°, 80.1, 61.2 |
XYZ | 8.079, 5.718, 32.13 |
---|---|
Hunter Lab | 23.912, 18.461, -62.927 |
CIE-LAB | 28.69, 27.214, -56.101 |
CIE-LCH | 28.69, 62.353, 295.878 |
CIE-LUV | 80.13, 62.82, 0, 38.82 |
Web Safe | 333399 |
RGB percent of color #1f3a9c
CMYK percent of color #1f3a9c
Text with hexadecimal color #1f3a9c
This text has a font color of #1f3a9c
<p style="color:#1f3a9c">Text here</p>
#1f3a9c Background Color
This box has a background color of #1f3a9c
<div style="background-color:#1f3a9c">Text here</div>
#1f3a9c Border Color
This box has a border color of #1f3a9c
<div style="border: 4px solid #1f3a9c">Text here</div>
CSS codes
<p style="color:#1f3a9c">Text here</p>
<div style="background-color:#1f3a9c">Text here</div>
<div style="border: 4px solid #1f3a9c">Text here</div>
#1f3a9c Color on white background
This is how a font and box color of #1f3a9c will look
on a white background.
#1f3a9c Color on black background
This is how a font and box color of #1f3a9c hex color will look
on a black background.