In RGB color space, #1540a0 hex color has a red value of 21, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #1540a0 hex color is composed of 86.88% cyan, 60% magenta, 0% yellow and 37.25% black.
#1540a0 color has a hue of 221.4 degrees, a saturation of 76.8% and a lightness of 35.5%.
#1540a0 hex color contains mainly BLUE.
The closest web safe color of #1540a0 is #003399
#1540a0 hex color has a decimal value of 1392800.
HEX | 1540a0 | #1540a0 |
---|---|---|
RGB | 21, 64, 160 | rgb(21, 64, 160) |
RGB Percent | 8.24, 25.1, 62.75 | rgb(8.24, 25.1, 62.75) |
CMYK | 87, 60, 0, 37 | |
HSL | 221.4°, 76.8, 35.5 | hsl(221.4, 76.8%, 35.5%) |
HSV | 221.4°, 86.9, 62.7 |
XYZ | 8.488, 6.364, 34.039 |
---|---|
Hunter Lab | 25.227, 15.912, -62.342 |
CIE-LAB | 30.313, 23.866, -55.889 |
CIE-LCH | 30.313, 60.771, 293.124 |
CIE-LUV | 86.88, 60, 0, 37.25 |
Web Safe | 003399 |
RGB percent of color #1540a0
CMYK percent of color #1540a0
Text with hexadecimal color #1540a0
This text has a font color of #1540a0
<p style="color:#1540a0">Text here</p>
#1540a0 Background Color
This box has a background color of #1540a0
<div style="background-color:#1540a0">Text here</div>
#1540a0 Border Color
This box has a border color of #1540a0
<div style="border: 4px solid #1540a0">Text here</div>
CSS codes
<p style="color:#1540a0">Text here</p>
<div style="background-color:#1540a0">Text here</div>
<div style="border: 4px solid #1540a0">Text here</div>
#1540a0 Color on white background
This is how a font and box color of #1540a0 will look
on a white background.
#1540a0 Color on black background
This is how a font and box color of #1540a0 hex color will look
on a black background.