In RGB color space, #1f3398 hex color has a red value of 31, a green value of 51 and a blue value of 152.
In CMYK color space (used in color printing), #1f3398 hex color is composed of 79.61% cyan, 66.45% magenta, 0% yellow and 40.39% black.
#1f3398 color has a hue of 230.1 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f3398 hex color contains mainly BLUE.
The closest web safe color of #1f3398 is #333399
#1f3398 hex color has a decimal value of 2044824.
HEX | 1f3398 | #1f3398 |
---|---|---|
RGB | 31, 51, 152 | rgb(31, 51, 152) |
RGB Percent | 12.16, 20, 59.61 | rgb(12.16, 20, 59.61) |
CMYK | 80, 66, 0, 40 | |
HSL | 230.1°, 66.12, 35.9 | hsl(230.1, 66.12%, 35.9%) |
HSV | 230.1°, 79.6, 59.6 |
XYZ | 7.416, 4.926, 30.266 |
---|---|
Hunter Lab | 22.195, 20.803, -65.316 |
CIE-LAB | 26.523, 30.367, -57.21 |
CIE-LCH | 26.523, 64.77, 297.959 |
CIE-LUV | 79.61, 66.45, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #1f3398
CMYK percent of color #1f3398
Text with hexadecimal color #1f3398
This text has a font color of #1f3398
<p style="color:#1f3398">Text here</p>
#1f3398 Background Color
This box has a background color of #1f3398
<div style="background-color:#1f3398">Text here</div>
#1f3398 Border Color
This box has a border color of #1f3398
<div style="border: 4px solid #1f3398">Text here</div>
CSS codes
<p style="color:#1f3398">Text here</p>
<div style="background-color:#1f3398">Text here</div>
<div style="border: 4px solid #1f3398">Text here</div>
#1f3398 Color on white background
This is how a font and box color of #1f3398 will look
on a white background.
#1f3398 Color on black background
This is how a font and box color of #1f3398 hex color will look
on a black background.