In RGB color space, #2540c2 hex color has a red value of 37, a green value of 64 and a blue value of 194.
In CMYK color space (used in color printing), #2540c2 hex color is composed of 80.93% cyan, 67.01% magenta, 0% yellow and 23.92% black.
#2540c2 color has a hue of 229.7 degrees, a saturation of 67.97% and a lightness of 45.3%.
#2540c2 hex color contains mainly BLUE.
The closest web safe color of #2540c2 is #3333cc
#2540c2 hex color has a decimal value of 2441410.
HEX | 2540c2 | #2540c2 |
---|---|---|
RGB | 37, 64, 194 | rgb(37, 64, 194) |
RGB Percent | 14.51, 25.1, 76.08 | rgb(14.51, 25.1, 76.08) |
CMYK | 81, 67, 0, 24 | |
HSL | 229.7°, 67.97, 45.3 | hsl(229.7, 67.97%, 45.3%) |
HSV | 229.7°, 80.9, 76.1 |
XYZ | 12.334, 7.955, 51.924 |
---|---|
Hunter Lab | 28.205, 28.701, -89.408 |
CIE-LAB | 33.889, 38.1, -70.239 |
CIE-LCH | 33.889, 79.907, 298.477 |
CIE-LUV | 80.93, 67.01, 0, 23.92 |
Web Safe | 3333cc |
RGB percent of color #2540c2
CMYK percent of color #2540c2
Text with hexadecimal color #2540c2
This text has a font color of #2540c2
<p style="color:#2540c2">Text here</p>
#2540c2 Background Color
This box has a background color of #2540c2
<div style="background-color:#2540c2">Text here</div>
#2540c2 Border Color
This box has a border color of #2540c2
<div style="border: 4px solid #2540c2">Text here</div>
CSS codes
<p style="color:#2540c2">Text here</p>
<div style="background-color:#2540c2">Text here</div>
<div style="border: 4px solid #2540c2">Text here</div>
#2540c2 Color on white background
This is how a font and box color of #2540c2 will look
on a white background.
#2540c2 Color on black background
This is how a font and box color of #2540c2 hex color will look
on a black background.