#2871b2 Color Information

In a RGB color space, hex #2871b2 is composed of 15.7% red, 44.3% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 77.5% cyan, 36.5% magenta, 0% yellow and 30.2% black. It has a hue angle of 208.3 degrees, a saturation of 63.3% and a lightness of 42.7%. #2871b2 color hex could be obtained by blending #50e2ff with #000065. Closest websafe color is: #336699.

    • R 16
    • G 44
    • B 70
    RGB color chart
    • C 78
    • M 37
    • Y 0
    • K 30
    CMYK color chart

#2871b2 color description : Dark blue.

#2871b2 Color Conversion

The hexadecimal color #2871b2 has RGB values of R:40, G:113, B:178 and CMYK values of C:0.78, M:0.37, Y:0, K:0.3. Its decimal value is 2650546.

Hex triplet 2871b2 #2871b2
RGB Decimal 40, 113, 178 rgb(40,113,178)
RGB Percent 15.7, 44.3, 69.8 rgb(15.7%,44.3%,69.8%)
CMYK 78, 37, 0, 30
HSL 208.3°, 63.3, 42.7 hsl(208.3,63.3%,42.7%)
HSV (or HSB) 208.3°, 77.5, 69.8
Web Safe 336699 #336699
CIE-LAB 46.277, 0.644, -40.85
XYZ 14.814, 15.475, 44.323
xyY 0.199, 0.207, 15.475
CIE-LCH 46.277, 40.855, 270.903
CIE-LUV 46.277, -25.184, -61.207
Hunter-Lab 39.338, -1.619, -39.268
Binary 00101000, 01110001, 10110010

Color Schemes with #2871b2

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

Alternatives to #2871b2

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

Similar Colors

#2871b2 Preview

Text with hexadecimal color #2871b2

This text has a font color of #2871b2.

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

This paragraph has a background color of #2871b2.

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

This element has a border color of #2871b2.

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

Shades and Tints of #2871b2

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

Shade Color Variation
Tint Color Variation

Tones of #2871b2

A tone is produced by adding gray to any pure hue. In this case, #6b6d6f is the less saturated color, while #0673d4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2871b2 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
  • #636363 Achromatopsia 0.005% of the population
  • #576673 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5b73b1 Protanopia 1% of men
  • #4775b7 Deuteranopia 1% of men
  • #008089 Tritanopia 0.001% of the population
Trichromacy
  • #4872b1 Protanomaly 1% of men, 0.01% of women
  • #3c74b5 Deuteranomaly 6% of men, 0.4% of women
  • #0e7a98 Tritanomaly 0.01% of the population