In RGB color space, #2b157f hex color has a red value of 43, a green value of 21 and a blue value of 127.
In CMYK color space (used in color printing), #2b157f hex color is composed of 66.14% cyan, 83.46% magenta, 0% yellow and 50.2% black.
#2b157f color has a hue of 252.5 degrees, a saturation of 71.62% and a lightness of 29%.
#2b157f hex color contains mainly BLUE.
The closest web safe color of #2b157f is #330066
#2b157f hex color has a decimal value of 2823551.
HEX | 2b157f | #2b157f |
---|---|---|
RGB | 43, 21, 127 | rgb(43, 21, 127) |
RGB Percent | 16.86, 8.24, 49.8 | rgb(16.86, 8.24, 49.8) |
CMYK | 66, 83, 0, 50 | |
HSL | 252.5°, 71.62, 29 | hsl(252.5, 71.62%, 29%) |
HSV | 252.5°, 83.5, 49.8 |
XYZ | 5.095, 2.582, 20.309 |
---|---|
Hunter Lab | 16.069, 28.478, -63.688 |
CIE-LAB | 18.285, 40.744, -55.159 |
CIE-LCH | 18.285, 68.575, 306.452 |
CIE-LUV | 66.14, 83.46, 0, 50.2 |
Web Safe | 330066 |
RGB percent of color #2b157f
CMYK percent of color #2b157f
Text with hexadecimal color #2b157f
This text has a font color of #2b157f
<p style="color:#2b157f">Text here</p>
#2b157f Background Color
This box has a background color of #2b157f
<div style="background-color:#2b157f">Text here</div>
#2b157f Border Color
This box has a border color of #2b157f
<div style="border: 4px solid #2b157f">Text here</div>
CSS codes
<p style="color:#2b157f">Text here</p>
<div style="background-color:#2b157f">Text here</div>
<div style="border: 4px solid #2b157f">Text here</div>
#2b157f Color on white background
This is how a font and box color of #2b157f will look
on a white background.
#2b157f Color on black background
This is how a font and box color of #2b157f hex color will look
on a black background.