In RGB color space, #1f2781 hex color has a red value of 31, a green value of 39 and a blue value of 129.
In CMYK color space (used in color printing), #1f2781 hex color is composed of 75.97% cyan, 69.77% magenta, 0% yellow and 49.41% black.
#1f2781 color has a hue of 235.1 degrees, a saturation of 61.25% and a lightness of 31.4%.
#1f2781 hex color contains mainly BLUE.
The closest web safe color of #1f2781 is #333399
#1f2781 hex color has a decimal value of 2041729.
HEX | 1f2781 | #1f2781 |
---|---|---|
RGB | 31, 39, 129 | rgb(31, 39, 129) |
RGB Percent | 12.16, 15.29, 50.59 | rgb(12.16, 15.29, 50.59) |
CMYK | 76, 70, 0, 49 | |
HSL | 235.1°, 61.25, 31.4 | hsl(235.1, 61.25%, 31.4%) |
HSV | 235.1°, 76, 50.6 |
XYZ | 5.253, 3.327, 21.134 |
---|---|
Hunter Lab | 18.24, 19.487, -55.929 |
CIE-LAB | 21.309, 29.642, -51.474 |
CIE-LCH | 21.309, 59.399, 299.936 |
CIE-LUV | 75.97, 69.77, 0, 49.41 |
Web Safe | 333399 |
RGB percent of color #1f2781
CMYK percent of color #1f2781
Text with hexadecimal color #1f2781
This text has a font color of #1f2781
<p style="color:#1f2781">Text here</p>
#1f2781 Background Color
This box has a background color of #1f2781
<div style="background-color:#1f2781">Text here</div>
#1f2781 Border Color
This box has a border color of #1f2781
<div style="border: 4px solid #1f2781">Text here</div>
CSS codes
<p style="color:#1f2781">Text here</p>
<div style="background-color:#1f2781">Text here</div>
<div style="border: 4px solid #1f2781">Text here</div>
#1f2781 Color on white background
This is how a font and box color of #1f2781 will look
on a white background.
#1f2781 Color on black background
This is how a font and box color of #1f2781 hex color will look
on a black background.