In RGB color space, #2f45a2 hex color has a red value of 47, a green value of 69 and a blue value of 162.
In CMYK color space (used in color printing), #2f45a2 hex color is composed of 70.99% cyan, 57.41% magenta, 0% yellow and 36.47% black.
#2f45a2 color has a hue of 228.5 degrees, a saturation of 55.02% and a lightness of 41%.
#2f45a2 hex color contains mainly BLUE.
The closest web safe color of #2f45a2 is #333399
#2f45a2 hex color has a decimal value of 3098018.
HEX | 2f45a2 | #2f45a2 |
---|---|---|
RGB | 47, 69, 162 | rgb(47, 69, 162) |
RGB Percent | 18.43, 27.06, 63.53 | rgb(18.43, 27.06, 63.53) |
CMYK | 71, 57, 0, 36 | |
HSL | 228.5°, 55.02, 41 | hsl(228.5, 55.02%, 41%) |
HSV | 228.5°, 71, 63.5 |
XYZ | 9.822, 7.469, 35.106 |
---|---|
Hunter Lab | 27.329, 16.325, -57.03 |
CIE-LAB | 32.852, 24.067, -52.915 |
CIE-LCH | 32.852, 58.131, 294.457 |
CIE-LUV | 70.99, 57.41, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #2f45a2
CMYK percent of color #2f45a2
Text with hexadecimal color #2f45a2
This text has a font color of #2f45a2
<p style="color:#2f45a2">Text here</p>
#2f45a2 Background Color
This box has a background color of #2f45a2
<div style="background-color:#2f45a2">Text here</div>
#2f45a2 Border Color
This box has a border color of #2f45a2
<div style="border: 4px solid #2f45a2">Text here</div>
CSS codes
<p style="color:#2f45a2">Text here</p>
<div style="background-color:#2f45a2">Text here</div>
<div style="border: 4px solid #2f45a2">Text here</div>
#2f45a2 Color on white background
This is how a font and box color of #2f45a2 will look
on a white background.
#2f45a2 Color on black background
This is how a font and box color of #2f45a2 hex color will look
on a black background.