In RGB color space, #2f40ab hex color has a red value of 47, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #2f40ab hex color is composed of 72.51% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#2f40ab color has a hue of 231.8 degrees, a saturation of 56.88% and a lightness of 42.7%.
#2f40ab hex color contains mainly BLUE.
The closest web safe color of #2f40ab is #333399
#2f40ab hex color has a decimal value of 3096747.
HEX | 2f40ab | #2f40ab |
---|---|---|
RGB | 47, 64, 171 | rgb(47, 64, 171) |
RGB Percent | 18.43, 25.1, 67.06 | rgb(18.43, 25.1, 67.06) |
CMYK | 73, 63, 0, 33 | |
HSL | 231.8°, 56.88, 42.7 | hsl(231.8, 56.88%, 42.7%) |
HSV | 231.8°, 72.5, 67.1 |
XYZ | 10.356, 7.211, 39.374 |
---|---|
Hunter Lab | 26.853, 21.845, -68.137 |
CIE-LAB | 32.283, 30.697, -59.243 |
CIE-LCH | 32.283, 66.724, 297.391 |
CIE-LUV | 72.51, 62.57, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #2f40ab
CMYK percent of color #2f40ab
Text with hexadecimal color #2f40ab
This text has a font color of #2f40ab
<p style="color:#2f40ab">Text here</p>
#2f40ab Background Color
This box has a background color of #2f40ab
<div style="background-color:#2f40ab">Text here</div>
#2f40ab Border Color
This box has a border color of #2f40ab
<div style="border: 4px solid #2f40ab">Text here</div>
CSS codes
<p style="color:#2f40ab">Text here</p>
<div style="background-color:#2f40ab">Text here</div>
<div style="border: 4px solid #2f40ab">Text here</div>
#2f40ab Color on white background
This is how a font and box color of #2f40ab will look
on a white background.
#2f40ab Color on black background
This is how a font and box color of #2f40ab hex color will look
on a black background.