In RGB color space, #1540a1 hex color has a red value of 21, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #1540a1 hex color is composed of 86.96% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#1540a1 color has a hue of 221.6 degrees, a saturation of 76.92% and a lightness of 35.7%.
#1540a1 hex color contains mainly BLUE.
The closest web safe color of #1540a1 is #003399
#1540a1 hex color has a decimal value of 1392801.
HEX | 1540a1 | #1540a1 |
---|---|---|
RGB | 21, 64, 161 | rgb(21, 64, 161) |
RGB Percent | 8.24, 25.1, 63.14 | rgb(8.24, 25.1, 63.14) |
CMYK | 87, 60, 0, 37 | |
HSL | 221.6°, 76.92, 35.7 | hsl(221.6, 76.92%, 35.7%) |
HSV | 221.6°, 87, 63.1 |
XYZ | 8.576, 6.399, 34.501 |
---|---|
Hunter Lab | 25.296, 16.247, -63.157 |
CIE-LAB | 30.398, 24.271, -56.354 |
CIE-LCH | 30.398, 61.358, 293.301 |
CIE-LUV | 86.96, 60.25, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #1540a1
CMYK percent of color #1540a1
Text with hexadecimal color #1540a1
This text has a font color of #1540a1
<p style="color:#1540a1">Text here</p>
#1540a1 Background Color
This box has a background color of #1540a1
<div style="background-color:#1540a1">Text here</div>
#1540a1 Border Color
This box has a border color of #1540a1
<div style="border: 4px solid #1540a1">Text here</div>
CSS codes
<p style="color:#1540a1">Text here</p>
<div style="background-color:#1540a1">Text here</div>
<div style="border: 4px solid #1540a1">Text here</div>
#1540a1 Color on white background
This is how a font and box color of #1540a1 will look
on a white background.
#1540a1 Color on black background
This is how a font and box color of #1540a1 hex color will look
on a black background.