In RGB color space, #340cb4 hex color has a red value of 52, a green value of 12 and a blue value of 180.
In CMYK color space (used in color printing), #340cb4 hex color is composed of 71.11% cyan, 93.33% magenta, 0% yellow and 29.41% black.
#340cb4 color has a hue of 254.3 degrees, a saturation of 87.5% and a lightness of 37.6%.
#340cb4 hex color contains mainly BLUE.
The closest web safe color of #340cb4 is #3300cc
#340cb4 hex color has a decimal value of 3411124.
HEX | 340cb4 | #340cb4 |
---|---|---|
RGB | 52, 12, 180 | rgb(52, 12, 180) |
RGB Percent | 20.39, 4.71, 70.59 | rgb(20.39, 4.71, 70.59) |
CMYK | 71, 93, 0, 29 | |
HSL | 254.3°, 87.5, 37.6 | hsl(254.3, 87.5%, 37.6%) |
HSV | 254.3°, 93.3, 70.6 |
XYZ | 9.786, 4.288, 43.492 |
---|---|
Hunter Lab | 20.707, 48.118, -110.032 |
CIE-LAB | 24.602, 59.34, -77.289 |
CIE-LCH | 24.602, 97.441, 307.516 |
CIE-LUV | 71.11, 93.33, 0, 29.41 |
Web Safe | 3300cc |
RGB percent of color #340cb4
CMYK percent of color #340cb4
Text with hexadecimal color #340cb4
This text has a font color of #340cb4
<p style="color:#340cb4">Text here</p>
#340cb4 Background Color
This box has a background color of #340cb4
<div style="background-color:#340cb4">Text here</div>
#340cb4 Border Color
This box has a border color of #340cb4
<div style="border: 4px solid #340cb4">Text here</div>
CSS codes
<p style="color:#340cb4">Text here</p>
<div style="background-color:#340cb4">Text here</div>
<div style="border: 4px solid #340cb4">Text here</div>
#340cb4 Color on white background
This is how a font and box color of #340cb4 will look
on a white background.
#340cb4 Color on black background
This is how a font and box color of #340cb4 hex color will look
on a black background.