In RGB color space, #2f02ab hex color has a red value of 47, a green value of 2 and a blue value of 171.
In CMYK color space (used in color printing), #2f02ab hex color is composed of 72.51% cyan, 98.83% magenta, 0% yellow and 32.94% black.
#2f02ab color has a hue of 256 degrees, a saturation of 97.69% and a lightness of 33.9%.
#2f02ab hex color contains mainly BLUE.
The closest web safe color of #2f02ab is #330099
#2f02ab hex color has a decimal value of 3080875.
HEX | 2f02ab | #2f02ab |
---|---|---|
RGB | 47, 2, 171 | rgb(47, 2, 171) |
RGB Percent | 18.43, 0.78, 67.06 | rgb(18.43, 0.78, 67.06) |
CMYK | 73, 99, 0, 33 | |
HSL | 256°, 97.69, 33.9 | hsl(256, 97.69%, 33.9%) |
HSV | 256°, 98.8, 67.1 |
XYZ | 8.545, 3.588, 38.77 |
---|---|
Hunter Lab | 18.942, 47.375, -108.094 |
CIE-LAB | 22.26, 59.077, -75.791 |
CIE-LCH | 22.26, 96.096, 307.935 |
CIE-LUV | 72.51, 98.83, 0, 32.94 |
Web Safe | 330099 |
RGB percent of color #2f02ab
CMYK percent of color #2f02ab
Text with hexadecimal color #2f02ab
This text has a font color of #2f02ab
<p style="color:#2f02ab">Text here</p>
#2f02ab Background Color
This box has a background color of #2f02ab
<div style="background-color:#2f02ab">Text here</div>
#2f02ab Border Color
This box has a border color of #2f02ab
<div style="border: 4px solid #2f02ab">Text here</div>
CSS codes
<p style="color:#2f02ab">Text here</p>
<div style="background-color:#2f02ab">Text here</div>
<div style="border: 4px solid #2f02ab">Text here</div>
#2f02ab Color on white background
This is how a font and box color of #2f02ab will look
on a white background.
#2f02ab Color on black background
This is how a font and box color of #2f02ab hex color will look
on a black background.