colorhexa.com

#2a1b8e hex color

In a RGB color space, hex #2a1b8e is composed of 16.5% red, 10.6% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 70.4% cyan, 81% magenta, 0% yellow and 44.3% black. It has a hue angle of 247.8 degrees, a saturation of 68% and a lightness of 33.1%. #2a1b8e color hex could be obtained by blending #5436ff with #00001d. Closest websafe color is: #333399.

    • R 16
    • G 11
    • B 56

    RGB color chart

    • C 70
    • M 81
    • Y 0
    • K 44

    CMYK color chart

#2a1b8e color description : Dark blue.

The hexadecimal color #2a1b8e has RGB values of R:42, G:27, B:142 and CMYK values of C:0.7, M:0.81, Y:0, K:0.44. Its decimal value is 2759566.

Hex triplet 2a1b8e #2a1b8e
RGB Decimal 42, 27, 142 rgb(42,27,142)
RGB Percent 16.5, 10.6, 55.7 rgb(16.5%,10.6%,55.7%)
CMYK 70, 81, 0, 44
HSL 247.8°, 68, 33.1 hsl(247.8,68%,33.1%)
HSV (or HSB) 247.8°, 81, 55.7
Web Safe 333399 #333399
CIE-LAB 20.938, 42.365, -60.21
XYZ 6.228, 3.229, 25.885
xyY 0.176, 0.091, 3.229
CIE-LCH 20.938, 73.621, 305.131
CIE-LUV 20.938, -2.6, -67.698
Hunter-Lab 17.969, 30.426, -72.831
Binary 00101010, 00011011, 10001110

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #2a1b8e

This text has a font color of #2a1b8e.

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

#2a1b8e background color

This paragraph has a background color of #2a1b8e.

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

#2a1b8e border color

This element has a border color of #2a1b8e.

<div style="border:1px solid #2a1b8e;">Content here</div>

CSS codes

.text {color:#2a1b8e;}
.background {background-color:#2a1b8e;}
.border {border:1px solid #2a1b8e;}

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, #03020a is the darkest color, while #f9f9fe is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #504f5a is the less saturated color, while #1701a8 is the most saturated one.

Tone Color Variation

Below, you can see how #2a1b8e 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

  • #2d2d2d Achromatopsia 0.005% of the population
  • #2c2940 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003b73 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population

Trichromacy

  • #0f2f7c Protanomaly 1% of men, 0.01% of women
  • #0f3173 Deuteranomaly 6% of men, 0.4% of women
  • #0f3460 Tritanomaly 0.01% of the population