In RGB color space, #1f3a9a hex color has a red value of 31, a green value of 58 and a blue value of 154.
In CMYK color space (used in color printing), #1f3a9a hex color is composed of 79.87% cyan, 62.34% magenta, 0% yellow and 39.61% black.
#1f3a9a color has a hue of 226.8 degrees, a saturation of 66.49% and a lightness of 36.3%.
#1f3a9a hex color contains mainly BLUE.
The closest web safe color of #1f3a9a is #333399
#1f3a9a hex color has a decimal value of 2046618.
HEX | 1f3a9a | #1f3a9a |
---|---|---|
RGB | 31, 58, 154 | rgb(31, 58, 154) |
RGB Percent | 12.16, 22.75, 60.39 | rgb(12.16, 22.75, 60.39) |
CMYK | 80, 62, 0, 40 | |
HSL | 226.8°, 66.49, 36.3 | hsl(226.8, 66.49%, 36.3%) |
HSV | 226.8°, 79.9, 60.4 |
XYZ | 7.911, 5.651, 31.246 |
---|---|
Hunter Lab | 23.772, 17.802, -61.291 |
CIE-LAB | 28.514, 26.435, -55.17 |
CIE-LCH | 28.514, 61.176, 295.602 |
CIE-LUV | 79.87, 62.34, 0, 39.61 |
Web Safe | 333399 |
RGB percent of color #1f3a9a
CMYK percent of color #1f3a9a
Text with hexadecimal color #1f3a9a
This text has a font color of #1f3a9a
<p style="color:#1f3a9a">Text here</p>
#1f3a9a Background Color
This box has a background color of #1f3a9a
<div style="background-color:#1f3a9a">Text here</div>
#1f3a9a Border Color
This box has a border color of #1f3a9a
<div style="border: 4px solid #1f3a9a">Text here</div>
CSS codes
<p style="color:#1f3a9a">Text here</p>
<div style="background-color:#1f3a9a">Text here</div>
<div style="border: 4px solid #1f3a9a">Text here</div>
#1f3a9a Color on white background
This is how a font and box color of #1f3a9a will look
on a white background.
#1f3a9a Color on black background
This is how a font and box color of #1f3a9a hex color will look
on a black background.