COLOR #1B3387

HEX: #1B3387
RGB: (27,51,135)

Color info

#1B3387 contains mainly blue color. Web safe color of #1B3387 is #333399 (or #339).

RGB color model

#1B3387 color RGB value is (27,51,135).

  • red value is 27;
  • green value is 51;
  • blue value is 135.
RGB:
(27,51,135)
(11%,20%,53%)

RGB channels and saturation

R 27 of 255 = 11%
G 51 of 255 = 20%
B 135 of 255 = 53%

27
51
135

R + G + B ~ 28%. #1B3387 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 51 + 135 = 213 (100%)
R 27 of 213 ~ 12.68%
G 51 of 213 ~ 23.94%
B 135 of 213 ~ 63.38%

%12.68
%23.94
%63.38

CMYK color model

#1B3387 color CMYK value is (80,62,0,47).

  • cyan value is 80.00%
  • magenta value is 62.22%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(80,62,0,47)
C80M62Y0K47 
(80%,62%,0%,47%)
(0.80/0.62/0.00/0.47)	

CMYK percentages

%80
%62.22
%0
%47.06

Codes

Color #1B3387 in popluar color models

1B3387
RGB2751135
HSL227°66.67%31.76%
HSB/HSV227°80.00%52.94%
CMYK80.00%62.22%0.00%
47.06%

Color #1B3387 in popluar number systems.

HEX1B3387
Decimal2751135
Binary1101111001110000111
Octal3363207

Shades and tints

Shades of #1B3387

#1B3387
(27,51,135)
#192F7B
(25,47,123)
#172B6F
(23,43,111)
#152763
(21,39,99)
#132357
(19,35,87)
#111F4B
(17,31,75)
#0F1B3F
(15,27,63)
#0D1733
(13,23,51)
#0B1327
(11,19,39)
#090F1B
(9,15,27)
#070B0F
(7,11,15)
#000000
(0,0,0)

Tints of #1B3387

#1B3387
(27,51,135)
#2F4591
(47,69,145)
#43579B
(67,87,155)
#5769A5
(87,105,165)
#6B7BAF
(107,123,175)
#7F8DB9
(127,141,185)
#939FC3
(147,159,195)
#A7B1CD
(167,177,205)
#BBC3D7
(187,195,215)
#CFD5E1
(207,213,225)
#E3E7EB
(227,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B3387 color. Also use rgb(27,51,135) instead hex code.

Text Font Color

.myTextColor { color: #1B3387; }

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

This text font color is #1B3387.


Background Color

.myBgColor { background-color: #1B3387; }

<div style="background-color:#1B3387">Inner text</div>

This div background color is #1B3387.


Border color

.myBorderColor { border: 1px solid #1B3387; }

<div style="border:3px solid #1B3387">Div</div>

This div border color is #1B3387.


Opacity

.myOpacity80 { color: #1B3387; opacity: 0.8; }

<p style="color:#1B3387;opacity:0.8;">80%</p>

Text with #1B3387 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 #1B3387;}

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

This text has shadow with #1B3387 color.

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

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

This text has shadow with #1B3387 primary color and red secondary color.


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

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

This text has shadow with #1B3387 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B3387 on black background.


Color preview on white background

This text has color #1B3387 on white background.



Black color preview on #1B3387 background

This text has black color on #1B3387 background.


White color preview on #1B3387 background

This text has white color on #1B3387 background.