In RGB color space, #2542a1 hex color has a red value of 37, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #2542a1 hex color is composed of 77.02% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#2542a1 color has a hue of 226 degrees, a saturation of 62.63% and a lightness of 38.8%.
#2542a1 hex color contains mainly BLUE.
The closest web safe color of #2542a1 is #333399
#2542a1 hex color has a decimal value of 2441889.
HEX | 2542a1 | #2542a1 |
---|---|---|
RGB | 37, 66, 161 | rgb(37, 66, 161) |
RGB Percent | 14.51, 25.88, 63.14 | rgb(14.51, 25.88, 63.14) |
CMYK | 77, 59, 0, 37 | |
HSL | 226°, 62.63, 38.8 | hsl(226, 62.63%, 38.8%) |
HSV | 226°, 77, 63.1 |
XYZ | 9.144, 6.863, 34.561 |
---|---|
Hunter Lab | 26.197, 16.459, -59.881 |
CIE-LAB | 31.493, 24.395, -54.544 |
CIE-LCH | 31.493, 59.751, 294.097 |
CIE-LUV | 77.02, 59.01, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2542a1
CMYK percent of color #2542a1
Text with hexadecimal color #2542a1
This text has a font color of #2542a1
<p style="color:#2542a1">Text here</p>
#2542a1 Background Color
This box has a background color of #2542a1
<div style="background-color:#2542a1">Text here</div>
#2542a1 Border Color
This box has a border color of #2542a1
<div style="border: 4px solid #2542a1">Text here</div>
CSS codes
<p style="color:#2542a1">Text here</p>
<div style="background-color:#2542a1">Text here</div>
<div style="border: 4px solid #2542a1">Text here</div>
#2542a1 Color on white background
This is how a font and box color of #2542a1 will look
on a white background.
#2542a1 Color on black background
This is how a font and box color of #2542a1 hex color will look
on a black background.