In RGB color space, #2f51f6 hex color has a red value of 47, a green value of 81 and a blue value of 246.
In CMYK color space (used in color printing), #2f51f6 hex color is composed of 80.89% cyan, 67.07% magenta, 0% yellow and 3.53% black.
#2f51f6 color has a hue of 229.7 degrees, a saturation of 91.71% and a lightness of 57.5%.
#2f51f6 hex color contains mainly BLUE.
The closest web safe color of #2f51f6 is #3366ff
#2f51f6 hex color has a decimal value of 3101174.
HEX | 2f51f6 | #2f51f6 |
---|---|---|
RGB | 47, 81, 246 | rgb(47, 81, 246) |
RGB Percent | 18.43, 31.76, 96.47 | rgb(18.43, 31.76, 96.47) |
CMYK | 81, 67, 0, 4 | |
HSL | 229.7°, 91.71, 57.5 | hsl(229.7, 91.71%, 57.5%) |
HSV | 229.7°, 80.9, 96.5 |
XYZ | 20.749, 13.143, 88.632 |
---|---|
Hunter Lab | 36.253, 38.718, -119.575 |
CIE-LAB | 42.978, 46.847, -85.055 |
CIE-LCH | 42.978, 97.103, 298.845 |
CIE-LUV | 80.89, 67.07, 0, 3.53 |
Web Safe | 3366ff |
RGB percent of color #2f51f6
CMYK percent of color #2f51f6
Text with hexadecimal color #2f51f6
This text has a font color of #2f51f6
<p style="color:#2f51f6">Text here</p>
#2f51f6 Background Color
This box has a background color of #2f51f6
<div style="background-color:#2f51f6">Text here</div>
#2f51f6 Border Color
This box has a border color of #2f51f6
<div style="border: 4px solid #2f51f6">Text here</div>
CSS codes
<p style="color:#2f51f6">Text here</p>
<div style="background-color:#2f51f6">Text here</div>
<div style="border: 4px solid #2f51f6">Text here</div>
#2f51f6 Color on white background
This is how a font and box color of #2f51f6 will look
on a white background.
#2f51f6 Color on black background
This is how a font and box color of #2f51f6 hex color will look
on a black background.