In RGB color space, #1f3387 hex color has a red value of 31, a green value of 51 and a blue value of 135.
In CMYK color space (used in color printing), #1f3387 hex color is composed of 77.04% cyan, 62.22% magenta, 0% yellow and 47.06% black.
#1f3387 color has a hue of 228.5 degrees, a saturation of 62.65% and a lightness of 32.5%.
#1f3387 hex color contains mainly BLUE.
The closest web safe color of #1f3387 is #333399
#1f3387 hex color has a decimal value of 2044807.
HEX | 1f3387 | #1f3387 |
---|---|---|
RGB | 31, 51, 135 | rgb(31, 51, 135) |
RGB Percent | 12.16, 20, 52.94 | rgb(12.16, 20, 52.94) |
CMYK | 77, 62, 0, 47 | |
HSL | 228.5°, 62.65, 32.5 | hsl(228.5, 62.65%, 32.5%) |
HSV | 228.5°, 77, 52.9 |
XYZ | 6.122, 4.408, 23.45 |
---|---|
Hunter Lab | 20.995, 15.307, -51.526 |
CIE-LAB | 24.977, 23.802, -49.233 |
CIE-LCH | 24.977, 54.685, 295.802 |
CIE-LUV | 77.04, 62.22, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #1f3387
CMYK percent of color #1f3387
Text with hexadecimal color #1f3387
This text has a font color of #1f3387
<p style="color:#1f3387">Text here</p>
#1f3387 Background Color
This box has a background color of #1f3387
<div style="background-color:#1f3387">Text here</div>
#1f3387 Border Color
This box has a border color of #1f3387
<div style="border: 4px solid #1f3387">Text here</div>
CSS codes
<p style="color:#1f3387">Text here</p>
<div style="background-color:#1f3387">Text here</div>
<div style="border: 4px solid #1f3387">Text here</div>
#1f3387 Color on white background
This is how a font and box color of #1f3387 will look
on a white background.
#1f3387 Color on black background
This is how a font and box color of #1f3387 hex color will look
on a black background.