In RGB color space, #1540af hex color has a red value of 21, a green value of 64 and a blue value of 175.
In CMYK color space (used in color printing), #1540af hex color is composed of 88% cyan, 63.43% magenta, 0% yellow and 31.37% black.
#1540af color has a hue of 223.2 degrees, a saturation of 78.57% and a lightness of 38.4%.
#1540af hex color contains mainly BLUE.
The closest web safe color of #1540af is #003399
#1540af hex color has a decimal value of 1392815.
HEX | 1540af | #1540af |
---|---|---|
RGB | 21, 64, 175 | rgb(21, 64, 175) |
RGB Percent | 8.24, 25.1, 68.63 | rgb(8.24, 25.1, 68.63) |
CMYK | 88, 63, 0, 31 | |
HSL | 223.2°, 78.57, 38.4 | hsl(223.2, 78.57%, 38.4%) |
HSV | 223.2°, 88, 68.6 |
XYZ | 9.881, 6.921, 41.373 |
---|---|
Hunter Lab | 26.308, 21.005, -74.827 |
CIE-LAB | 31.626, 29.817, -62.746 |
CIE-LCH | 31.626, 69.47, 295.417 |
CIE-LUV | 88, 63.43, 0, 31.37 |
Web Safe | 003399 |
RGB percent of color #1540af
CMYK percent of color #1540af
Text with hexadecimal color #1540af
This text has a font color of #1540af
<p style="color:#1540af">Text here</p>
#1540af Background Color
This box has a background color of #1540af
<div style="background-color:#1540af">Text here</div>
#1540af Border Color
This box has a border color of #1540af
<div style="border: 4px solid #1540af">Text here</div>
CSS codes
<p style="color:#1540af">Text here</p>
<div style="background-color:#1540af">Text here</div>
<div style="border: 4px solid #1540af">Text here</div>
#1540af Color on white background
This is how a font and box color of #1540af will look
on a white background.
#1540af Color on black background
This is how a font and box color of #1540af hex color will look
on a black background.