COLOR #1F2757

HEX: #1F2757
RGB: (31,39,87)

Color info

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

RGB color model

#1F2757 color RGB value is (31,39,87).

  • red value is 31;
  • green value is 39;
  • blue value is 87.
RGB:
(31,39,87)
(12%,15%,34%)

RGB channels and saturation

R 31 of 255 = 12%
G 39 of 255 = 15%
B 87 of 255 = 34%

31
39
87

R + G + B ~ 20%. #1F2757 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 39 + 87 = 157 (100%)
R 31 of 157 ~ 19.75%
G 39 of 157 ~ 24.84%
B 87 of 157 ~ 55.41%

%19.75
%24.84
%55.41

CMYK color model

#1F2757 color CMYK value is (64,55,0,66).

  • cyan value is 64.37%
  • magenta value is 55.17%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(64,55,0,66)
C64M55Y0K66 
(64%,55%,0%,66%)
(0.64/0.55/0.00/0.66)	

CMYK percentages

%64.37
%55.17
%0
%65.88

Codes

Color #1F2757 in popluar color models

1F2757
RGB313987
HSL231°47.46%23.14%
HSB/HSV231°64.37%34.12%
CMYK64.37%55.17%0.00%
65.88%

Color #1F2757 in popluar number systems.

HEX1F2757
Decimal313987
Binary111111001111010111
Octal3747127

Shades and tints

Shades of #1F2757

#1F2757
(31,39,87)
#1D2450
(29,36,80)
#1B2149
(27,33,73)
#191E42
(25,30,66)
#171B3B
(23,27,59)
#151834
(21,24,52)
#13152D
(19,21,45)
#111226
(17,18,38)
#0F0F1F
(15,15,31)
#0D0C18
(13,12,24)
#0B0911
(11,9,17)
#000000
(0,0,0)

Tints of #1F2757

#1F2757
(31,39,87)
#333A66
(51,58,102)
#474D75
(71,77,117)
#5B6084
(91,96,132)
#6F7393
(111,115,147)
#8386A2
(131,134,162)
#9799B1
(151,153,177)
#ABACC0
(171,172,192)
#BFBFCF
(191,191,207)
#D3D2DE
(211,210,222)
#E7E5ED
(231,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F2757 color. Also use rgb(31,39,87) instead hex code.

Text Font Color

.myTextColor { color: #1F2757; }

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

This text font color is #1F2757.


Background Color

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

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

This div background color is #1F2757.


Border color

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

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

This div border color is #1F2757.


Opacity

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

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

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

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

This text has shadow with #1F2757 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F2757 on black background.


Color preview on white background

This text has color #1F2757 on white background.



Black color preview on #1F2757 background

This text has black color on #1F2757 background.


White color preview on #1F2757 background

This text has white color on #1F2757 background.