#340ea8 Color Information

In a RGB color space, hex #340ea8 is composed of 20.4% red, 5.5% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 69% cyan, 91.7% magenta, 0% yellow and 34.1% black. It has a hue angle of 254.8 degrees, a saturation of 84.6% and a lightness of 35.7%. #340ea8 color hex could be obtained by blending #681cff with #000051. Closest websafe color is: #330099.

    • R 20
    • G 5
    • B 66
    RGB color chart
    • C 69
    • M 92
    • Y 0
    • K 34
    CMYK color chart

#340ea8 color description : Dark blue.

#340ea8 Color Conversion

The hexadecimal color #340ea8 has RGB values of R:52, G:14, B:168 and CMYK values of C:0.69, M:0.92, Y:0, K:0.34. Its decimal value is 3411624.

Hex triplet 340ea8 #340ea8
RGB Decimal 52, 14, 168 rgb(52,14,168)
RGB Percent 20.4, 5.5, 65.9 rgb(20.4%,5.5%,65.9%)
CMYK 69, 92, 0, 34
HSL 254.8°, 84.6, 35.7 hsl(254.8,84.6%,35.7%)
HSV (or HSB) 254.8°, 91.7, 65.9
Web Safe 330099 #330099
CIE-LAB 23.24, 55.677, -72.331
XYZ 8.64, 3.871, 37.336
xyY 0.173, 0.078, 3.871
CIE-LCH 23.24, 91.278, 307.587
CIE-LUV 23.24, -1.347, -82.598
Hunter-Lab 19.675, 43.955, -98.739
Binary 00110100, 00001110, 10101000

Color Schemes with #340ea8

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

Alternatives to #340ea8

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

Similar Colors

#340ea8 Preview

Text with hexadecimal color #340ea8

This text has a font color of #340ea8.

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

This paragraph has a background color of #340ea8.

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

This element has a border color of #340ea8.

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

Shades and Tints of #340ea8

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, #020005 is the darkest color, while #f5f2fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340ea8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340ea8 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2d2544 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7c Protanopia 1% of men
  • #00436b Deuteranopia 1% of men
  • #00484c Tritanopia 0.001% of the population
Trichromacy
  • #122d8c Protanomaly 1% of men, 0.01% of women
  • #123081 Deuteranomaly 6% of men, 0.4% of women
  • #12336d Tritanomaly 0.01% of the population