In RGB color space, #340fa5 hex color has a red value of 52, a green value of 15 and a blue value of 165.
In CMYK color space (used in color printing), #340fa5 hex color is composed of 68.48% cyan, 90.91% magenta, 0% yellow and 35.29% black.
#340fa5 color has a hue of 254.8 degrees, a saturation of 83.33% and a lightness of 35.3%.
#340fa5 hex color contains mainly BLUE.
The closest web safe color of #340fa5 is #330099
#340fa5 hex color has a decimal value of 3411877.
HEX | 340fa5 | #340fa5 |
---|---|---|
RGB | 52, 15, 165 | rgb(52, 15, 165) |
RGB Percent | 20.39, 5.88, 64.71 | rgb(20.39, 5.88, 64.71) |
CMYK | 68, 91, 0, 35 | |
HSL | 254.8°, 83.33, 35.3 | hsl(254.8, 83.33%, 35.3%) |
HSV | 254.8°, 90.9, 64.7 |
XYZ | 8.379, 3.788, 35.887 |
---|---|
Hunter Lab | 19.463, 42.787, -95.7 |
CIE-LAB | 22.958, 54.608, -70.983 |
CIE-LCH | 22.958, 89.558, 307.571 |
CIE-LUV | 68.48, 90.91, 0, 35.29 |
Web Safe | 330099 |
RGB percent of color #340fa5
CMYK percent of color #340fa5
Text with hexadecimal color #340fa5
This text has a font color of #340fa5
<p style="color:#340fa5">Text here</p>
#340fa5 Background Color
This box has a background color of #340fa5
<div style="background-color:#340fa5">Text here</div>
#340fa5 Border Color
This box has a border color of #340fa5
<div style="border: 4px solid #340fa5">Text here</div>
CSS codes
<p style="color:#340fa5">Text here</p>
<div style="background-color:#340fa5">Text here</div>
<div style="border: 4px solid #340fa5">Text here</div>
#340fa5 Color on white background
This is how a font and box color of #340fa5 will look
on a white background.
#340fa5 Color on black background
This is how a font and box color of #340fa5 hex color will look
on a black background.