In RGB color space, #340ab2 hex color has a red value of 52, a green value of 10 and a blue value of 178.
In CMYK color space (used in color printing), #340ab2 hex color is composed of 70.79% cyan, 94.38% magenta, 0% yellow and 30.2% black.
#340ab2 color has a hue of 255 degrees, a saturation of 89.36% and a lightness of 36.9%.
#340ab2 hex color contains mainly BLUE.
The closest web safe color of #340ab2 is #330099
#340ab2 hex color has a decimal value of 3410610.
HEX | 340ab2 | #340ab2 |
---|---|---|
RGB | 52, 10, 178 | rgb(52, 10, 178) |
RGB Percent | 20.39, 3.92, 69.8 | rgb(20.39, 3.92, 69.8) |
CMYK | 71, 94, 0, 30 | |
HSL | 255°, 89.36, 36.9 | hsl(255, 89.36%, 36.9%) |
HSV | 255°, 94.4, 69.8 |
XYZ | 9.561, 4.161, 42.419 |
---|---|
Hunter Lab | 20.399, 47.967, -109.015 |
CIE-LAB | 24.197, 59.275, -76.766 |
CIE-LCH | 24.197, 96.987, 307.674 |
CIE-LUV | 70.79, 94.38, 0, 30.2 |
Web Safe | 330099 |
RGB percent of color #340ab2
CMYK percent of color #340ab2
Text with hexadecimal color #340ab2
This text has a font color of #340ab2
<p style="color:#340ab2">Text here</p>
#340ab2 Background Color
This box has a background color of #340ab2
<div style="background-color:#340ab2">Text here</div>
#340ab2 Border Color
This box has a border color of #340ab2
<div style="border: 4px solid #340ab2">Text here</div>
CSS codes
<p style="color:#340ab2">Text here</p>
<div style="background-color:#340ab2">Text here</div>
<div style="border: 4px solid #340ab2">Text here</div>
#340ab2 Color on white background
This is how a font and box color of #340ab2 will look
on a white background.
#340ab2 Color on black background
This is how a font and box color of #340ab2 hex color will look
on a black background.