In RGB color space, #312afa hex color has a red value of 49, a green value of 42 and a blue value of 250.
In CMYK color space (used in color printing), #312afa hex color is composed of 80.4% cyan, 83.2% magenta, 0% yellow and 1.96% black.
#312afa color has a hue of 242 degrees, a saturation of 95.41% and a lightness of 57.3%.
#312afa hex color contains mainly BLUE.
The closest web safe color of #312afa is #3333ff
#312afa hex color has a decimal value of 3222266.
HEX | 312afa | #312afa |
---|---|---|
RGB | 49, 42, 250 | rgb(49, 42, 250) |
RGB Percent | 19.22, 16.47, 98.04 | rgb(19.22, 16.47, 98.04) |
CMYK | 80, 83, 0, 2 | |
HSL | 242°, 95.41, 57.3 | hsl(242, 95.41%, 57.3%) |
HSV | 242°, 83.2, 98 |
XYZ | 19.35, 9.211, 91.201 |
---|---|
Hunter Lab | 30.35, 60.694, -156.922 |
CIE-LAB | 36.387, 68.33, -98.205 |
CIE-LCH | 36.387, 119.638, 304.83 |
CIE-LUV | 80.4, 83.2, 0, 1.96 |
Web Safe | 3333ff |
RGB percent of color #312afa
CMYK percent of color #312afa
Text with hexadecimal color #312afa
This text has a font color of #312afa
<p style="color:#312afa">Text here</p>
#312afa Background Color
This box has a background color of #312afa
<div style="background-color:#312afa">Text here</div>
#312afa Border Color
This box has a border color of #312afa
<div style="border: 4px solid #312afa">Text here</div>
CSS codes
<p style="color:#312afa">Text here</p>
<div style="background-color:#312afa">Text here</div>
<div style="border: 4px solid #312afa">Text here</div>
#312afa Color on white background
This is how a font and box color of #312afa will look
on a white background.
#312afa Color on black background
This is how a font and box color of #312afa hex color will look
on a black background.