In RGB color space, #2f21d2 hex color has a red value of 47, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #2f21d2 hex color is composed of 77.62% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#2f21d2 color has a hue of 244.7 degrees, a saturation of 72.84% and a lightness of 47.6%.
#2f21d2 hex color contains mainly BLUE.
The closest web safe color of #2f21d2 is #3333cc
#2f21d2 hex color has a decimal value of 3088850.
HEX | 2f21d2 | #2f21d2 |
---|---|---|
RGB | 47, 33, 210 | rgb(47, 33, 210) |
RGB Percent | 18.43, 12.94, 82.35 | rgb(18.43, 12.94, 82.35) |
CMYK | 78, 84, 0, 18 | |
HSL | 244.7°, 72.84, 47.6 | hsl(244.7, 72.84%, 47.6%) |
HSV | 244.7°, 84.3, 82.4 |
XYZ | 13.349, 6.345, 61.494 |
---|---|
Hunter Lab | 25.189, 50.514, -127.111 |
CIE-LAB | 30.267, 60.475, -85.548 |
CIE-LCH | 30.267, 104.765, 305.257 |
CIE-LUV | 77.62, 84.29, 0, 17.65 |
Web Safe | 3333cc |
RGB percent of color #2f21d2
CMYK percent of color #2f21d2
Text with hexadecimal color #2f21d2
This text has a font color of #2f21d2
<p style="color:#2f21d2">Text here</p>
#2f21d2 Background Color
This box has a background color of #2f21d2
<div style="background-color:#2f21d2">Text here</div>
#2f21d2 Border Color
This box has a border color of #2f21d2
<div style="border: 4px solid #2f21d2">Text here</div>
CSS codes
<p style="color:#2f21d2">Text here</p>
<div style="background-color:#2f21d2">Text here</div>
<div style="border: 4px solid #2f21d2">Text here</div>
#2f21d2 Color on white background
This is how a font and box color of #2f21d2 will look
on a white background.
#2f21d2 Color on black background
This is how a font and box color of #2f21d2 hex color will look
on a black background.