In RGB color space, #2540a0 hex color has a red value of 37, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #2540a0 hex color is composed of 76.88% cyan, 60% magenta, 0% yellow and 37.25% black.
#2540a0 color has a hue of 226.8 degrees, a saturation of 62.44% and a lightness of 38.6%.
#2540a0 hex color contains mainly BLUE.
The closest web safe color of #2540a0 is #333399
#2540a0 hex color has a decimal value of 2441376.
HEX | 2540a0 | #2540a0 |
---|---|---|
RGB | 37, 64, 160 | rgb(37, 64, 160) |
RGB Percent | 14.51, 25.1, 62.75 | rgb(14.51, 25.1, 62.75) |
CMYK | 77, 60, 0, 37 | |
HSL | 226.8°, 62.44, 38.6 | hsl(226.8, 62.44%, 38.6%) |
HSV | 226.8°, 76.9, 62.7 |
XYZ | 8.942, 6.598, 34.06 |
---|---|
Hunter Lab | 25.687, 17.188, -60.637 |
CIE-LAB | 30.874, 25.364, -54.95 |
CIE-LCH | 30.874, 60.521, 294.777 |
CIE-LUV | 76.88, 60, 0, 37.25 |
Web Safe | 333399 |
RGB percent of color #2540a0
CMYK percent of color #2540a0
Text with hexadecimal color #2540a0
This text has a font color of #2540a0
<p style="color:#2540a0">Text here</p>
#2540a0 Background Color
This box has a background color of #2540a0
<div style="background-color:#2540a0">Text here</div>
#2540a0 Border Color
This box has a border color of #2540a0
<div style="border: 4px solid #2540a0">Text here</div>
CSS codes
<p style="color:#2540a0">Text here</p>
<div style="background-color:#2540a0">Text here</div>
<div style="border: 4px solid #2540a0">Text here</div>
#2540a0 Color on white background
This is how a font and box color of #2540a0 will look
on a white background.
#2540a0 Color on black background
This is how a font and box color of #2540a0 hex color will look
on a black background.