In RGB color space, #2b51a6 hex color has a red value of 43, a green value of 81 and a blue value of 166.
In CMYK color space (used in color printing), #2b51a6 hex color is composed of 74.1% cyan, 51.2% magenta, 0% yellow and 34.9% black.
#2b51a6 color has a hue of 221.5 degrees, a saturation of 58.85% and a lightness of 41%.
#2b51a6 hex color contains mainly BLUE.
The closest web safe color of #2b51a6 is #336699
#2b51a6 hex color has a decimal value of 2838950.
HEX | 2b51a6 | #2b51a6 |
---|---|---|
RGB | 43, 81, 166 | rgb(43, 81, 166) |
RGB Percent | 16.86, 31.76, 65.1 | rgb(16.86, 31.76, 65.1) |
CMYK | 74, 51, 0, 35 | |
HSL | 221.5°, 58.85, 41 | hsl(221.5, 58.85%, 41%) |
HSV | 221.5°, 74.1, 65.1 |
XYZ | 10.822, 9.152, 37.272 |
---|---|
Hunter Lab | 30.252, 10.912, -51.871 |
CIE-LAB | 36.275, 17.016, -49.777 |
CIE-LCH | 36.275, 52.605, 288.873 |
CIE-LUV | 74.1, 51.2, 0, 34.9 |
Web Safe | 336699 |
RGB percent of color #2b51a6
CMYK percent of color #2b51a6
Text with hexadecimal color #2b51a6
This text has a font color of #2b51a6
<p style="color:#2b51a6">Text here</p>
#2b51a6 Background Color
This box has a background color of #2b51a6
<div style="background-color:#2b51a6">Text here</div>
#2b51a6 Border Color
This box has a border color of #2b51a6
<div style="border: 4px solid #2b51a6">Text here</div>
CSS codes
<p style="color:#2b51a6">Text here</p>
<div style="background-color:#2b51a6">Text here</div>
<div style="border: 4px solid #2b51a6">Text here</div>
#2b51a6 Color on white background
This is how a font and box color of #2b51a6 will look
on a white background.
#2b51a6 Color on black background
This is how a font and box color of #2b51a6 hex color will look
on a black background.