In RGB color space, #340ab7 hex color has a red value of 52, a green value of 10 and a blue value of 183.
In CMYK color space (used in color printing), #340ab7 hex color is composed of 71.58% cyan, 94.54% magenta, 0% yellow and 28.24% black.
#340ab7 color has a hue of 254.6 degrees, a saturation of 89.64% and a lightness of 37.8%.
#340ab7 hex color contains mainly BLUE.
The closest web safe color of #340ab7 is #3300cc
#340ab7 hex color has a decimal value of 3410615.
HEX | 340ab7 | #340ab7 |
---|---|---|
RGB | 52, 10, 183 | rgb(52, 10, 183) |
RGB Percent | 20.39, 3.92, 71.76 | rgb(20.39, 3.92, 71.76) |
CMYK | 72, 95, 0, 28 | |
HSL | 254.6°, 89.64, 37.8 | hsl(254.6, 89.64%, 37.8%) |
HSV | 254.6°, 94.5, 71.8 |
XYZ | 10.072, 4.366, 45.112 |
---|---|
Hunter Lab | 20.895, 49.476, -113.38 |
CIE-LAB | 24.846, 60.546, -78.674 |
CIE-LCH | 24.846, 99.274, 307.581 |
CIE-LUV | 71.58, 94.54, 0, 28.24 |
Web Safe | 3300cc |
RGB percent of color #340ab7
CMYK percent of color #340ab7
Text with hexadecimal color #340ab7
This text has a font color of #340ab7
<p style="color:#340ab7">Text here</p>
#340ab7 Background Color
This box has a background color of #340ab7
<div style="background-color:#340ab7">Text here</div>
#340ab7 Border Color
This box has a border color of #340ab7
<div style="border: 4px solid #340ab7">Text here</div>
CSS codes
<p style="color:#340ab7">Text here</p>
<div style="background-color:#340ab7">Text here</div>
<div style="border: 4px solid #340ab7">Text here</div>
#340ab7 Color on white background
This is how a font and box color of #340ab7 will look
on a white background.
#340ab7 Color on black background
This is how a font and box color of #340ab7 hex color will look
on a black background.