#2a157e Color Information

In a RGB color space, hex #2a157e is composed of 16.5% red, 8.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 66.7% cyan, 83.3% magenta, 0% yellow and 50.6% black. It has a hue angle of 252 degrees, a saturation of 71.4% and a lightness of 28.8%. #2a157e color hex could be obtained by blending #542afc with #000000. Closest websafe color is: #330066.

    • R 16
    • G 8
    • B 49
    RGB color chart
    • C 67
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#2a157e color description : Dark blue.

#2a157e Color Conversion

The hexadecimal color #2a157e has RGB values of R:42, G:21, B:126 and CMYK values of C:0.67, M:0.83, Y:0, K:0.51. Its decimal value is 2758014.

Hex triplet 2a157e #2a157e
RGB Decimal 42, 21, 126 rgb(42,21,126)
RGB Percent 16.5, 8.2, 49.4 rgb(16.5%,8.2%,49.4%)
CMYK 67, 83, 0, 51
HSL 252°, 71.4, 28.8 hsl(252,71.4%,28.8%)
HSV (or HSB) 252°, 83.3, 49.4
Web Safe 330066 #330066
CIE-LAB 18.075, 40.325, -54.871
XYZ 4.988, 2.535, 19.964
xyY 0.181, 0.092, 2.535
CIE-LCH 18.075, 68.095, 306.312
CIE-LUV 18.075, -0.925, -57.954
Hunter-Lab 15.921, 28.065, -63.202
Binary 00101010, 00010101, 01111110

Color Schemes with #2a157e

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

Alternatives to #2a157e

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

Similar Colors

#2a157e Preview

Text with hexadecimal color #2a157e

This text has a font color of #2a157e.

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

This paragraph has a background color of #2a157e.

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

This element has a border color of #2a157e.

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

Shades and Tints of #2a157e

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

Shade Color Variation
Tint Color Variation

Tones of #2a157e

A tone is produced by adding gray to any pure hue. In this case, #49484b is the less saturated color, while #20048f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a157e 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
  • #272727 Achromatopsia 0.005% of the population
  • #282338 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #00385a Deuteranopia 1% of men
  • #003c40 Tritanopia 0.001% of the population
Trichromacy
  • #0f2970 Protanomaly 1% of men, 0.01% of women
  • #0f2b67 Deuteranomaly 6% of men, 0.4% of women
  • #0f2e56 Tritanomaly 0.01% of the population