In RGB color space, #2f51b0 hex color has a red value of 47, a green value of 81 and a blue value of 176.
In CMYK color space (used in color printing), #2f51b0 hex color is composed of 73.3% cyan, 53.98% magenta, 0% yellow and 30.98% black.
#2f51b0 color has a hue of 224.2 degrees, a saturation of 57.85% and a lightness of 43.7%.
#2f51b0 hex color contains mainly BLUE.
The closest web safe color of #2f51b0 is #336699
#2f51b0 hex color has a decimal value of 3101104.
HEX | 2f51b0 | #2f51b0 |
---|---|---|
RGB | 47, 81, 176 | rgb(47, 81, 176) |
RGB Percent | 18.43, 31.76, 69.02 | rgb(18.43, 31.76, 69.02) |
CMYK | 73, 54, 0, 31 | |
HSL | 224.2°, 57.85, 43.7 | hsl(224.2, 57.85%, 43.7%) |
HSV | 224.2°, 73.3, 69 |
XYZ | 11.951, 9.624, 42.302 |
---|---|
Hunter Lab | 31.023, 14.475, -59.131 |
CIE-LAB | 37.159, 21.357, -54.283 |
CIE-LCH | 37.159, 58.333, 291.477 |
CIE-LUV | 73.3, 53.98, 0, 30.98 |
Web Safe | 336699 |
RGB percent of color #2f51b0
CMYK percent of color #2f51b0
Text with hexadecimal color #2f51b0
This text has a font color of #2f51b0
<p style="color:#2f51b0">Text here</p>
#2f51b0 Background Color
This box has a background color of #2f51b0
<div style="background-color:#2f51b0">Text here</div>
#2f51b0 Border Color
This box has a border color of #2f51b0
<div style="border: 4px solid #2f51b0">Text here</div>
CSS codes
<p style="color:#2f51b0">Text here</p>
<div style="background-color:#2f51b0">Text here</div>
<div style="border: 4px solid #2f51b0">Text here</div>
#2f51b0 Color on white background
This is how a font and box color of #2f51b0 will look
on a white background.
#2f51b0 Color on black background
This is how a font and box color of #2f51b0 hex color will look
on a black background.