In RGB color space, #2540d8 hex color has a red value of 37, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #2540d8 hex color is composed of 82.87% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#2540d8 color has a hue of 230.9 degrees, a saturation of 70.75% and a lightness of 49.6%.
#2540d8 hex color contains mainly BLUE.
The closest web safe color of #2540d8 is #3333cc
#2540d8 hex color has a decimal value of 2441432.
HEX | 2540d8 | #2540d8 |
---|---|---|
RGB | 37, 64, 216 | rgb(37, 64, 216) |
RGB Percent | 14.51, 25.1, 84.71 | rgb(14.51, 25.1, 84.71) |
CMYK | 83, 70, 0, 15 | |
HSL | 230.9°, 70.75, 49.6 | hsl(230.9, 70.75%, 49.6%) |
HSV | 230.9°, 82.9, 84.7 |
XYZ | 14.991, 9.018, 65.916 |
---|---|
Hunter Lab | 30.03, 36.555, -109.121 |
CIE-LAB | 36.019, 45.928, -79.502 |
CIE-LCH | 36.019, 91.815, 300.015 |
CIE-LUV | 82.87, 70.37, 0, 15.29 |
Web Safe | 3333cc |
RGB percent of color #2540d8
CMYK percent of color #2540d8
Text with hexadecimal color #2540d8
This text has a font color of #2540d8
<p style="color:#2540d8">Text here</p>
#2540d8 Background Color
This box has a background color of #2540d8
<div style="background-color:#2540d8">Text here</div>
#2540d8 Border Color
This box has a border color of #2540d8
<div style="border: 4px solid #2540d8">Text here</div>
CSS codes
<p style="color:#2540d8">Text here</p>
<div style="background-color:#2540d8">Text here</div>
<div style="border: 4px solid #2540d8">Text here</div>
#2540d8 Color on white background
This is how a font and box color of #2540d8 will look
on a white background.
#2540d8 Color on black background
This is how a font and box color of #2540d8 hex color will look
on a black background.