COLOR #1F1F58

HEX: #1F1F58
RGB: (31,31,88)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

31
31
88

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

Portions of RGB colors in percentages

R + G + B =
31 + 31 + 88 = 150 (100%)
R 31 of 150 ~ 20.67%
G 31 of 150 ~ 20.67%
B 88 of 150 ~ 58.67%

%20.67
%20.67
%58.67

CMYK color model

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

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

CMYK percentages

%64.77
%64.77
%0
%65.49

Codes

Color #1F1F58 in popluar color models

1F1F58
RGB313188
HSL240°47.90%23.33%
HSB/HSV240°64.77%34.51%
CMYK64.77%64.77%0.00%
65.49%

Color #1F1F58 in popluar number systems.

HEX1F1F58
Decimal313188
Binary11111111111011000
Octal3737130

Shades and tints

Shades of #1F1F58

#1F1F58
(31,31,88)
#1D1D50
(29,29,80)
#1B1B48
(27,27,72)
#191940
(25,25,64)
#171738
(23,23,56)
#151530
(21,21,48)
#131328
(19,19,40)
#111120
(17,17,32)
#0F0F18
(15,15,24)
#0D0D10
(13,13,16)
#0B0B08
(11,11,8)
#000000
(0,0,0)

Tints of #1F1F58

#1F1F58
(31,31,88)
#333367
(51,51,103)
#474776
(71,71,118)
#5B5B85
(91,91,133)
#6F6F94
(111,111,148)
#8383A3
(131,131,163)
#9797B2
(151,151,178)
#ABABC1
(171,171,193)
#BFBFD0
(191,191,208)
#D3D3DF
(211,211,223)
#E7E7EE
(231,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1F58; }

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

This text font color is #1F1F58.


Background Color

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

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

This div background color is #1F1F58.


Border color

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

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

This div border color is #1F1F58.


Opacity

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

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

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

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

This text has shadow with #1F1F58 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1F58 on black background.


Color preview on white background

This text has color #1F1F58 on white background.



Black color preview on #1F1F58 background

This text has black color on #1F1F58 background.


White color preview on #1F1F58 background

This text has white color on #1F1F58 background.