COLOR #1B2551

HEX: #1B2551
RGB: (27,37,81)

Color info

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

RGB color model

#1B2551 color RGB value is (27,37,81).

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

RGB channels and saturation

R 27 of 255 = 11%
G 37 of 255 = 15%
B 81 of 255 = 32%

27
37
81

R + G + B ~ 19%. #1B2551 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 37 + 81 = 145 (100%)
R 27 of 145 ~ 18.62%
G 37 of 145 ~ 25.52%
B 81 of 145 ~ 55.86%

%18.62
%25.52
%55.86

CMYK color model

#1B2551 color CMYK value is (67,54,0,68).

  • cyan value is 66.67%
  • magenta value is 54.32%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(67,54,0,68)
C67M54Y0K68 
(67%,54%,0%,68%)
(0.67/0.54/0.00/0.68)	

CMYK percentages

%66.67
%54.32
%0
%68.24

Codes

Color #1B2551 in popluar color models

1B2551
RGB273781
HSL229°50.00%21.18%
HSB/HSV229°66.67%31.76%
CMYK66.67%54.32%0.00%
68.24%

Color #1B2551 in popluar number systems.

HEX1B2551
Decimal273781
Binary110111001011010001
Octal3345121

Shades and tints

Shades of #1B2551

#1B2551
(27,37,81)
#19224A
(25,34,74)
#171F43
(23,31,67)
#151C3C
(21,28,60)
#131935
(19,25,53)
#11162E
(17,22,46)
#0F1327
(15,19,39)
#0D1020
(13,16,32)
#0B0D19
(11,13,25)
#090A12
(9,10,18)
#07070B
(7,7,11)
#000000
(0,0,0)

Tints of #1B2551

#1B2551
(27,37,81)
#2F3860
(47,56,96)
#434B6F
(67,75,111)
#575E7E
(87,94,126)
#6B718D
(107,113,141)
#7F849C
(127,132,156)
#9397AB
(147,151,171)
#A7AABA
(167,170,186)
#BBBDC9
(187,189,201)
#CFD0D8
(207,208,216)
#E3E3E7
(227,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B2551; }

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

This text font color is #1B2551.


Background Color

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

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

This div background color is #1B2551.


Border color

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

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

This div border color is #1B2551.


Opacity

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

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

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

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

This text has shadow with #1B2551 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B2551 on black background.


Color preview on white background

This text has color #1B2551 on white background.



Black color preview on #1B2551 background

This text has black color on #1B2551 background.


White color preview on #1B2551 background

This text has white color on #1B2551 background.