In RGB color space, #2121ab hex color has a red value of 33, a green value of 33 and a blue value of 171.
In CMYK color space (used in color printing), #2121ab hex color is composed of 80.7% cyan, 80.7% magenta, 0% yellow and 32.94% black.
#2121ab color has a hue of 240 degrees, a saturation of 67.65% and a lightness of 40%.
#2121ab hex color contains mainly BLUE.
The closest web safe color of #2121ab is #333399
#2121ab hex color has a decimal value of 2171307.
HEX | 2121ab | #2121ab |
---|---|---|
RGB | 33, 33, 171 | rgb(33, 33, 171) |
RGB Percent | 12.94, 12.94, 67.06 | rgb(12.94, 12.94, 67.06) |
CMYK | 81, 81, 0, 33 | |
HSL | 240°, 67.65, 40 | hsl(240, 67.65%, 40%) |
HSV | 240°, 80.7, 67.1 |
XYZ | 8.522, 4.351, 38.919 |
---|---|
Hunter Lab | 20.859, 36.423, -96.022 |
CIE-LAB | 24.799, 47.929, -71.594 |
CIE-LCH | 24.799, 86.156, 303.801 |
CIE-LUV | 80.7, 80.7, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2121ab
CMYK percent of color #2121ab
Text with hexadecimal color #2121ab
This text has a font color of #2121ab
<p style="color:#2121ab">Text here</p>
#2121ab Background Color
This box has a background color of #2121ab
<div style="background-color:#2121ab">Text here</div>
#2121ab Border Color
This box has a border color of #2121ab
<div style="border: 4px solid #2121ab">Text here</div>
CSS codes
<p style="color:#2121ab">Text here</p>
<div style="background-color:#2121ab">Text here</div>
<div style="border: 4px solid #2121ab">Text here</div>
#2121ab Color on white background
This is how a font and box color of #2121ab will look
on a white background.
#2121ab Color on black background
This is how a font and box color of #2121ab hex color will look
on a black background.