In RGB color space, #1f3399 hex color has a red value of 31, a green value of 51 and a blue value of 153.
In CMYK color space (used in color printing), #1f3399 hex color is composed of 79.74% cyan, 66.67% magenta, 0% yellow and 40% black.
#1f3399 color has a hue of 230.2 degrees, a saturation of 66.3% and a lightness of 36.1%.
#1f3399 hex color contains mainly BLUE.
The closest web safe color of #1f3399 is #333399
#1f3399 hex color has a decimal value of 2044825.
HEX | 1f3399 | #1f3399 |
---|---|---|
RGB | 31, 51, 153 | rgb(31, 51, 153) |
RGB Percent | 12.16, 20, 60 | rgb(12.16, 20, 60) |
CMYK | 80, 67, 0, 40 | |
HSL | 230.2°, 66.3, 36.1 | hsl(230.2, 66.3%, 36.1%) |
HSV | 230.2°, 79.7, 60 |
XYZ | 7.499, 4.959, 30.699 |
---|---|
Hunter Lab | 22.269, 21.139, -66.147 |
CIE-LAB | 26.618, 30.753, -57.666 |
CIE-LCH | 26.618, 65.354, 298.071 |
CIE-LUV | 79.74, 66.67, 0, 40 |
Web Safe | 333399 |
RGB percent of color #1f3399
CMYK percent of color #1f3399
Text with hexadecimal color #1f3399
This text has a font color of #1f3399
<p style="color:#1f3399">Text here</p>
#1f3399 Background Color
This box has a background color of #1f3399
<div style="background-color:#1f3399">Text here</div>
#1f3399 Border Color
This box has a border color of #1f3399
<div style="border: 4px solid #1f3399">Text here</div>
CSS codes
<p style="color:#1f3399">Text here</p>
<div style="background-color:#1f3399">Text here</div>
<div style="border: 4px solid #1f3399">Text here</div>
#1f3399 Color on white background
This is how a font and box color of #1f3399 will look
on a white background.
#1f3399 Color on black background
This is how a font and box color of #1f3399 hex color will look
on a black background.