In RGB color space, #1540ef hex color has a red value of 21, a green value of 64 and a blue value of 239.
In CMYK color space (used in color printing), #1540ef hex color is composed of 91.21% cyan, 73.22% magenta, 0% yellow and 6.27% black.
#1540ef color has a hue of 228.2 degrees, a saturation of 87.2% and a lightness of 51%.
#1540ef hex color contains mainly BLUE.
The closest web safe color of #1540ef is #0033ff
#1540ef hex color has a decimal value of 1392879.
HEX | 1540ef | #1540ef |
---|---|---|
RGB | 21, 64, 239 | rgb(21, 64, 239) |
RGB Percent | 8.24, 25.1, 93.73 | rgb(8.24, 25.1, 93.73) |
CMYK | 91, 73, 0, 6 | |
HSL | 228.2°, 87.2, 51 | hsl(228.2, 87.2%, 51%) |
HSV | 228.2°, 91.2, 93.7 |
XYZ | 17.723, 10.058, 82.669 |
---|---|
Hunter Lab | 31.714, 44.251, -132.35 |
CIE-LAB | 37.946, 53.124, -89.445 |
CIE-LCH | 37.946, 104.032, 300.707 |
CIE-LUV | 91.21, 73.22, 0, 6.27 |
Web Safe | 0033ff |
RGB percent of color #1540ef
CMYK percent of color #1540ef
Text with hexadecimal color #1540ef
This text has a font color of #1540ef
<p style="color:#1540ef">Text here</p>
#1540ef Background Color
This box has a background color of #1540ef
<div style="background-color:#1540ef">Text here</div>
#1540ef Border Color
This box has a border color of #1540ef
<div style="border: 4px solid #1540ef">Text here</div>
CSS codes
<p style="color:#1540ef">Text here</p>
<div style="background-color:#1540ef">Text here</div>
<div style="border: 4px solid #1540ef">Text here</div>
#1540ef Color on white background
This is how a font and box color of #1540ef will look
on a white background.
#1540ef Color on black background
This is how a font and box color of #1540ef hex color will look
on a black background.