#340ea4 Color Information

In a RGB color space, hex #340ea4 is composed of 20.4% red, 5.5% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 68.3% cyan, 91.5% magenta, 0% yellow and 35.7% black. It has a hue angle of 255.2 degrees, a saturation of 84.3% and a lightness of 34.9%. #340ea4 color hex could be obtained by blending #681cff with #000049. Closest websafe color is: #330099.

    • R 20
    • G 5
    • B 64
    RGB color chart
    • C 68
    • M 91
    • Y 0
    • K 36
    CMYK color chart

#340ea4 color description : Dark violet.

#340ea4 Color Conversion

The hexadecimal color #340ea4 has RGB values of R:52, G:14, B:164 and CMYK values of C:0.68, M:0.91, Y:0, K:0.36. Its decimal value is 3411620.

Hex triplet 340ea4 #340ea4
RGB Decimal 52, 14, 164 rgb(52,14,164)
RGB Percent 20.4, 5.5, 64.3 rgb(20.4%,5.5%,64.3%)
CMYK 68, 91, 0, 36
HSL 255.2°, 84.3, 34.9 hsl(255.2,84.3%,34.9%)
HSV (or HSB) 255.2°, 91.5, 64.3
Web Safe 330099 #330099
CIE-LAB 22.738, 54.613, -70.738
XYZ 8.273, 3.724, 35.403
xyY 0.175, 0.079, 3.724
CIE-LCH 22.738, 89.367, 307.67
CIE-LUV 22.738, -1.058, -80.274
Hunter-Lab 19.298, 42.749, -95.261
Binary 00110100, 00001110, 10100100

Color Schemes with #340ea4

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #340ea4

Below, you can see some colors close to #340ea4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#340ea4 Preview

Text with hexadecimal color #340ea4

This text has a font color of #340ea4.

<span style="color:#340ea4;">Text here</span>
#340ea4 background color

This paragraph has a background color of #340ea4.

<p style="background-color:#340ea4;">Content here</p>
#340ea4 border color

This element has a border color of #340ea4.

<div style="border:1px solid #340ea4;">Content here</div>
CSS codes
.text {color:#340ea4;}
.background {background-color:#340ea4;}
.border {border:1px solid #340ea4;}

Shades and Tints of #340ea4

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000001 is the darkest color, while #f2eefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340ea4

A tone is produced by adding gray to any pure hue. In this case, #565260 is the less saturated color, while #2d00b2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340ea4 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2c2442 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e7a Protanopia 1% of men
  • #004269 Deuteranopia 1% of men
  • #00474b Tritanopia 0.001% of the population
Trichromacy
  • #122d89 Protanomaly 1% of men, 0.01% of women
  • #122f7e Deuteranomaly 6% of men, 0.4% of women
  • #12326b Tritanomaly 0.01% of the population