In RGB color space, #331ea8 hex color has a red value of 51, a green value of 30 and a blue value of 168.
In CMYK color space (used in color printing), #331ea8 hex color is composed of 69.64% cyan, 82.14% magenta, 0% yellow and 34.12% black.
#331ea8 color has a hue of 249.1 degrees, a saturation of 69.7% and a lightness of 38.8%.
#331ea8 hex color contains mainly BLUE.
The closest web safe color of #331ea8 is #333399
#331ea8 hex color has a decimal value of 3350184.
HEX | 331ea8 | #331ea8 |
---|---|---|
RGB | 51, 30, 168 | rgb(51, 30, 168) |
RGB Percent | 20, 11.76, 65.88 | rgb(20, 11.76, 65.88) |
CMYK | 70, 82, 0, 34 | |
HSL | 249.1°, 69.7, 38.8 | hsl(249.1, 69.7%, 38.8%) |
HSV | 249.1°, 82.1, 65.9 |
XYZ | 8.897, 4.46, 37.438 |
---|---|
Hunter Lab | 21.119, 38.242, -90.323 |
CIE-LAB | 25.137, 49.708, -69.187 |
CIE-LCH | 25.137, 85.192, 305.696 |
CIE-LUV | 69.64, 82.14, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #331ea8
CMYK percent of color #331ea8
Text with hexadecimal color #331ea8
This text has a font color of #331ea8
<p style="color:#331ea8">Text here</p>
#331ea8 Background Color
This box has a background color of #331ea8
<div style="background-color:#331ea8">Text here</div>
#331ea8 Border Color
This box has a border color of #331ea8
<div style="border: 4px solid #331ea8">Text here</div>
CSS codes
<p style="color:#331ea8">Text here</p>
<div style="background-color:#331ea8">Text here</div>
<div style="border: 4px solid #331ea8">Text here</div>
#331ea8 Color on white background
This is how a font and box color of #331ea8 will look
on a white background.
#331ea8 Color on black background
This is how a font and box color of #331ea8 hex color will look
on a black background.