In RGB color space, #2f51b8 hex color has a red value of 47, a green value of 81 and a blue value of 184.
In CMYK color space (used in color printing), #2f51b8 hex color is composed of 74.46% cyan, 55.98% magenta, 0% yellow and 27.84% black.
#2f51b8 color has a hue of 225.1 degrees, a saturation of 59.31% and a lightness of 45.3%.
#2f51b8 hex color contains mainly BLUE.
The closest web safe color of #2f51b8 is #3366cc
#2f51b8 hex color has a decimal value of 3101112.
HEX | 2f51b8 | #2f51b8 |
---|---|---|
RGB | 47, 81, 184 | rgb(47, 81, 184) |
RGB Percent | 18.43, 31.76, 72.16 | rgb(18.43, 31.76, 72.16) |
CMYK | 74, 56, 0, 28 | |
HSL | 225.1°, 59.31, 45.3 | hsl(225.1, 59.31%, 45.3%) |
HSV | 225.1°, 74.5, 72.2 |
XYZ | 12.766, 9.95, 46.595 |
---|---|
Hunter Lab | 31.544, 17.039, -65.5 |
CIE-LAB | 37.753, 24.368, -58.038 |
CIE-LCH | 37.753, 62.946, 292.776 |
CIE-LUV | 74.46, 55.98, 0, 27.84 |
Web Safe | 3366cc |
RGB percent of color #2f51b8
CMYK percent of color #2f51b8
Text with hexadecimal color #2f51b8
This text has a font color of #2f51b8
<p style="color:#2f51b8">Text here</p>
#2f51b8 Background Color
This box has a background color of #2f51b8
<div style="background-color:#2f51b8">Text here</div>
#2f51b8 Border Color
This box has a border color of #2f51b8
<div style="border: 4px solid #2f51b8">Text here</div>
CSS codes
<p style="color:#2f51b8">Text here</p>
<div style="background-color:#2f51b8">Text here</div>
<div style="border: 4px solid #2f51b8">Text here</div>
#2f51b8 Color on white background
This is how a font and box color of #2f51b8 will look
on a white background.
#2f51b8 Color on black background
This is how a font and box color of #2f51b8 hex color will look
on a black background.