In RGB color space, #1542a2 hex color has a red value of 21, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #1542a2 hex color is composed of 87.04% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#1542a2 color has a hue of 220.9 degrees, a saturation of 77.05% and a lightness of 35.9%.
#1542a2 hex color contains mainly BLUE.
The closest web safe color of #1542a2 is #003399
#1542a2 hex color has a decimal value of 1393314.
HEX | 1542a2 | #1542a2 |
---|---|---|
RGB | 21, 66, 162 | rgb(21, 66, 162) |
RGB Percent | 8.24, 25.88, 63.53 | rgb(8.24, 25.88, 63.53) |
CMYK | 87, 59, 0, 36 | |
HSL | 220.9°, 77.05, 35.9 | hsl(220.9, 77.05%, 35.9%) |
HSV | 220.9°, 87, 63.5 |
XYZ | 8.779, 6.664, 35.006 |
---|---|
Hunter Lab | 25.815, 15.528, -62.33 |
CIE-LAB | 31.029, 23.303, -55.926 |
CIE-LCH | 31.029, 60.587, 292.62 |
CIE-LUV | 87.04, 59.26, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #1542a2
CMYK percent of color #1542a2
Text with hexadecimal color #1542a2
This text has a font color of #1542a2
<p style="color:#1542a2">Text here</p>
#1542a2 Background Color
This box has a background color of #1542a2
<div style="background-color:#1542a2">Text here</div>
#1542a2 Border Color
This box has a border color of #1542a2
<div style="border: 4px solid #1542a2">Text here</div>
CSS codes
<p style="color:#1542a2">Text here</p>
<div style="background-color:#1542a2">Text here</div>
<div style="border: 4px solid #1542a2">Text here</div>
#1542a2 Color on white background
This is how a font and box color of #1542a2 will look
on a white background.
#1542a2 Color on black background
This is how a font and box color of #1542a2 hex color will look
on a black background.