In RGB color space, #340ca4 hex color has a red value of 52, a green value of 12 and a blue value of 164.
In CMYK color space (used in color printing), #340ca4 hex color is composed of 68.29% cyan, 92.68% magenta, 0% yellow and 35.69% black.
#340ca4 color has a hue of 255.8 degrees, a saturation of 86.36% and a lightness of 34.5%.
#340ca4 hex color contains mainly BLUE.
The closest web safe color of #340ca4 is #330099
#340ca4 hex color has a decimal value of 3411108.
HEX | 340ca4 | #340ca4 |
---|---|---|
RGB | 52, 12, 164 | rgb(52, 12, 164) |
RGB Percent | 20.39, 4.71, 64.31 | rgb(20.39, 4.71, 64.31) |
CMYK | 68, 93, 0, 36 | |
HSL | 255.8°, 86.36, 34.5 | hsl(255.8, 86.36%, 34.5%) |
HSV | 255.8°, 92.7, 64.3 |
XYZ | 8.248, 3.673, 35.396 |
---|---|
Hunter Lab | 19.165, 43.281, -96.087 |
CIE-LAB | 22.56, 55.159, -71.037 |
CIE-LCH | 22.56, 89.938, 307.829 |
CIE-LUV | 68.29, 92.68, 0, 35.69 |
Web Safe | 330099 |
RGB percent of color #340ca4
CMYK percent of color #340ca4
Text with hexadecimal color #340ca4
This text has a font color of #340ca4
<p style="color:#340ca4">Text here</p>
#340ca4 Background Color
This box has a background color of #340ca4
<div style="background-color:#340ca4">Text here</div>
#340ca4 Border Color
This box has a border color of #340ca4
<div style="border: 4px solid #340ca4">Text here</div>
CSS codes
<p style="color:#340ca4">Text here</p>
<div style="background-color:#340ca4">Text here</div>
<div style="border: 4px solid #340ca4">Text here</div>
#340ca4 Color on white background
This is how a font and box color of #340ca4 will look
on a white background.
#340ca4 Color on black background
This is how a font and box color of #340ca4 hex color will look
on a black background.