In RGB color space, #2240ab hex color has a red value of 34, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #2240ab hex color is composed of 80.12% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#2240ab color has a hue of 226.9 degrees, a saturation of 66.83% and a lightness of 40.2%.
#2240ab hex color contains mainly BLUE.
The closest web safe color of #2240ab is #333399
#2240ab hex color has a decimal value of 2244779.
HEX | 2240ab | #2240ab |
---|---|---|
RGB | 34, 64, 171 | rgb(34, 64, 171) |
RGB Percent | 13.33, 25.1, 67.06 | rgb(13.33, 25.1, 67.06) |
CMYK | 80, 63, 0, 33 | |
HSL | 226.9°, 66.83, 40.2 | hsl(226.9, 66.83%, 40.2%) |
HSV | 226.9°, 80.1, 67.1 |
XYZ | 9.844, 6.947, 39.35 |
---|---|
Hunter Lab | 26.357, 20.542, -70.067 |
CIE-LAB | 31.686, 29.266, -60.242 |
CIE-LCH | 31.686, 66.975, 295.911 |
CIE-LUV | 80.12, 62.57, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2240ab
CMYK percent of color #2240ab
Text with hexadecimal color #2240ab
This text has a font color of #2240ab
<p style="color:#2240ab">Text here</p>
#2240ab Background Color
This box has a background color of #2240ab
<div style="background-color:#2240ab">Text here</div>
#2240ab Border Color
This box has a border color of #2240ab
<div style="border: 4px solid #2240ab">Text here</div>
CSS codes
<p style="color:#2240ab">Text here</p>
<div style="background-color:#2240ab">Text here</div>
<div style="border: 4px solid #2240ab">Text here</div>
#2240ab Color on white background
This is how a font and box color of #2240ab will look
on a white background.
#2240ab Color on black background
This is how a font and box color of #2240ab hex color will look
on a black background.