COLOR #1B1E51

HEX: #1B1E51
RGB: (27,30,81)

Color info

#1B1E51 contains red, green and blue colors in about the same proportion. Web safe color of #1B1E51 is #333366 (or #336).

RGB color model

#1B1E51 color RGB value is (27,30,81).

  • red value is 27;
  • green value is 30;
  • blue value is 81.
RGB:
(27,30,81)
(11%,12%,32%)

RGB channels and saturation

R 27 of 255 = 11%
G 30 of 255 = 12%
B 81 of 255 = 32%

27
30
81

R + G + B ~ 18%. #1B1E51 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 30 + 81 = 138 (100%)
R 27 of 138 ~ 19.57%
G 30 of 138 ~ 21.74%
B 81 of 138 ~ 58.7%

%19.57
%21.74
%58.7

CMYK color model

#1B1E51 color CMYK value is (67,63,0,68).

  • cyan value is 66.67%
  • magenta value is 62.96%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(67,63,0,68)
C67M63Y0K68 
(67%,63%,0%,68%)
(0.67/0.63/0.00/0.68)	

CMYK percentages

%66.67
%62.96
%0
%68.24

Codes

Color #1B1E51 in popluar color models

1B1E51
RGB273081
HSL237°50.00%21.18%
HSB/HSV237°66.67%31.76%
CMYK66.67%62.96%0.00%
68.24%

Color #1B1E51 in popluar number systems.

HEX1B1E51
Decimal273081
Binary11011111101010001
Octal3336121

Shades and tints

Shades of #1B1E51

#1B1E51
(27,30,81)
#191C4A
(25,28,74)
#171A43
(23,26,67)
#15183C
(21,24,60)
#131635
(19,22,53)
#11142E
(17,20,46)
#0F1227
(15,18,39)
#0D1020
(13,16,32)
#0B0E19
(11,14,25)
#090C12
(9,12,18)
#070A0B
(7,10,11)
#000000
(0,0,0)

Tints of #1B1E51

#1B1E51
(27,30,81)
#2F3260
(47,50,96)
#43466F
(67,70,111)
#575A7E
(87,90,126)
#6B6E8D
(107,110,141)
#7F829C
(127,130,156)
#9396AB
(147,150,171)
#A7AABA
(167,170,186)
#BBBEC9
(187,190,201)
#CFD2D8
(207,210,216)
#E3E6E7
(227,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B1E51 color. Also use rgb(27,30,81) instead hex code.

Text Font Color

.myTextColor { color: #1B1E51; }

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

This text font color is #1B1E51.


Background Color

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

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

This div background color is #1B1E51.


Border color

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

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

This div border color is #1B1E51.


Opacity

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

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

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

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

This text has shadow with #1B1E51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1E51 on black background.


Color preview on white background

This text has color #1B1E51 on white background.



Black color preview on #1B1E51 background

This text has black color on #1B1E51 background.


White color preview on #1B1E51 background

This text has white color on #1B1E51 background.