In RGB color space, #2540cf hex color has a red value of 37, a green value of 64 and a blue value of 207.
In CMYK color space (used in color printing), #2540cf hex color is composed of 82.13% cyan, 69.08% magenta, 0% yellow and 18.82% black.
#2540cf color has a hue of 230.5 degrees, a saturation of 69.67% and a lightness of 47.8%.
#2540cf hex color contains mainly BLUE.
The closest web safe color of #2540cf is #3333cc
#2540cf hex color has a decimal value of 2441423.
HEX | 2540cf | #2540cf |
---|---|---|
RGB | 37, 64, 207 | rgb(37, 64, 207) |
RGB Percent | 14.51, 25.1, 81.18 | rgb(14.51, 25.1, 81.18) |
CMYK | 82, 69, 0, 19 | |
HSL | 230.5°, 69.67, 47.8 | hsl(230.5, 69.67%, 47.8%) |
HSV | 230.5°, 82.1, 81.2 |
XYZ | 13.859, 8.565, 59.954 |
---|---|
Hunter Lab | 29.266, 33.314, -100.975 |
CIE-LAB | 35.133, 42.768, -75.766 |
CIE-LCH | 35.133, 87.003, 299.444 |
CIE-LUV | 82.13, 69.08, 0, 18.82 |
Web Safe | 3333cc |
RGB percent of color #2540cf
CMYK percent of color #2540cf
Text with hexadecimal color #2540cf
This text has a font color of #2540cf
<p style="color:#2540cf">Text here</p>
#2540cf Background Color
This box has a background color of #2540cf
<div style="background-color:#2540cf">Text here</div>
#2540cf Border Color
This box has a border color of #2540cf
<div style="border: 4px solid #2540cf">Text here</div>
CSS codes
<p style="color:#2540cf">Text here</p>
<div style="background-color:#2540cf">Text here</div>
<div style="border: 4px solid #2540cf">Text here</div>
#2540cf Color on white background
This is how a font and box color of #2540cf will look
on a white background.
#2540cf Color on black background
This is how a font and box color of #2540cf hex color will look
on a black background.