In RGB color space, #310cb8 hex color has a red value of 49, a green value of 12 and a blue value of 184.
In CMYK color space (used in color printing), #310cb8 hex color is composed of 73.37% cyan, 93.48% magenta, 0% yellow and 27.84% black.
#310cb8 color has a hue of 252.9 degrees, a saturation of 87.76% and a lightness of 38.4%.
#310cb8 hex color contains mainly BLUE.
The closest web safe color of #310cb8 is #3300cc
#310cb8 hex color has a decimal value of 3214520.
HEX | 310cb8 | #310cb8 |
---|---|---|
RGB | 49, 12, 184 | rgb(49, 12, 184) |
RGB Percent | 19.22, 4.71, 72.16 | rgb(19.22, 4.71, 72.16) |
CMYK | 73, 93, 0, 28 | |
HSL | 252.9°, 87.76, 38.4 | hsl(252.9, 87.76%, 38.4%) |
HSV | 252.9°, 93.5, 72.2 |
XYZ | 10.05, 4.377, 45.662 |
---|---|
Hunter Lab | 20.921, 49.134, -114.759 |
CIE-LAB | 24.881, 60.226, -79.219 |
CIE-LCH | 24.881, 99.513, 307.244 |
CIE-LUV | 73.37, 93.48, 0, 27.84 |
Web Safe | 3300cc |
RGB percent of color #310cb8
CMYK percent of color #310cb8
Text with hexadecimal color #310cb8
This text has a font color of #310cb8
<p style="color:#310cb8">Text here</p>
#310cb8 Background Color
This box has a background color of #310cb8
<div style="background-color:#310cb8">Text here</div>
#310cb8 Border Color
This box has a border color of #310cb8
<div style="border: 4px solid #310cb8">Text here</div>
CSS codes
<p style="color:#310cb8">Text here</p>
<div style="background-color:#310cb8">Text here</div>
<div style="border: 4px solid #310cb8">Text here</div>
#310cb8 Color on white background
This is how a font and box color of #310cb8 will look
on a white background.
#310cb8 Color on black background
This is how a font and box color of #310cb8 hex color will look
on a black background.