In RGB color space, #1f3396 hex color has a red value of 31, a green value of 51 and a blue value of 150.
In CMYK color space (used in color printing), #1f3396 hex color is composed of 79.33% cyan, 66% magenta, 0% yellow and 41.18% black.
#1f3396 color has a hue of 229.9 degrees, a saturation of 65.75% and a lightness of 35.5%.
#1f3396 hex color contains mainly BLUE.
The closest web safe color of #1f3396 is #333399
#1f3396 hex color has a decimal value of 2044822.
HEX | 1f3396 | #1f3396 |
---|---|---|
RGB | 31, 51, 150 | rgb(31, 51, 150) |
RGB Percent | 12.16, 20, 58.82 | rgb(12.16, 20, 58.82) |
CMYK | 79, 66, 0, 41 | |
HSL | 229.9°, 65.75, 35.5 | hsl(229.9, 65.75%, 35.5%) |
HSV | 229.9°, 79.3, 58.8 |
XYZ | 7.254, 4.861, 29.41 |
---|---|
Hunter Lab | 22.048, 20.146, -63.655 |
CIE-LAB | 26.335, 29.61, -56.292 |
CIE-LCH | 26.335, 63.605, 297.745 |
CIE-LUV | 79.33, 66, 0, 41.18 |
Web Safe | 333399 |
RGB percent of color #1f3396
CMYK percent of color #1f3396
Text with hexadecimal color #1f3396
This text has a font color of #1f3396
<p style="color:#1f3396">Text here</p>
#1f3396 Background Color
This box has a background color of #1f3396
<div style="background-color:#1f3396">Text here</div>
#1f3396 Border Color
This box has a border color of #1f3396
<div style="border: 4px solid #1f3396">Text here</div>
CSS codes
<p style="color:#1f3396">Text here</p>
<div style="background-color:#1f3396">Text here</div>
<div style="border: 4px solid #1f3396">Text here</div>
#1f3396 Color on white background
This is how a font and box color of #1f3396 will look
on a white background.
#1f3396 Color on black background
This is how a font and box color of #1f3396 hex color will look
on a black background.