In RGB color space, #313def hex color has a red value of 49, a green value of 61 and a blue value of 239.
In CMYK color space (used in color printing), #313def hex color is composed of 79.5% cyan, 74.48% magenta, 0% yellow and 6.27% black.
#313def color has a hue of 236.2 degrees, a saturation of 85.59% and a lightness of 56.5%.
#313def hex color contains mainly BLUE.
The closest web safe color of #313def is #3333ff
#313def hex color has a decimal value of 3227119.
HEX | 313def | #313def |
---|---|---|
RGB | 49, 61, 239 | rgb(49, 61, 239) |
RGB Percent | 19.22, 23.92, 93.73 | rgb(19.22, 23.92, 93.73) |
CMYK | 80, 74, 0, 6 | |
HSL | 236.2°, 85.59, 56.5 | hsl(236.2, 85.59%, 56.5%) |
HSV | 236.2°, 79.5, 93.7 |
XYZ | 18.515, 10.222, 82.659 |
---|---|
Hunter Lab | 31.972, 47.419, -130.906 |
CIE-LAB | 38.238, 56.06, -88.935 |
CIE-LCH | 38.238, 105.129, 302.225 |
CIE-LUV | 79.5, 74.48, 0, 6.27 |
Web Safe | 3333ff |
RGB percent of color #313def
CMYK percent of color #313def
Text with hexadecimal color #313def
This text has a font color of #313def
<p style="color:#313def">Text here</p>
#313def Background Color
This box has a background color of #313def
<div style="background-color:#313def">Text here</div>
#313def Border Color
This box has a border color of #313def
<div style="border: 4px solid #313def">Text here</div>
CSS codes
<p style="color:#313def">Text here</p>
<div style="background-color:#313def">Text here</div>
<div style="border: 4px solid #313def">Text here</div>
#313def Color on white background
This is how a font and box color of #313def will look
on a white background.
#313def Color on black background
This is how a font and box color of #313def hex color will look
on a black background.