#2871a2 Color Information

In a RGB color space, hex #2871a2 is composed of 15.7% red, 44.3% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 75.3% cyan, 30.2% magenta, 0% yellow and 36.5% black. It has a hue angle of 204.1 degrees, a saturation of 60.4% and a lightness of 39.6%. #2871a2 color hex could be obtained by blending #50e2ff with #000045. Closest websafe color is: #336699.

    • R 16
    • G 44
    • B 64
    RGB color chart
    • C 75
    • M 30
    • Y 0
    • K 36
    CMYK color chart

#2871a2 color description : Dark blue.

#2871a2 Color Conversion

The hexadecimal color #2871a2 has RGB values of R:40, G:113, B:162 and CMYK values of C:0.75, M:0.3, Y:0, K:0.36. Its decimal value is 2650530.

Hex triplet 2871a2 #2871a2
RGB Decimal 40, 113, 162 rgb(40,113,162)
RGB Percent 15.7, 44.3, 63.5 rgb(15.7%,44.3%,63.5%)
CMYK 75, 30, 0, 36
HSL 204.1°, 60.4, 39.6 hsl(204.1,60.4%,39.6%)
HSV (or HSB) 204.1°, 75.3, 63.5
Web Safe 336699 #336699
CIE-LAB 45.454, -5.305, -32.787
XYZ 13.3, 14.869, 36.349
xyY 0.206, 0.23, 14.869
CIE-LCH 45.454, 33.214, 260.809
CIE-LUV 45.454, -25.885, -47.793
Hunter-Lab 38.56, -5.912, -28.899
Binary 00101000, 01110001, 10100010

Color Schemes with #2871a2

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

Alternatives to #2871a2

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

Similar Colors

#2871a2 Preview

Text with hexadecimal color #2871a2

This text has a font color of #2871a2.

<span style="color:#2871a2;">Text here</span>
#2871a2 background color

This paragraph has a background color of #2871a2.

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

This element has a border color of #2871a2.

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

Shades and Tints of #2871a2

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

Shade Color Variation
Tint Color Variation

Tones of #2871a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2871a2 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
  • #616161 Achromatopsia 0.005% of the population
  • #56646e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #6271a1 Protanopia 1% of men
  • #5672a9 Deuteranopia 1% of men
  • #007e87 Tritanopia 0.001% of the population
Trichromacy
  • #4d71a1 Protanomaly 1% of men, 0.01% of women
  • #4572a6 Deuteranomaly 6% of men, 0.4% of women
  • #0e7991 Tritanomaly 0.01% of the population