In RGB color space, #1540a4 hex color has a red value of 21, a green value of 64 and a blue value of 164.
In CMYK color space (used in color printing), #1540a4 hex color is composed of 87.2% cyan, 60.98% magenta, 0% yellow and 35.69% black.
#1540a4 color has a hue of 222 degrees, a saturation of 77.3% and a lightness of 36.3%.
#1540a4 hex color contains mainly BLUE.
The closest web safe color of #1540a4 is #003399
#1540a4 hex color has a decimal value of 1392804.
HEX | 1540a4 | #1540a4 |
---|---|---|
RGB | 21, 64, 164 | rgb(21, 64, 164) |
RGB Percent | 8.24, 25.1, 64.31 | rgb(8.24, 25.1, 64.31) |
CMYK | 87, 61, 0, 36 | |
HSL | 222°, 77.3, 36.3 | hsl(222, 77.3%, 36.3%) |
HSV | 222°, 87.2, 64.3 |
XYZ | 8.843, 6.507, 35.912 |
---|---|
Hunter Lab | 25.509, 17.239, -65.614 |
CIE-LAB | 30.657, 25.455, -57.74 |
CIE-LCH | 30.657, 63.102, 293.791 |
CIE-LUV | 87.2, 60.98, 0, 35.69 |
Web Safe | 003399 |
RGB percent of color #1540a4
CMYK percent of color #1540a4
Text with hexadecimal color #1540a4
This text has a font color of #1540a4
<p style="color:#1540a4">Text here</p>
#1540a4 Background Color
This box has a background color of #1540a4
<div style="background-color:#1540a4">Text here</div>
#1540a4 Border Color
This box has a border color of #1540a4
<div style="border: 4px solid #1540a4">Text here</div>
CSS codes
<p style="color:#1540a4">Text here</p>
<div style="background-color:#1540a4">Text here</div>
<div style="border: 4px solid #1540a4">Text here</div>
#1540a4 Color on white background
This is how a font and box color of #1540a4 will look
on a white background.
#1540a4 Color on black background
This is how a font and box color of #1540a4 hex color will look
on a black background.