In RGB color space, #2540af hex color has a red value of 37, a green value of 64 and a blue value of 175.
In CMYK color space (used in color printing), #2540af hex color is composed of 78.86% cyan, 63.43% magenta, 0% yellow and 31.37% black.
#2540af color has a hue of 228.3 degrees, a saturation of 65.09% and a lightness of 41.6%.
#2540af hex color contains mainly BLUE.
The closest web safe color of #2540af is #333399
#2540af hex color has a decimal value of 2441391.
HEX | 2540af | #2540af |
---|---|---|
RGB | 37, 64, 175 | rgb(37, 64, 175) |
RGB Percent | 14.51, 25.1, 68.63 | rgb(14.51, 25.1, 68.63) |
CMYK | 79, 63, 0, 31 | |
HSL | 228.3°, 65.09, 41.6 | hsl(228.3, 65.09%, 41.6%) |
HSV | 228.3°, 78.9, 68.6 |
XYZ | 10.334, 7.155, 41.394 |
---|---|
Hunter Lab | 26.749, 22.15, -73.027 |
CIE-LAB | 32.157, 31.068, -61.855 |
CIE-LCH | 32.157, 69.219, 296.669 |
CIE-LUV | 78.86, 63.43, 0, 31.37 |
Web Safe | 333399 |
RGB percent of color #2540af
CMYK percent of color #2540af
Text with hexadecimal color #2540af
This text has a font color of #2540af
<p style="color:#2540af">Text here</p>
#2540af Background Color
This box has a background color of #2540af
<div style="background-color:#2540af">Text here</div>
#2540af Border Color
This box has a border color of #2540af
<div style="border: 4px solid #2540af">Text here</div>
CSS codes
<p style="color:#2540af">Text here</p>
<div style="background-color:#2540af">Text here</div>
<div style="border: 4px solid #2540af">Text here</div>
#2540af Color on white background
This is how a font and box color of #2540af will look
on a white background.
#2540af Color on black background
This is how a font and box color of #2540af hex color will look
on a black background.