In RGB color space, #2f51b5 hex color has a red value of 47, a green value of 81 and a blue value of 181.
In CMYK color space (used in color printing), #2f51b5 hex color is composed of 74.03% cyan, 55.25% magenta, 0% yellow and 29.02% black.
#2f51b5 color has a hue of 224.8 degrees, a saturation of 58.77% and a lightness of 44.7%.
#2f51b5 hex color contains mainly BLUE.
The closest web safe color of #2f51b5 is #3366cc
#2f51b5 hex color has a decimal value of 3101109.
HEX | 2f51b5 | #2f51b5 |
---|---|---|
RGB | 47, 81, 181 | rgb(47, 81, 181) |
RGB Percent | 18.43, 31.76, 70.98 | rgb(18.43, 31.76, 70.98) |
CMYK | 74, 55, 0, 29 | |
HSL | 224.8°, 58.77, 44.7 | hsl(224.8, 58.77%, 44.7%) |
HSV | 224.8°, 74, 71 |
XYZ | 12.455, 9.825, 44.956 |
---|---|
Hunter Lab | 31.345, 16.074, -63.095 |
CIE-LAB | 37.526, 23.246, -56.64 |
CIE-LCH | 37.526, 61.225, 292.314 |
CIE-LUV | 74.03, 55.25, 0, 29.02 |
Web Safe | 3366cc |
RGB percent of color #2f51b5
CMYK percent of color #2f51b5
Text with hexadecimal color #2f51b5
This text has a font color of #2f51b5
<p style="color:#2f51b5">Text here</p>
#2f51b5 Background Color
This box has a background color of #2f51b5
<div style="background-color:#2f51b5">Text here</div>
#2f51b5 Border Color
This box has a border color of #2f51b5
<div style="border: 4px solid #2f51b5">Text here</div>
CSS codes
<p style="color:#2f51b5">Text here</p>
<div style="background-color:#2f51b5">Text here</div>
<div style="border: 4px solid #2f51b5">Text here</div>
#2f51b5 Color on white background
This is how a font and box color of #2f51b5 will look
on a white background.
#2f51b5 Color on black background
This is how a font and box color of #2f51b5 hex color will look
on a black background.