In RGB color space, #2a158a hex color has a red value of 42, a green value of 21 and a blue value of 138.
In CMYK color space (used in color printing), #2a158a hex color is composed of 69.57% cyan, 84.78% magenta, 0% yellow and 45.88% black.
#2a158a color has a hue of 250.8 degrees, a saturation of 73.58% and a lightness of 31.2%.
#2a158a hex color contains mainly BLUE.
The closest web safe color of #2a158a is #330099
#2a158a hex color has a decimal value of 2758026.
HEX | 2a158a | #2a158a |
---|---|---|
RGB | 42, 21, 138 | rgb(42, 21, 138) |
RGB Percent | 16.47, 8.24, 54.12 | rgb(16.47, 8.24, 54.12) |
CMYK | 70, 85, 0, 46 | |
HSL | 250.8°, 73.58, 31.2 | hsl(250.8, 73.58%, 31.2%) |
HSV | 250.8°, 84.8, 54.1 |
XYZ | 5.81, 2.864, 24.291 |
---|---|
Hunter Lab | 16.923, 31.665, -73.256 |
CIE-LAB | 19.491, 43.985, -60.108 |
CIE-LCH | 19.491, 74.483, 306.195 |
CIE-LUV | 69.57, 84.78, 0, 45.88 |
Web Safe | 330099 |
RGB percent of color #2a158a
CMYK percent of color #2a158a
Text with hexadecimal color #2a158a
This text has a font color of #2a158a
<p style="color:#2a158a">Text here</p>
#2a158a Background Color
This box has a background color of #2a158a
<div style="background-color:#2a158a">Text here</div>
#2a158a Border Color
This box has a border color of #2a158a
<div style="border: 4px solid #2a158a">Text here</div>
CSS codes
<p style="color:#2a158a">Text here</p>
<div style="background-color:#2a158a">Text here</div>
<div style="border: 4px solid #2a158a">Text here</div>
#2a158a Color on white background
This is how a font and box color of #2a158a will look
on a white background.
#2a158a Color on black background
This is how a font and box color of #2a158a hex color will look
on a black background.