In RGB color space, #2f51c5 hex color has a red value of 47, a green value of 81 and a blue value of 197.
In CMYK color space (used in color printing), #2f51c5 hex color is composed of 76.14% cyan, 58.88% magenta, 0% yellow and 22.75% black.
#2f51c5 color has a hue of 226.4 degrees, a saturation of 61.48% and a lightness of 47.8%.
#2f51c5 hex color contains mainly BLUE.
The closest web safe color of #2f51c5 is #3366cc
#2f51c5 hex color has a decimal value of 3101125.
HEX | 2f51c5 | #2f51c5 |
---|---|---|
RGB | 47, 81, 197 | rgb(47, 81, 197) |
RGB Percent | 18.43, 31.76, 77.25 | rgb(18.43, 31.76, 77.25) |
CMYK | 76, 59, 0, 23 | |
HSL | 226.4°, 61.48, 47.8 | hsl(226.4, 61.48%, 47.8%) |
HSV | 226.4°, 76.1, 77.3 |
XYZ | 14.193, 10.52, 54.106 |
---|---|
Hunter Lab | 32.435, 21.349, -76.201 |
CIE-LAB | 38.76, 29.232, -64 |
CIE-LCH | 38.76, 70.36, 294.549 |
CIE-LUV | 76.14, 58.88, 0, 22.75 |
Web Safe | 3366cc |
RGB percent of color #2f51c5
CMYK percent of color #2f51c5
Text with hexadecimal color #2f51c5
This text has a font color of #2f51c5
<p style="color:#2f51c5">Text here</p>
#2f51c5 Background Color
This box has a background color of #2f51c5
<div style="background-color:#2f51c5">Text here</div>
#2f51c5 Border Color
This box has a border color of #2f51c5
<div style="border: 4px solid #2f51c5">Text here</div>
CSS codes
<p style="color:#2f51c5">Text here</p>
<div style="background-color:#2f51c5">Text here</div>
<div style="border: 4px solid #2f51c5">Text here</div>
#2f51c5 Color on white background
This is how a font and box color of #2f51c5 will look
on a white background.
#2f51c5 Color on black background
This is how a font and box color of #2f51c5 hex color will look
on a black background.