In RGB color space, #2f21b0 hex color has a red value of 47, a green value of 33 and a blue value of 176.
In CMYK color space (used in color printing), #2f21b0 hex color is composed of 73.3% cyan, 81.25% magenta, 0% yellow and 30.98% black.
#2f21b0 color has a hue of 245.9 degrees, a saturation of 68.42% and a lightness of 41%.
#2f21b0 hex color contains mainly BLUE.
The closest web safe color of #2f21b0 is #333399
#2f21b0 hex color has a decimal value of 3088816.
HEX | 2f21b0 | #2f21b0 |
---|---|---|
RGB | 47, 33, 176 | rgb(47, 33, 176) |
RGB Percent | 18.43, 12.94, 69.02 | rgb(18.43, 12.94, 69.02) |
CMYK | 73, 81, 0, 31 | |
HSL | 245.9°, 68.42, 41 | hsl(245.9, 68.42%, 41%) |
HSV | 245.9°, 81.3, 69 |
XYZ | 9.553, 4.827, 41.502 |
---|---|
Hunter Lab | 21.97, 39.166, -96.619 |
CIE-LAB | 26.236, 50.42, -72.19 |
CIE-LCH | 26.236, 88.054, 304.932 |
CIE-LUV | 73.3, 81.25, 0, 30.98 |
Web Safe | 333399 |
RGB percent of color #2f21b0
CMYK percent of color #2f21b0
Text with hexadecimal color #2f21b0
This text has a font color of #2f21b0
<p style="color:#2f21b0">Text here</p>
#2f21b0 Background Color
This box has a background color of #2f21b0
<div style="background-color:#2f21b0">Text here</div>
#2f21b0 Border Color
This box has a border color of #2f21b0
<div style="border: 4px solid #2f21b0">Text here</div>
CSS codes
<p style="color:#2f21b0">Text here</p>
<div style="background-color:#2f21b0">Text here</div>
<div style="border: 4px solid #2f21b0">Text here</div>
#2f21b0 Color on white background
This is how a font and box color of #2f21b0 will look
on a white background.
#2f21b0 Color on black background
This is how a font and box color of #2f21b0 hex color will look
on a black background.