In RGB color space, #1542a1 hex color has a red value of 21, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #1542a1 hex color is composed of 86.96% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#1542a1 color has a hue of 220.7 degrees, a saturation of 76.92% and a lightness of 35.7%.
#1542a1 hex color contains mainly BLUE.
The closest web safe color of #1542a1 is #003399
#1542a1 hex color has a decimal value of 1393313.
HEX | 1542a1 | #1542a1 |
---|---|---|
RGB | 21, 66, 161 | rgb(21, 66, 161) |
RGB Percent | 8.24, 25.88, 63.14 | rgb(8.24, 25.88, 63.14) |
CMYK | 87, 59, 0, 37 | |
HSL | 220.7°, 76.92, 35.7 | hsl(220.7, 76.92%, 35.7%) |
HSV | 220.7°, 87, 63.1 |
XYZ | 8.69, 6.629, 34.54 |
---|---|
Hunter Lab | 25.747, 15.19, -61.516 |
CIE-LAB | 30.947, 22.892, -55.458 |
CIE-LCH | 30.947, 59.997, 292.43 |
CIE-LUV | 86.96, 59.01, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #1542a1
CMYK percent of color #1542a1
Text with hexadecimal color #1542a1
This text has a font color of #1542a1
<p style="color:#1542a1">Text here</p>
#1542a1 Background Color
This box has a background color of #1542a1
<div style="background-color:#1542a1">Text here</div>
#1542a1 Border Color
This box has a border color of #1542a1
<div style="border: 4px solid #1542a1">Text here</div>
CSS codes
<p style="color:#1542a1">Text here</p>
<div style="background-color:#1542a1">Text here</div>
<div style="border: 4px solid #1542a1">Text here</div>
#1542a1 Color on white background
This is how a font and box color of #1542a1 will look
on a white background.
#1542a1 Color on black background
This is how a font and box color of #1542a1 hex color will look
on a black background.