In RGB color space, #1f4a8a hex color has a red value of 31, a green value of 74 and a blue value of 138.
In CMYK color space (used in color printing), #1f4a8a hex color is composed of 77.54% cyan, 46.38% magenta, 0% yellow and 45.88% black.
#1f4a8a color has a hue of 215.9 degrees, a saturation of 63.31% and a lightness of 33.1%.
#1f4a8a hex color contains mainly BLUE.
The closest web safe color of #1f4a8a is #333399
#1f4a8a hex color has a decimal value of 2050698.
HEX | 1f4a8a | #1f4a8a |
---|---|---|
RGB | 31, 74, 138 | rgb(31, 74, 138) |
RGB Percent | 12.16, 29.02, 54.12 | rgb(12.16, 29.02, 54.12) |
CMYK | 78, 46, 0, 46 | |
HSL | 215.9°, 63.31, 33.1 | hsl(215.9, 63.31%, 33.1%) |
HSV | 215.9°, 77.5, 54.1 |
XYZ | 7.601, 7.024, 25 |
---|---|
Hunter Lab | 26.503, 4.814, -37.376 |
CIE-LAB | 31.861, 9.118, -39.948 |
CIE-LCH | 31.861, 40.975, 282.857 |
CIE-LUV | 77.54, 46.38, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #1f4a8a
CMYK percent of color #1f4a8a
Text with hexadecimal color #1f4a8a
This text has a font color of #1f4a8a
<p style="color:#1f4a8a">Text here</p>
#1f4a8a Background Color
This box has a background color of #1f4a8a
<div style="background-color:#1f4a8a">Text here</div>
#1f4a8a Border Color
This box has a border color of #1f4a8a
<div style="border: 4px solid #1f4a8a">Text here</div>
CSS codes
<p style="color:#1f4a8a">Text here</p>
<div style="background-color:#1f4a8a">Text here</div>
<div style="border: 4px solid #1f4a8a">Text here</div>
#1f4a8a Color on white background
This is how a font and box color of #1f4a8a will look
on a white background.
#1f4a8a Color on black background
This is how a font and box color of #1f4a8a hex color will look
on a black background.