In RGB color space, #21227e hex color has a red value of 33, a green value of 34 and a blue value of 126.
In CMYK color space (used in color printing), #21227e hex color is composed of 73.81% cyan, 73.02% magenta, 0% yellow and 50.59% black.
#21227e color has a hue of 239.4 degrees, a saturation of 58.49% and a lightness of 31.2%.
#21227e hex color contains mainly BLUE.
The closest web safe color of #21227e is #333366
#21227e hex color has a decimal value of 2171518.
HEX | 21227e | #21227e |
---|---|---|
RGB | 33, 34, 126 | rgb(33, 34, 126) |
RGB Percent | 12.94, 13.33, 49.41 | rgb(12.94, 13.33, 49.41) |
CMYK | 74, 73, 0, 51 | |
HSL | 239.4°, 58.49, 31.2 | hsl(239.4, 58.49%, 31.2%) |
HSV | 239.4°, 73.8, 49.4 |
XYZ | 4.965, 2.974, 20.051 |
---|---|
Hunter Lab | 17.245, 21.212, -56.864 |
CIE-LAB | 19.939, 31.998, -51.821 |
CIE-LCH | 19.939, 60.904, 301.694 |
CIE-LUV | 73.81, 73.02, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #21227e
CMYK percent of color #21227e
Text with hexadecimal color #21227e
This text has a font color of #21227e
<p style="color:#21227e">Text here</p>
#21227e Background Color
This box has a background color of #21227e
<div style="background-color:#21227e">Text here</div>
#21227e Border Color
This box has a border color of #21227e
<div style="border: 4px solid #21227e">Text here</div>
CSS codes
<p style="color:#21227e">Text here</p>
<div style="background-color:#21227e">Text here</div>
<div style="border: 4px solid #21227e">Text here</div>
#21227e Color on white background
This is how a font and box color of #21227e will look
on a white background.
#21227e Color on black background
This is how a font and box color of #21227e hex color will look
on a black background.