In RGB color space, #1a1f8c hex color has a red value of 26, a green value of 31 and a blue value of 140.
In CMYK color space (used in color printing), #1a1f8c hex color is composed of 81.43% cyan, 77.86% magenta, 0% yellow and 45.1% black.
#1a1f8c color has a hue of 237.4 degrees, a saturation of 68.67% and a lightness of 32.5%.
#1a1f8c hex color contains mainly BLUE.
The closest web safe color of #1a1f8c is #333399
#1a1f8c hex color has a decimal value of 1712012.
HEX | 1a1f8c | #1a1f8c |
---|---|---|
RGB | 26, 31, 140 | rgb(26, 31, 140) |
RGB Percent | 10.2, 12.16, 54.9 | rgb(10.2, 12.16, 54.9) |
CMYK | 81, 78, 0, 45 | |
HSL | 237.4°, 68.67, 32.5 | hsl(237.4, 68.67%, 32.5%) |
HSV | 237.4°, 81.4, 54.9 |
XYZ | 5.65, 3.093, 25.11 |
---|---|
Hunter Lab | 17.587, 26.568, -72.341 |
CIE-LAB | 20.413, 38.186, -59.867 |
CIE-LCH | 20.413, 71.009, 302.532 |
CIE-LUV | 81.43, 77.86, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #1a1f8c
CMYK percent of color #1a1f8c
Text with hexadecimal color #1a1f8c
This text has a font color of #1a1f8c
<p style="color:#1a1f8c">Text here</p>
#1a1f8c Background Color
This box has a background color of #1a1f8c
<div style="background-color:#1a1f8c">Text here</div>
#1a1f8c Border Color
This box has a border color of #1a1f8c
<div style="border: 4px solid #1a1f8c">Text here</div>
CSS codes
<p style="color:#1a1f8c">Text here</p>
<div style="background-color:#1a1f8c">Text here</div>
<div style="border: 4px solid #1a1f8c">Text here</div>
#1a1f8c Color on white background
This is how a font and box color of #1a1f8c will look
on a white background.
#1a1f8c Color on black background
This is how a font and box color of #1a1f8c hex color will look
on a black background.