In RGB color space, #2540f5 hex color has a red value of 37, a green value of 64 and a blue value of 245.
In CMYK color space (used in color printing), #2540f5 hex color is composed of 84.9% cyan, 73.88% magenta, 0% yellow and 3.92% black.
#2540f5 color has a hue of 232.2 degrees, a saturation of 91.23% and a lightness of 55.3%.
#2540f5 hex color contains mainly BLUE.
The closest web safe color of #2540f5 is #3333ff
#2540f5 hex color has a decimal value of 2441461.
HEX | 2540f5 | #2540f5 |
---|---|---|
RGB | 37, 64, 245 | rgb(37, 64, 245) |
RGB Percent | 14.51, 25.1, 96.08 | rgb(14.51, 25.1, 96.08) |
CMYK | 85, 74, 0, 4 | |
HSL | 232.2°, 91.23, 55.3 | hsl(232.2, 91.23%, 55.3%) |
HSV | 232.2°, 84.9, 96.1 |
XYZ | 19.078, 10.653, 87.437 |
---|---|
Hunter Lab | 32.639, 47.218, -135.986 |
CIE-LAB | 38.99, 55.728, -91.088 |
CIE-LCH | 38.99, 106.783, 301.458 |
CIE-LUV | 84.9, 73.88, 0, 3.92 |
Web Safe | 3333ff |
RGB percent of color #2540f5
CMYK percent of color #2540f5
Text with hexadecimal color #2540f5
This text has a font color of #2540f5
<p style="color:#2540f5">Text here</p>
#2540f5 Background Color
This box has a background color of #2540f5
<div style="background-color:#2540f5">Text here</div>
#2540f5 Border Color
This box has a border color of #2540f5
<div style="border: 4px solid #2540f5">Text here</div>
CSS codes
<p style="color:#2540f5">Text here</p>
<div style="background-color:#2540f5">Text here</div>
<div style="border: 4px solid #2540f5">Text here</div>
#2540f5 Color on white background
This is how a font and box color of #2540f5 will look
on a white background.
#2540f5 Color on black background
This is how a font and box color of #2540f5 hex color will look
on a black background.