In RGB color space, #31308b hex color has a red value of 49, a green value of 48 and a blue value of 139.
In CMYK color space (used in color printing), #31308b hex color is composed of 64.75% cyan, 65.47% magenta, 0% yellow and 45.49% black.
#31308b color has a hue of 240.7 degrees, a saturation of 48.66% and a lightness of 36.7%.
#31308b hex color contains mainly BLUE.
The closest web safe color of #31308b is #333399
#31308b hex color has a decimal value of 3223691.
HEX | 31308b | #31308b |
---|---|---|
RGB | 49, 48, 139 | rgb(49, 48, 139) |
RGB Percent | 19.22, 18.82, 54.51 | rgb(19.22, 18.82, 54.51) |
CMYK | 65, 65, 0, 45 | |
HSL | 240.7°, 48.66, 36.7 | hsl(240.7, 48.66%, 36.7%) |
HSV | 240.7°, 65.5, 54.5 |
XYZ | 6.984, 4.631, 24.952 |
---|---|
Hunter Lab | 21.52, 20.271, -53.682 |
CIE-LAB | 25.657, 29.869, -50.568 |
CIE-LCH | 25.657, 58.731, 300.569 |
CIE-LUV | 64.75, 65.47, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #31308b
CMYK percent of color #31308b
Text with hexadecimal color #31308b
This text has a font color of #31308b
<p style="color:#31308b">Text here</p>
#31308b Background Color
This box has a background color of #31308b
<div style="background-color:#31308b">Text here</div>
#31308b Border Color
This box has a border color of #31308b
<div style="border: 4px solid #31308b">Text here</div>
CSS codes
<p style="color:#31308b">Text here</p>
<div style="background-color:#31308b">Text here</div>
<div style="border: 4px solid #31308b">Text here</div>
#31308b Color on white background
This is how a font and box color of #31308b will look
on a white background.
#31308b Color on black background
This is how a font and box color of #31308b hex color will look
on a black background.