#2a1fab Color Information

In a RGB color space, hex #2a1fab is composed of 16.5% red, 12.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 75.4% cyan, 81.9% magenta, 0% yellow and 32.9% black. It has a hue angle of 244.7 degrees, a saturation of 69.3% and a lightness of 39.6%. #2a1fab color hex could be obtained by blending #543eff with #000057. Closest websafe color is: #333399.

    • R 16
    • G 12
    • B 67
    RGB color chart
    • C 75
    • M 82
    • Y 0
    • K 33
    CMYK color chart

#2a1fab color description : Dark blue.

#2a1fab Color Conversion

The hexadecimal color #2a1fab has RGB values of R:42, G:31, B:171 and CMYK values of C:0.75, M:0.82, Y:0, K:0.33. Its decimal value is 2760619.

Hex triplet 2a1fab #2a1fab
RGB Decimal 42, 31, 171 rgb(42,31,171)
RGB Percent 16.5, 12.2, 67.1 rgb(16.5%,12.2%,67.1%)
CMYK 75, 82, 0, 33
HSL 244.7°, 69.3, 39.6 hsl(244.7,69.3%,39.6%)
HSV (or HSB) 244.7°, 81.9, 67.1
Web Safe 333399 #333399
CIE-LAB 24.989, 49.468, -71.26
XYZ 8.794, 4.412, 38.914
xyY 0.169, 0.085, 4.412
CIE-LCH 24.989, 86.747, 304.768
CIE-LUV 24.989, -4.664, -84.859
Hunter-Lab 21.005, 37.975, -95.139
Binary 00101010, 00011111, 10101011

Color Schemes with #2a1fab

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

Alternatives to #2a1fab

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

Similar Colors

#2a1fab Preview

Text with hexadecimal color #2a1fab

This text has a font color of #2a1fab.

<span style="color:#2a1fab;">Text here</span>
#2a1fab background color

This paragraph has a background color of #2a1fab.

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

This element has a border color of #2a1fab.

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

Shades and Tints of #2a1fab

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

Shade Color Variation
Tint Color Variation

Tones of #2a1fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a1fab 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
  • #323232 Achromatopsia 0.005% of the population
  • #302e4a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004771 Deuteranopia 1% of men
  • #004c50 Tritanopia 0.001% of the population
Trichromacy
  • #0f3691 Protanomaly 1% of men, 0.01% of women
  • #0f3886 Deuteranomaly 6% of men, 0.4% of women
  • #0f3b71 Tritanomaly 0.01% of the population