In RGB color space, #1f2a9c hex color has a red value of 31, a green value of 42 and a blue value of 156.
In CMYK color space (used in color printing), #1f2a9c hex color is composed of 80.13% cyan, 73.08% magenta, 0% yellow and 38.82% black.
#1f2a9c color has a hue of 234.7 degrees, a saturation of 66.84% and a lightness of 36.7%.
#1f2a9c hex color contains mainly BLUE.
The closest web safe color of #1f2a9c is #333399
#1f2a9c hex color has a decimal value of 2042524.
HEX | 1f2a9c | #1f2a9c |
---|---|---|
RGB | 31, 42, 156 | rgb(31, 42, 156) |
RGB Percent | 12.16, 16.47, 61.18 | rgb(12.16, 16.47, 61.18) |
CMYK | 80, 73, 0, 39 | |
HSL | 234.7°, 66.84, 36.7 | hsl(234.7, 66.84%, 36.7%) |
HSV | 234.7°, 80.1, 61.2 |
XYZ | 7.394, 4.348, 31.902 |
---|---|
Hunter Lab | 20.852, 26.805, -76.114 |
CIE-LAB | 24.79, 37.625, -62.508 |
CIE-LCH | 24.79, 72.958, 301.045 |
CIE-LUV | 80.13, 73.08, 0, 38.82 |
Web Safe | 333399 |
RGB percent of color #1f2a9c
CMYK percent of color #1f2a9c
Text with hexadecimal color #1f2a9c
This text has a font color of #1f2a9c
<p style="color:#1f2a9c">Text here</p>
#1f2a9c Background Color
This box has a background color of #1f2a9c
<div style="background-color:#1f2a9c">Text here</div>
#1f2a9c Border Color
This box has a border color of #1f2a9c
<div style="border: 4px solid #1f2a9c">Text here</div>
CSS codes
<p style="color:#1f2a9c">Text here</p>
<div style="background-color:#1f2a9c">Text here</div>
<div style="border: 4px solid #1f2a9c">Text here</div>
#1f2a9c Color on white background
This is how a font and box color of #1f2a9c will look
on a white background.
#1f2a9c Color on black background
This is how a font and box color of #1f2a9c hex color will look
on a black background.