In RGB color space, #2240a1 hex color has a red value of 34, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #2240a1 hex color is composed of 78.88% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#2240a1 color has a hue of 225.8 degrees, a saturation of 65.13% and a lightness of 38.2%.
#2240a1 hex color contains mainly BLUE.
The closest web safe color of #2240a1 is #333399
#2240a1 hex color has a decimal value of 2244769.
HEX | 2240a1 | #2240a1 |
---|---|---|
RGB | 34, 64, 161 | rgb(34, 64, 161) |
RGB Percent | 13.33, 25.1, 63.14 | rgb(13.33, 25.1, 63.14) |
CMYK | 79, 60, 0, 37 | |
HSL | 225.8°, 65.13, 38.2 | hsl(225.8, 65.13%, 38.2%) |
HSV | 225.8°, 78.9, 63.1 |
XYZ | 8.926, 6.58, 34.518 |
---|---|
Hunter Lab | 25.652, 17.223, -61.828 |
CIE-LAB | 30.831, 25.413, -55.629 |
CIE-LCH | 30.831, 61.159, 294.552 |
CIE-LUV | 78.88, 60.25, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2240a1
CMYK percent of color #2240a1
Text with hexadecimal color #2240a1
This text has a font color of #2240a1
<p style="color:#2240a1">Text here</p>
#2240a1 Background Color
This box has a background color of #2240a1
<div style="background-color:#2240a1">Text here</div>
#2240a1 Border Color
This box has a border color of #2240a1
<div style="border: 4px solid #2240a1">Text here</div>
CSS codes
<p style="color:#2240a1">Text here</p>
<div style="background-color:#2240a1">Text here</div>
<div style="border: 4px solid #2240a1">Text here</div>
#2240a1 Color on white background
This is how a font and box color of #2240a1 will look
on a white background.
#2240a1 Color on black background
This is how a font and box color of #2240a1 hex color will look
on a black background.