#340fa5 Color Information

In a RGB color space, hex #340fa5 is composed of 20.4% red, 5.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 68.5% cyan, 90.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 254.8 degrees, a saturation of 83.3% and a lightness of 35.3%. #340fa5 color hex could be obtained by blending #681eff with #00004b. Closest websafe color is: #330099.

    • R 20
    • G 6
    • B 65
    RGB color chart
    • C 68
    • M 91
    • Y 0
    • K 35
    CMYK color chart

#340fa5 color description : Dark blue.

#340fa5 Color Conversion

The hexadecimal color #340fa5 has RGB values of R:52, G:15, B:165 and CMYK values of C:0.68, M:0.91, Y:0, K:0.35. Its decimal value is 3411877.

Hex triplet 340fa5 #340fa5
RGB Decimal 52, 15, 165 rgb(52,15,165)
RGB Percent 20.4, 5.9, 64.7 rgb(20.4%,5.9%,64.7%)
CMYK 68, 91, 0, 35
HSL 254.8°, 83.3, 35.3 hsl(254.8,83.3%,35.3%)
HSV (or HSB) 254.8°, 90.9, 64.7
Web Safe 330099 #330099
CIE-LAB 22.958, 54.593, -70.98
XYZ 8.377, 3.788, 35.885
xyY 0.174, 0.079, 3.788
CIE-LCH 22.958, 89.547, 307.565
CIE-LUV 22.958, -1.188, -80.911
Hunter-Lab 19.463, 42.771, -95.694
Binary 00110100, 00001111, 10100101

Color Schemes with #340fa5

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

Alternatives to #340fa5

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

Similar Colors

#340fa5 Preview

Text with hexadecimal color #340fa5

This text has a font color of #340fa5.

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

This paragraph has a background color of #340fa5.

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

This element has a border color of #340fa5.

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

Shades and Tints of #340fa5

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

Shade Color Variation
Tint Color Variation

Tones of #340fa5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340fa5 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
  • #2d2543 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7a Protanopia 1% of men
  • #00436a Deuteranopia 1% of men
  • #00474b Tritanopia 0.001% of the population
Trichromacy
  • #122d8a Protanomaly 1% of men, 0.01% of women
  • #12307f Deuteranomaly 6% of men, 0.4% of women
  • #12336c Tritanomaly 0.01% of the population