In RGB color space, #2240a8 hex color has a red value of 34, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #2240a8 hex color is composed of 79.76% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#2240a8 color has a hue of 226.6 degrees, a saturation of 66.34% and a lightness of 39.6%.
#2240a8 hex color contains mainly BLUE.
The closest web safe color of #2240a8 is #333399
#2240a8 hex color has a decimal value of 2244776.
HEX | 2240a8 | #2240a8 |
---|---|---|
RGB | 34, 64, 168 | rgb(34, 64, 168) |
RGB Percent | 13.33, 25.1, 65.88 | rgb(13.33, 25.1, 65.88) |
CMYK | 80, 62, 0, 34 | |
HSL | 226.6°, 66.34, 39.6 | hsl(226.6, 66.34%, 39.6%) |
HSV | 226.6°, 79.8, 65.9 |
XYZ | 9.561, 6.834, 37.861 |
---|---|
Hunter Lab | 26.142, 19.535, -67.57 |
CIE-LAB | 31.426, 28.114, -58.871 |
CIE-LCH | 31.426, 65.239, 295.527 |
CIE-LUV | 79.76, 61.9, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #2240a8
CMYK percent of color #2240a8
Text with hexadecimal color #2240a8
This text has a font color of #2240a8
<p style="color:#2240a8">Text here</p>
#2240a8 Background Color
This box has a background color of #2240a8
<div style="background-color:#2240a8">Text here</div>
#2240a8 Border Color
This box has a border color of #2240a8
<div style="border: 4px solid #2240a8">Text here</div>
CSS codes
<p style="color:#2240a8">Text here</p>
<div style="background-color:#2240a8">Text here</div>
<div style="border: 4px solid #2240a8">Text here</div>
#2240a8 Color on white background
This is how a font and box color of #2240a8 will look
on a white background.
#2240a8 Color on black background
This is how a font and box color of #2240a8 hex color will look
on a black background.