COLOR #1F2D58

HEX: #1F2D58
RGB: (31,45,88)

Color info

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

RGB color model

#1F2D58 color RGB value is (31,45,88).

  • red value is 31;
  • green value is 45;
  • blue value is 88.
RGB:
(31,45,88)
(12%,18%,35%)

RGB channels and saturation

R 31 of 255 = 12%
G 45 of 255 = 18%
B 88 of 255 = 35%

31
45
88

R + G + B ~ 22%. #1F2D58 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 45 + 88 = 164 (100%)
R 31 of 164 ~ 18.9%
G 45 of 164 ~ 27.44%
B 88 of 164 ~ 53.66%

%18.9
%27.44
%53.66

CMYK color model

#1F2D58 color CMYK value is (65,49,0,65).

  • cyan value is 64.77%
  • magenta value is 48.86%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(65,49,0,65)
C65M49Y0K65 
(65%,49%,0%,65%)
(0.65/0.49/0.00/0.65)	

CMYK percentages

%64.77
%48.86
%0
%65.49

Codes

Color #1F2D58 in popluar color models

1F2D58
RGB314588
HSL225°47.90%23.33%
HSB/HSV225°64.77%34.51%
CMYK64.77%48.86%0.00%
65.49%

Color #1F2D58 in popluar number systems.

HEX1F2D58
Decimal314588
Binary111111011011011000
Octal3755130

Shades and tints

Shades of #1F2D58

#1F2D58
(31,45,88)
#1D2950
(29,41,80)
#1B2548
(27,37,72)
#192140
(25,33,64)
#171D38
(23,29,56)
#151930
(21,25,48)
#131528
(19,21,40)
#111120
(17,17,32)
#0F0D18
(15,13,24)
#0D0910
(13,9,16)
#0B0508
(11,5,8)
#000000
(0,0,0)

Tints of #1F2D58

#1F2D58
(31,45,88)
#334067
(51,64,103)
#475376
(71,83,118)
#5B6685
(91,102,133)
#6F7994
(111,121,148)
#838CA3
(131,140,163)
#979FB2
(151,159,178)
#ABB2C1
(171,178,193)
#BFC5D0
(191,197,208)
#D3D8DF
(211,216,223)
#E7EBEE
(231,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F2D58 color. Also use rgb(31,45,88) instead hex code.

Text Font Color

.myTextColor { color: #1F2D58; }

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

This text font color is #1F2D58.


Background Color

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

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

This div background color is #1F2D58.


Border color

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

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

This div border color is #1F2D58.


Opacity

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

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

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

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

This text has shadow with #1F2D58 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F2D58 on black background.


Color preview on white background

This text has color #1F2D58 on white background.



Black color preview on #1F2D58 background

This text has black color on #1F2D58 background.


White color preview on #1F2D58 background

This text has white color on #1F2D58 background.