In RGB color space, #2a45a1 hex color has a red value of 42, a green value of 69 and a blue value of 161.
In CMYK color space (used in color printing), #2a45a1 hex color is composed of 73.91% cyan, 57.14% magenta, 0% yellow and 36.86% black.
#2a45a1 color has a hue of 226.4 degrees, a saturation of 58.62% and a lightness of 39.8%.
#2a45a1 hex color contains mainly BLUE.
The closest web safe color of #2a45a1 is #333399
#2a45a1 hex color has a decimal value of 2770337.
HEX | 2a45a1 | #2a45a1 |
---|---|---|
RGB | 42, 69, 161 | rgb(42, 69, 161) |
RGB Percent | 16.47, 27.06, 63.14 | rgb(16.47, 27.06, 63.14) |
CMYK | 74, 57, 0, 37 | |
HSL | 226.4°, 58.62, 39.8 | hsl(226.4, 58.62%, 39.8%) |
HSV | 226.4°, 73.9, 63.1 |
XYZ | 9.516, 7.322, 34.63 |
---|---|
Hunter Lab | 27.059, 15.42, -56.937 |
CIE-LAB | 32.529, 22.995, -52.849 |
CIE-LCH | 32.529, 57.635, 293.514 |
CIE-LUV | 73.91, 57.14, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2a45a1
CMYK percent of color #2a45a1
Text with hexadecimal color #2a45a1
This text has a font color of #2a45a1
<p style="color:#2a45a1">Text here</p>
#2a45a1 Background Color
This box has a background color of #2a45a1
<div style="background-color:#2a45a1">Text here</div>
#2a45a1 Border Color
This box has a border color of #2a45a1
<div style="border: 4px solid #2a45a1">Text here</div>
CSS codes
<p style="color:#2a45a1">Text here</p>
<div style="background-color:#2a45a1">Text here</div>
<div style="border: 4px solid #2a45a1">Text here</div>
#2a45a1 Color on white background
This is how a font and box color of #2a45a1 will look
on a white background.
#2a45a1 Color on black background
This is how a font and box color of #2a45a1 hex color will look
on a black background.