#2871a4 Color Information

In a RGB color space, hex #2871a4 is composed of 15.7% red, 44.3% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 75.6% cyan, 31.1% magenta, 0% yellow and 35.7% black. It has a hue angle of 204.7 degrees, a saturation of 60.8% and a lightness of 40%. #2871a4 color hex could be obtained by blending #50e2ff with #000049. Closest websafe color is: #336699.

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

#2871a4 color description : Dark blue.

#2871a4 Color Conversion

The hexadecimal color #2871a4 has RGB values of R:40, G:113, B:164 and CMYK values of C:0.76, M:0.31, Y:0, K:0.36. Its decimal value is 2650532.

Hex triplet 2871a4 #2871a4
RGB Decimal 40, 113, 164 rgb(40,113,164)
RGB Percent 15.7, 44.3, 64.3 rgb(15.7%,44.3%,64.3%)
CMYK 76, 31, 0, 36
HSL 204.7°, 60.8, 40 hsl(204.7,60.8%,40%)
HSV (or HSB) 204.7°, 75.6, 64.3
Web Safe 336699 #336699
CIE-LAB 45.553, -4.57, -33.808
XYZ 13.479, 14.941, 37.293
xyY 0.205, 0.227, 14.941
CIE-LCH 45.553, 34.115, 262.302
CIE-LUV 45.553, -25.793, -49.486
Hunter-Lab 38.653, -5.395, -30.147
Binary 00101000, 01110001, 10100100

Color Schemes with #2871a4

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

Alternatives to #2871a4

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

Similar Colors

#2871a4 Preview

Text with hexadecimal color #2871a4

This text has a font color of #2871a4.

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

This paragraph has a background color of #2871a4.

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

This element has a border color of #2871a4.

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

Shades and Tints of #2871a4

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

Shade Color Variation
Tint Color Variation

Tones of #2871a4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2871a4 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
  • #6171a3 Protanopia 1% of men
  • #5573aa Deuteranopia 1% of men
  • #007e87 Tritanopia 0.001% of the population
Trichromacy
  • #4c71a3 Protanomaly 1% of men, 0.01% of women
  • #4472a8 Deuteranomaly 6% of men, 0.4% of women
  • #0e7992 Tritanomaly 0.01% of the population