In RGB color space, #2540cb hex color has a red value of 37, a green value of 64 and a blue value of 203.
In CMYK color space (used in color printing), #2540cb hex color is composed of 81.77% cyan, 68.47% magenta, 0% yellow and 20.39% black.
#2540cb color has a hue of 230.2 degrees, a saturation of 69.17% and a lightness of 47.1%.
#2540cb hex color contains mainly BLUE.
The closest web safe color of #2540cb is #3333cc
#2540cb hex color has a decimal value of 2441419.
HEX | 2540cb | #2540cb |
---|---|---|
RGB | 37, 64, 203 | rgb(37, 64, 203) |
RGB Percent | 14.51, 25.1, 79.61 | rgb(14.51, 25.1, 79.61) |
CMYK | 82, 68, 0, 20 | |
HSL | 230.2°, 69.17, 47.1 | hsl(230.2, 69.17%, 47.1%) |
HSV | 230.2°, 81.8, 79.6 |
XYZ | 13.376, 8.372, 57.411 |
---|---|
Hunter Lab | 28.934, 31.883, -97.388 |
CIE-LAB | 34.746, 41.343, -74.082 |
CIE-LCH | 34.746, 84.837, 299.165 |
CIE-LUV | 81.77, 68.47, 0, 20.39 |
Web Safe | 3333cc |
RGB percent of color #2540cb
CMYK percent of color #2540cb
Text with hexadecimal color #2540cb
This text has a font color of #2540cb
<p style="color:#2540cb">Text here</p>
#2540cb Background Color
This box has a background color of #2540cb
<div style="background-color:#2540cb">Text here</div>
#2540cb Border Color
This box has a border color of #2540cb
<div style="border: 4px solid #2540cb">Text here</div>
CSS codes
<p style="color:#2540cb">Text here</p>
<div style="background-color:#2540cb">Text here</div>
<div style="border: 4px solid #2540cb">Text here</div>
#2540cb Color on white background
This is how a font and box color of #2540cb will look
on a white background.
#2540cb Color on black background
This is how a font and box color of #2540cb hex color will look
on a black background.