In RGB color space, #2f40b7 hex color has a red value of 47, a green value of 64 and a blue value of 183.
In CMYK color space (used in color printing), #2f40b7 hex color is composed of 74.32% cyan, 65.03% magenta, 0% yellow and 28.24% black.
#2f40b7 color has a hue of 232.5 degrees, a saturation of 59.13% and a lightness of 45.1%.
#2f40b7 hex color contains mainly BLUE.
The closest web safe color of #2f40b7 is #3333cc
#2f40b7 hex color has a decimal value of 3096759.
HEX | 2f40b7 | #2f40b7 |
---|---|---|
RGB | 47, 64, 183 | rgb(47, 64, 183) |
RGB Percent | 18.43, 25.1, 71.76 | rgb(18.43, 25.1, 71.76) |
CMYK | 74, 65, 0, 28 | |
HSL | 232.5°, 59.13, 45.1 | hsl(232.5, 59.13%, 45.1%) |
HSV | 232.5°, 74.3, 71.8 |
XYZ | 11.553, 7.69, 45.675 |
---|---|
Hunter Lab | 27.731, 25.836, -78.244 |
CIE-LAB | 33.329, 35.055, -64.667 |
CIE-LCH | 33.329, 73.557, 298.461 |
CIE-LUV | 74.32, 65.03, 0, 28.24 |
Web Safe | 3333cc |
RGB percent of color #2f40b7
CMYK percent of color #2f40b7
Text with hexadecimal color #2f40b7
This text has a font color of #2f40b7
<p style="color:#2f40b7">Text here</p>
#2f40b7 Background Color
This box has a background color of #2f40b7
<div style="background-color:#2f40b7">Text here</div>
#2f40b7 Border Color
This box has a border color of #2f40b7
<div style="border: 4px solid #2f40b7">Text here</div>
CSS codes
<p style="color:#2f40b7">Text here</p>
<div style="background-color:#2f40b7">Text here</div>
<div style="border: 4px solid #2f40b7">Text here</div>
#2f40b7 Color on white background
This is how a font and box color of #2f40b7 will look
on a white background.
#2f40b7 Color on black background
This is how a font and box color of #2f40b7 hex color will look
on a black background.