In RGB color space, #2f45ab hex color has a red value of 47, a green value of 69 and a blue value of 171.
In CMYK color space (used in color printing), #2f45ab hex color is composed of 72.51% cyan, 59.65% magenta, 0% yellow and 32.94% black.
#2f45ab color has a hue of 229.4 degrees, a saturation of 56.88% and a lightness of 42.7%.
#2f45ab hex color contains mainly BLUE.
The closest web safe color of #2f45ab is #333399
#2f45ab hex color has a decimal value of 3098027.
HEX | 2f45ab | #2f45ab |
---|---|---|
RGB | 47, 69, 171 | rgb(47, 69, 171) |
RGB Percent | 18.43, 27.06, 67.06 | rgb(18.43, 27.06, 67.06) |
CMYK | 73, 60, 0, 33 | |
HSL | 229.4°, 56.88, 42.7 | hsl(229.4, 56.88%, 42.7%) |
HSV | 229.4°, 72.5, 67.1 |
XYZ | 10.651, 7.801, 39.472 |
---|---|
Hunter Lab | 27.93, 19.192, -64.239 |
CIE-LAB | 33.565, 27.415, -57.15 |
CIE-LCH | 33.565, 63.385, 295.627 |
CIE-LUV | 72.51, 59.65, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2f45ab
CMYK percent of color #2f45ab
Text with hexadecimal color #2f45ab
This text has a font color of #2f45ab
<p style="color:#2f45ab">Text here</p>
#2f45ab Background Color
This box has a background color of #2f45ab
<div style="background-color:#2f45ab">Text here</div>
#2f45ab Border Color
This box has a border color of #2f45ab
<div style="border: 4px solid #2f45ab">Text here</div>
CSS codes
<p style="color:#2f45ab">Text here</p>
<div style="background-color:#2f45ab">Text here</div>
<div style="border: 4px solid #2f45ab">Text here</div>
#2f45ab Color on white background
This is how a font and box color of #2f45ab will look
on a white background.
#2f45ab Color on black background
This is how a font and box color of #2f45ab hex color will look
on a black background.