COLOR #1B2F57

HEX: #1B2F57
RGB: (27,47,87)

Color info

#1B2F57 contains mainly green and blue colors. Web safe color of #1B2F57 is #333366 (or #336).

RGB color model

#1B2F57 color RGB value is (27,47,87).

  • red value is 27;
  • green value is 47;
  • blue value is 87.
RGB:
(27,47,87)
(11%,18%,34%)

RGB channels and saturation

R 27 of 255 = 11%
G 47 of 255 = 18%
B 87 of 255 = 34%

27
47
87

R + G + B ~ 21%. #1B2F57 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 47 + 87 = 161 (100%)
R 27 of 161 ~ 16.77%
G 47 of 161 ~ 29.19%
B 87 of 161 ~ 54.04%

%16.77
%29.19
%54.04

CMYK color model

#1B2F57 color CMYK value is (69,46,0,66).

  • cyan value is 68.97%
  • magenta value is 45.98%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(69,46,0,66)
C69M46Y0K66 
(69%,46%,0%,66%)
(0.69/0.46/0.00/0.66)	

CMYK percentages

%68.97
%45.98
%0
%65.88

Codes

Color #1B2F57 in popluar color models

1B2F57
RGB274787
HSL220°52.63%22.35%
HSB/HSV220°68.97%34.12%
CMYK68.97%45.98%0.00%
65.88%

Color #1B2F57 in popluar number systems.

HEX1B2F57
Decimal274787
Binary110111011111010111
Octal3357127

Shades and tints

Shades of #1B2F57

#1B2F57
(27,47,87)
#192B50
(25,43,80)
#172749
(23,39,73)
#152342
(21,35,66)
#131F3B
(19,31,59)
#111B34
(17,27,52)
#0F172D
(15,23,45)
#0D1326
(13,19,38)
#0B0F1F
(11,15,31)
#090B18
(9,11,24)
#070711
(7,7,17)
#000000
(0,0,0)

Tints of #1B2F57

#1B2F57
(27,47,87)
#2F4166
(47,65,102)
#435375
(67,83,117)
#576584
(87,101,132)
#6B7793
(107,119,147)
#7F89A2
(127,137,162)
#939BB1
(147,155,177)
#A7ADC0
(167,173,192)
#BBBFCF
(187,191,207)
#CFD1DE
(207,209,222)
#E3E3ED
(227,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B2F57 color. Also use rgb(27,47,87) instead hex code.

Text Font Color

.myTextColor { color: #1B2F57; }

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

This text font color is #1B2F57.


Background Color

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

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

This div background color is #1B2F57.


Border color

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

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

This div border color is #1B2F57.


Opacity

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

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

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

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

This text has shadow with #1B2F57 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B2F57 on black background.


Color preview on white background

This text has color #1B2F57 on white background.



Black color preview on #1B2F57 background

This text has black color on #1B2F57 background.


White color preview on #1B2F57 background

This text has white color on #1B2F57 background.