In RGB color space, #3151a5 hex color has a red value of 49, a green value of 81 and a blue value of 165.
In CMYK color space (used in color printing), #3151a5 hex color is composed of 70.3% cyan, 50.91% magenta, 0% yellow and 35.29% black.
#3151a5 color has a hue of 223.4 degrees, a saturation of 54.21% and a lightness of 42%.
#3151a5 hex color contains mainly BLUE.
The closest web safe color of #3151a5 is #336699
#3151a5 hex color has a decimal value of 3232165.
HEX | 3151a5 | #3151a5 |
---|---|---|
RGB | 49, 81, 165 | rgb(49, 81, 165) |
RGB Percent | 19.22, 31.76, 64.71 | rgb(19.22, 31.76, 64.71) |
CMYK | 70, 51, 0, 35 | |
HSL | 223.4°, 54.21, 42 | hsl(223.4, 54.21%, 42%) |
HSV | 223.4°, 70.3, 64.7 |
XYZ | 11.001, 9.254, 36.804 |
---|---|
Hunter Lab | 30.42, 11.316, -50.438 |
CIE-LAB | 36.469, 17.511, -48.855 |
CIE-LCH | 36.469, 51.898, 289.719 |
CIE-LUV | 70.3, 50.91, 0, 35.29 |
Web Safe | 336699 |
RGB percent of color #3151a5
CMYK percent of color #3151a5
Text with hexadecimal color #3151a5
This text has a font color of #3151a5
<p style="color:#3151a5">Text here</p>
#3151a5 Background Color
This box has a background color of #3151a5
<div style="background-color:#3151a5">Text here</div>
#3151a5 Border Color
This box has a border color of #3151a5
<div style="border: 4px solid #3151a5">Text here</div>
CSS codes
<p style="color:#3151a5">Text here</p>
<div style="background-color:#3151a5">Text here</div>
<div style="border: 4px solid #3151a5">Text here</div>
#3151a5 Color on white background
This is how a font and box color of #3151a5 will look
on a white background.
#3151a5 Color on black background
This is how a font and box color of #3151a5 hex color will look
on a black background.