In RGB color space, #2f21c5 hex color has a red value of 47, a green value of 33 and a blue value of 197.
In CMYK color space (used in color printing), #2f21c5 hex color is composed of 76.14% cyan, 83.25% magenta, 0% yellow and 22.75% black.
#2f21c5 color has a hue of 245.1 degrees, a saturation of 71.3% and a lightness of 45.1%.
#2f21c5 hex color contains mainly BLUE.
The closest web safe color of #2f21c5 is #3333cc
#2f21c5 hex color has a decimal value of 3088837.
HEX | 2f21c5 | #2f21c5 |
---|---|---|
RGB | 47, 33, 197 | rgb(47, 33, 197) |
RGB Percent | 18.43, 12.94, 77.25 | rgb(18.43, 12.94, 77.25) |
CMYK | 76, 83, 0, 23 | |
HSL | 245.1°, 71.3, 45.1 | hsl(245.1, 71.3%, 45.1%) |
HSV | 245.1°, 83.2, 77.3 |
XYZ | 11.794, 5.723, 53.306 |
---|---|
Hunter Lab | 23.923, 46.136, -115.367 |
CIE-LAB | 28.703, 56.706, -80.555 |
CIE-LCH | 28.703, 98.512, 305.143 |
CIE-LUV | 76.14, 83.25, 0, 22.75 |
Web Safe | 3333cc |
RGB percent of color #2f21c5
CMYK percent of color #2f21c5
Text with hexadecimal color #2f21c5
This text has a font color of #2f21c5
<p style="color:#2f21c5">Text here</p>
#2f21c5 Background Color
This box has a background color of #2f21c5
<div style="background-color:#2f21c5">Text here</div>
#2f21c5 Border Color
This box has a border color of #2f21c5
<div style="border: 4px solid #2f21c5">Text here</div>
CSS codes
<p style="color:#2f21c5">Text here</p>
<div style="background-color:#2f21c5">Text here</div>
<div style="border: 4px solid #2f21c5">Text here</div>
#2f21c5 Color on white background
This is how a font and box color of #2f21c5 will look
on a white background.
#2f21c5 Color on black background
This is how a font and box color of #2f21c5 hex color will look
on a black background.