COLOR #1871BA

HEX: #1871BA
RGB: (24,113,186)

Color info

#1871BA contains mainly blue color. Web safe color of #1871BA is #0066CC (or #06C).

RGB color model

#1871BA color RGB value is (24,113,186).

  • red value is 24;
  • green value is 113;
  • blue value is 186.
RGB:
(24,113,186)
(9%,44%,73%)

RGB channels and saturation

R 24 of 255 = 9%
G 113 of 255 = 44%
B 186 of 255 = 73%

24
113
186

R + G + B ~ 42%. #1871BA is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
24 + 113 + 186 = 323 (100%)
R 24 of 323 ~ 7.43%
G 113 of 323 ~ 34.98%
B 186 of 323 ~ 57.59%

%34.98
%57.59

CMYK color model

#1871BA color CMYK value is (87,39,0,27).

  • cyan value is 87.10%
  • magenta value is 39.25%
  • yellow value is 0.00%
  • key color value is 27.06%
CMYK:
(87,39,0,27)
C87M39Y0K27 
(87%,39%,0%,27%)
(0.87/0.39/0.00/0.27)	

CMYK percentages

%87.1
%39.25
%0
%27.06

Codes

Color #1871BA in popluar color models

1871BA
RGB24113186
HSL207°77.14%41.18%
HSB/HSV207°87.10%72.94%
CMYK87.10%39.25%0.00%
27.06%

Color #1871BA in popluar number systems.

HEX1871BA
Decimal24113186
Binary11000111000110111010
Octal30161272

Shades and tints

Shades of #1871BA

#1871BA
(24,113,186)
#1667AA
(22,103,170)
#145D9A
(20,93,154)
#12538A
(18,83,138)
#10497A
(16,73,122)
#0E3F6A
(14,63,106)
#0C355A
(12,53,90)
#0A2B4A
(10,43,74)
#08213A
(8,33,58)
#06172A
(6,23,42)
#040D1A
(4,13,26)
#000000
(0,0,0)

Tints of #1871BA

#1871BA
(24,113,186)
#2D7DC0
(45,125,192)
#4289C6
(66,137,198)
#5795CC
(87,149,204)
#6CA1D2
(108,161,210)
#81ADD8
(129,173,216)
#96B9DE
(150,185,222)
#ABC5E4
(171,197,228)
#C0D1EA
(192,209,234)
#D5DDF0
(213,221,240)
#EAE9F6
(234,233,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1871BA color. Also use rgb(24,113,186) instead hex code.

Text Font Color

.myTextColor { color: #1871BA; }

<p style="color:#1871BA">This sample text font color is #1871BA.</p>

This text font color is #1871BA.


Background Color

.myBgColor { background-color: #1871BA; }

<div style="background-color:#1871BA">Inner text</div>

This div background color is #1871BA.


Border color

.myBorderColor { border: 1px solid #1871BA; }

<div style="border:3px solid #1871BA">Div</div>

This div border color is #1871BA.


Opacity

.myOpacity80 { color: #1871BA; opacity: 0.8; }

<p style="color:#1871BA;opacity:0.8;">80%</p>

Text with #1871BA color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #1871BA;}

<p style="text-shadow: 3px 3px 1px #1871BA">Text here.</p>

This text has shadow with #1871BA color.

.textShadow {text-shadow: 3px 3px 1px #1871BA, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #1871BA, 5px 5px 20px red">Text here.</p>

This text has shadow with #1871BA primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#1871BA, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#1871BA, Direction=45, Strength=4)">Text</p>

This text has shadow with #1871BA and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #1871BA;
  -webkit-box-shadow:	1px 1px 3px 2px #1871BA;
  box-shadow:		1px 1px 3px 2px #1871BA;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #1871BA;
-webkit-box-shadow: 1px 1px 3px 2px #1871BA;
box-shadow:1px 1px 3px 2px #1871BA;">
Div content here</div>
This div box has shadow with color #1871BA.

Preview

Color preview on black background

This text has color #1871BA on black background.


Color preview on white background

This text has color #1871BA on white background.



Black color preview on #1871BA background

This text has black color on #1871BA background.


White color preview on #1871BA background

This text has white color on #1871BA background.