In RGB color space, #2540c5 hex color has a red value of 37, a green value of 64 and a blue value of 197.
In CMYK color space (used in color printing), #2540c5 hex color is composed of 81.22% cyan, 67.51% magenta, 0% yellow and 22.75% black.
#2540c5 color has a hue of 229.9 degrees, a saturation of 68.38% and a lightness of 45.9%.
#2540c5 hex color contains mainly BLUE.
The closest web safe color of #2540c5 is #3333cc
#2540c5 hex color has a decimal value of 2441413.
HEX | 2540c5 | #2540c5 |
---|---|---|
RGB | 37, 64, 197 | rgb(37, 64, 197) |
RGB Percent | 14.51, 25.1, 77.25 | rgb(14.51, 25.1, 77.25) |
CMYK | 81, 68, 0, 23 | |
HSL | 229.9°, 68.38, 45.9 | hsl(229.9, 68.38%, 45.9%) |
HSV | 229.9°, 81.2, 77.3 |
XYZ | 12.674, 8.091, 53.717 |
---|---|
Hunter Lab | 28.445, 29.755, -92.056 |
CIE-LAB | 34.172, 39.186, -71.53 |
CIE-LCH | 34.172, 81.56, 298.715 |
CIE-LUV | 81.22, 67.51, 0, 22.75 |
Web Safe | 3333cc |
RGB percent of color #2540c5
CMYK percent of color #2540c5
Text with hexadecimal color #2540c5
This text has a font color of #2540c5
<p style="color:#2540c5">Text here</p>
#2540c5 Background Color
This box has a background color of #2540c5
<div style="background-color:#2540c5">Text here</div>
#2540c5 Border Color
This box has a border color of #2540c5
<div style="border: 4px solid #2540c5">Text here</div>
CSS codes
<p style="color:#2540c5">Text here</p>
<div style="background-color:#2540c5">Text here</div>
<div style="border: 4px solid #2540c5">Text here</div>
#2540c5 Color on white background
This is how a font and box color of #2540c5 will look
on a white background.
#2540c5 Color on black background
This is how a font and box color of #2540c5 hex color will look
on a black background.