#340fab Color Information

In a RGB color space, hex #340fab is composed of 20.4% red, 5.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 69.6% cyan, 91.2% magenta, 0% yellow and 32.9% black. It has a hue angle of 254.2 degrees, a saturation of 83.9% and a lightness of 36.5%. #340fab color hex could be obtained by blending #681eff with #000057. Closest websafe color is: #330099.

    • R 20
    • G 6
    • B 67
    RGB color chart
    • C 70
    • M 91
    • Y 0
    • K 33
    CMYK color chart

#340fab color description : Dark blue.

#340fab Color Conversion

The hexadecimal color #340fab has RGB values of R:52, G:15, B:171 and CMYK values of C:0.7, M:0.91, Y:0, K:0.33. Its decimal value is 3411883.

Hex triplet 340fab #340fab
RGB Decimal 52, 15, 171 rgb(52,15,171)
RGB Percent 20.4, 5.9, 67.1 rgb(20.4%,5.9%,67.1%)
CMYK 70, 91, 0, 33
HSL 254.2°, 83.9, 36.5 hsl(254.2,83.9%,36.5%)
HSV (or HSB) 254.2°, 91.2, 67.1
Web Safe 330099 #330099
CIE-LAB 23.71, 56.195, -73.363
XYZ 8.936, 4.012, 38.829
xyY 0.173, 0.077, 4.012
CIE-LCH 23.71, 92.413, 307.452
CIE-LUV 23.71, -1.617, -84.394
Hunter-Lab 20.029, 44.591, -100.923
Binary 00110100, 00001111, 10101011

Color Schemes with #340fab

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

Alternatives to #340fab

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

Similar Colors

#340fab Preview

Text with hexadecimal color #340fab

This text has a font color of #340fab.

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

This paragraph has a background color of #340fab.

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

This element has a border color of #340fab.

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

Shades and Tints of #340fab

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

Shade Color Variation
Tint Color Variation

Tones of #340fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340fab 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #2e2645 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00446c Deuteranopia 1% of men
  • #00494d Tritanopia 0.001% of the population
Trichromacy
  • #122e8e Protanomaly 1% of men, 0.01% of women
  • #123183 Deuteranomaly 6% of men, 0.4% of women
  • #12346f Tritanomaly 0.01% of the population