In RGB color space, #2d21b3 hex color has a red value of 45, a green value of 33 and a blue value of 179.
In CMYK color space (used in color printing), #2d21b3 hex color is composed of 74.86% cyan, 81.56% magenta, 0% yellow and 29.8% black.
#2d21b3 color has a hue of 244.9 degrees, a saturation of 68.87% and a lightness of 41.6%.
#2d21b3 hex color contains mainly BLUE.
The closest web safe color of #2d21b3 is #3333cc
#2d21b3 hex color has a decimal value of 2957747.
HEX | 2d21b3 | #2d21b3 |
---|---|---|
RGB | 45, 33, 179 | rgb(45, 33, 179) |
RGB Percent | 17.65, 12.94, 70.2 | rgb(17.65, 12.94, 70.2) |
CMYK | 75, 82, 0, 30 | |
HSL | 244.9°, 68.87, 41.6 | hsl(244.9, 68.87%, 41.6%) |
HSV | 244.9°, 81.6, 70.2 |
XYZ | 9.763, 4.9, 43.079 |
---|---|
Hunter Lab | 22.136, 39.989, -99.89 |
CIE-LAB | 26.448, 51.198, -73.638 |
CIE-LCH | 26.448, 89.687, 304.81 |
CIE-LUV | 74.86, 81.56, 0, 29.8 |
Web Safe | 3333cc |
RGB percent of color #2d21b3
CMYK percent of color #2d21b3
Text with hexadecimal color #2d21b3
This text has a font color of #2d21b3
<p style="color:#2d21b3">Text here</p>
#2d21b3 Background Color
This box has a background color of #2d21b3
<div style="background-color:#2d21b3">Text here</div>
#2d21b3 Border Color
This box has a border color of #2d21b3
<div style="border: 4px solid #2d21b3">Text here</div>
CSS codes
<p style="color:#2d21b3">Text here</p>
<div style="background-color:#2d21b3">Text here</div>
<div style="border: 4px solid #2d21b3">Text here</div>
#2d21b3 Color on white background
This is how a font and box color of #2d21b3 will look
on a white background.
#2d21b3 Color on black background
This is how a font and box color of #2d21b3 hex color will look
on a black background.