In RGB color space, #1f2f8b hex color has a red value of 31, a green value of 47 and a blue value of 139.
In CMYK color space (used in color printing), #1f2f8b hex color is composed of 77.7% cyan, 66.19% magenta, 0% yellow and 45.49% black.
#1f2f8b color has a hue of 231.1 degrees, a saturation of 63.53% and a lightness of 33.3%.
#1f2f8b hex color contains mainly BLUE.
The closest web safe color of #1f2f8b is #333399
#1f2f8b hex color has a decimal value of 2043787.
HEX | 1f2f8b | #1f2f8b |
---|---|---|
RGB | 31, 47, 139 | rgb(31, 47, 139) |
RGB Percent | 12.16, 18.43, 54.51 | rgb(12.16, 18.43, 54.51) |
CMYK | 78, 66, 0, 45 | |
HSL | 231.1°, 63.53, 33.3 | hsl(231.1, 63.53%, 33.3%) |
HSV | 231.1°, 77.7, 54.5 |
XYZ | 6.242, 4.188, 24.906 |
---|---|
Hunter Lab | 20.465, 18.632, -57.832 |
CIE-LAB | 24.283, 28.092, -52.86 |
CIE-LCH | 24.283, 59.861, 297.988 |
CIE-LUV | 77.7, 66.19, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #1f2f8b
CMYK percent of color #1f2f8b
Text with hexadecimal color #1f2f8b
This text has a font color of #1f2f8b
<p style="color:#1f2f8b">Text here</p>
#1f2f8b Background Color
This box has a background color of #1f2f8b
<div style="background-color:#1f2f8b">Text here</div>
#1f2f8b Border Color
This box has a border color of #1f2f8b
<div style="border: 4px solid #1f2f8b">Text here</div>
CSS codes
<p style="color:#1f2f8b">Text here</p>
<div style="background-color:#1f2f8b">Text here</div>
<div style="border: 4px solid #1f2f8b">Text here</div>
#1f2f8b Color on white background
This is how a font and box color of #1f2f8b will look
on a white background.
#1f2f8b Color on black background
This is how a font and box color of #1f2f8b hex color will look
on a black background.