In RGB color space, #340ed6 hex color has a red value of 52, a green value of 14 and a blue value of 214.
In CMYK color space (used in color printing), #340ed6 hex color is composed of 75.7% cyan, 93.46% magenta, 0% yellow and 16.08% black.
#340ed6 color has a hue of 251.4 degrees, a saturation of 87.72% and a lightness of 44.7%.
#340ed6 hex color contains mainly BLUE.
The closest web safe color of #340ed6 is #3300cc
#340ed6 hex color has a decimal value of 3411670.
HEX | 340ed6 | #340ed6 |
---|---|---|
RGB | 52, 14, 214 | rgb(52, 14, 214) |
RGB Percent | 20.39, 5.49, 83.92 | rgb(20.39, 5.49, 83.92) |
CMYK | 76, 93, 0, 16 | |
HSL | 251.4°, 87.72, 44.7 | hsl(251.4, 87.72%, 44.7%) |
HSV | 251.4°, 93.5, 83.9 |
XYZ | 13.711, 5.899, 64.034 |
---|---|
Hunter Lab | 24.288, 58.263, -139.314 |
CIE-LAB | 29.156, 67.59, -89.708 |
CIE-LCH | 29.156, 112.321, 306.996 |
CIE-LUV | 75.7, 93.46, 0, 16.08 |
Web Safe | 3300cc |
RGB percent of color #340ed6
CMYK percent of color #340ed6
Text with hexadecimal color #340ed6
This text has a font color of #340ed6
<p style="color:#340ed6">Text here</p>
#340ed6 Background Color
This box has a background color of #340ed6
<div style="background-color:#340ed6">Text here</div>
#340ed6 Border Color
This box has a border color of #340ed6
<div style="border: 4px solid #340ed6">Text here</div>
CSS codes
<p style="color:#340ed6">Text here</p>
<div style="background-color:#340ed6">Text here</div>
<div style="border: 4px solid #340ed6">Text here</div>
#340ed6 Color on white background
This is how a font and box color of #340ed6 will look
on a white background.
#340ed6 Color on black background
This is how a font and box color of #340ed6 hex color will look
on a black background.