In RGB color space, #31338f hex color has a red value of 49, a green value of 51 and a blue value of 143.
In CMYK color space (used in color printing), #31338f hex color is composed of 65.73% cyan, 64.34% magenta, 0% yellow and 43.92% black.
#31338f color has a hue of 238.7 degrees, a saturation of 48.96% and a lightness of 37.6%.
#31338f hex color contains mainly BLUE.
The closest web safe color of #31338f is #333399
#31338f hex color has a decimal value of 3224463.
HEX | 31338f | #31338f |
---|---|---|
RGB | 49, 51, 143 | rgb(49, 51, 143) |
RGB Percent | 19.22, 20, 56.08 | rgb(19.22, 20, 56.08) |
CMYK | 66, 64, 0, 44 | |
HSL | 238.7°, 48.96, 37.6 | hsl(238.7, 48.96%, 37.6%) |
HSV | 238.7°, 65.7, 56.1 |
XYZ | 7.408, 5.004, 26.562 |
---|---|
Hunter Lab | 22.37, 19.966, -54.743 |
CIE-LAB | 26.746, 29.328, -51.267 |
CIE-LCH | 26.746, 59.063, 299.772 |
CIE-LUV | 65.73, 64.34, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #31338f
CMYK percent of color #31338f
Text with hexadecimal color #31338f
This text has a font color of #31338f
<p style="color:#31338f">Text here</p>
#31338f Background Color
This box has a background color of #31338f
<div style="background-color:#31338f">Text here</div>
#31338f Border Color
This box has a border color of #31338f
<div style="border: 4px solid #31338f">Text here</div>
CSS codes
<p style="color:#31338f">Text here</p>
<div style="background-color:#31338f">Text here</div>
<div style="border: 4px solid #31338f">Text here</div>
#31338f Color on white background
This is how a font and box color of #31338f will look
on a white background.
#31338f Color on black background
This is how a font and box color of #31338f hex color will look
on a black background.