In RGB color space, #2a157b hex color has a red value of 42, a green value of 21 and a blue value of 123.
In CMYK color space (used in color printing), #2a157b hex color is composed of 65.85% cyan, 82.93% magenta, 0% yellow and 51.76% black.
#2a157b color has a hue of 252.4 degrees, a saturation of 70.83% and a lightness of 28.2%.
#2a157b hex color contains mainly BLUE.
The closest web safe color of #2a157b is #330066
#2a157b hex color has a decimal value of 2758011.
HEX | 2a157b | #2a157b |
---|---|---|
RGB | 42, 21, 123 | rgb(42, 21, 123) |
RGB Percent | 16.47, 8.24, 48.24 | rgb(16.47, 8.24, 48.24) |
CMYK | 66, 83, 0, 52 | |
HSL | 252.4°, 70.83, 28.2 | hsl(252.4, 70.83%, 28.2%) |
HSV | 252.4°, 82.9, 48.2 |
XYZ | 4.798, 2.459, 18.961 |
---|---|
Hunter Lab | 15.681, 27.174, -60.714 |
CIE-LAB | 17.732, 39.392, -53.527 |
CIE-LCH | 17.732, 66.46, 306.35 |
CIE-LUV | 65.85, 82.93, 0, 51.76 |
Web Safe | 330066 |
RGB percent of color #2a157b
CMYK percent of color #2a157b
Text with hexadecimal color #2a157b
This text has a font color of #2a157b
<p style="color:#2a157b">Text here</p>
#2a157b Background Color
This box has a background color of #2a157b
<div style="background-color:#2a157b">Text here</div>
#2a157b Border Color
This box has a border color of #2a157b
<div style="border: 4px solid #2a157b">Text here</div>
CSS codes
<p style="color:#2a157b">Text here</p>
<div style="background-color:#2a157b">Text here</div>
<div style="border: 4px solid #2a157b">Text here</div>
#2a157b Color on white background
This is how a font and box color of #2a157b will look
on a white background.
#2a157b Color on black background
This is how a font and box color of #2a157b hex color will look
on a black background.