In RGB color space, #2540d2 hex color has a red value of 37, a green value of 64 and a blue value of 210.
In CMYK color space (used in color printing), #2540d2 hex color is composed of 82.38% cyan, 69.52% magenta, 0% yellow and 17.65% black.
#2540d2 color has a hue of 230.6 degrees, a saturation of 70.04% and a lightness of 48.4%.
#2540d2 hex color contains mainly BLUE.
The closest web safe color of #2540d2 is #3333cc
#2540d2 hex color has a decimal value of 2441426.
HEX | 2540d2 | #2540d2 |
---|---|---|
RGB | 37, 64, 210 | rgb(37, 64, 210) |
RGB Percent | 14.51, 25.1, 82.35 | rgb(14.51, 25.1, 82.35) |
CMYK | 82, 70, 0, 18 | |
HSL | 230.6°, 70.04, 48.4 | hsl(230.6, 70.04%, 48.4%) |
HSV | 230.6°, 82.4, 82.4 |
XYZ | 14.229, 8.713, 61.905 |
---|---|
Hunter Lab | 29.518, 34.389, -103.681 |
CIE-LAB | 35.426, 43.828, -77.021 |
CIE-LCH | 35.426, 88.618, 299.642 |
CIE-LUV | 82.38, 69.52, 0, 17.65 |
Web Safe | 3333cc |
RGB percent of color #2540d2
CMYK percent of color #2540d2
Text with hexadecimal color #2540d2
This text has a font color of #2540d2
<p style="color:#2540d2">Text here</p>
#2540d2 Background Color
This box has a background color of #2540d2
<div style="background-color:#2540d2">Text here</div>
#2540d2 Border Color
This box has a border color of #2540d2
<div style="border: 4px solid #2540d2">Text here</div>
CSS codes
<p style="color:#2540d2">Text here</p>
<div style="background-color:#2540d2">Text here</div>
<div style="border: 4px solid #2540d2">Text here</div>
#2540d2 Color on white background
This is how a font and box color of #2540d2 will look
on a white background.
#2540d2 Color on black background
This is how a font and box color of #2540d2 hex color will look
on a black background.