COLOR #1F1B41

HEX: #1F1B41
RGB: (31,27,65)

Color info

#1F1B41 contains red, green and blue colors in about the same proportion. Web safe color of #1F1B41 is #333333 (or #333).

RGB color model

#1F1B41 color RGB value is (31,27,65).

  • red value is 31;
  • green value is 27;
  • blue value is 65.
RGB:
(31,27,65)
(12%,11%,25%)

RGB channels and saturation

R 31 of 255 = 12%
G 27 of 255 = 11%
B 65 of 255 = 25%

31
27
65

R + G + B ~ 16%. #1F1B41 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 27 + 65 = 123 (100%)
R 31 of 123 ~ 25.2%
G 27 of 123 ~ 21.95%
B 65 of 123 ~ 52.85%

%25.2
%21.95
%52.85

CMYK color model

#1F1B41 color CMYK value is (52,58,0,75).

  • cyan value is 52.31%
  • magenta value is 58.46%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(52,58,0,75)
C52M58Y0K75 
(52%,58%,0%,75%)
(0.52/0.58/0.00/0.75)	

CMYK percentages

%52.31
%58.46
%0
%74.51

Codes

Color #1F1B41 in popluar color models

1F1B41
RGB312765
HSL246°41.30%18.04%
HSB/HSV246°58.46%25.49%
CMYK52.31%58.46%0.00%
74.51%

Color #1F1B41 in popluar number systems.

HEX1F1B41
Decimal312765
Binary11111110111000001
Octal3733101

Shades and tints

Shades of #1F1B41

#1F1B41
(31,27,65)
#1D193C
(29,25,60)
#1B1737
(27,23,55)
#191532
(25,21,50)
#17132D
(23,19,45)
#151128
(21,17,40)
#130F23
(19,15,35)
#110D1E
(17,13,30)
#0F0B19
(15,11,25)
#0D0914
(13,9,20)
#0B070F
(11,7,15)
#000000
(0,0,0)

Tints of #1F1B41

#1F1B41
(31,27,65)
#332F52
(51,47,82)
#474363
(71,67,99)
#5B5774
(91,87,116)
#6F6B85
(111,107,133)
#837F96
(131,127,150)
#9793A7
(151,147,167)
#ABA7B8
(171,167,184)
#BFBBC9
(191,187,201)
#D3CFDA
(211,207,218)
#E7E3EB
(231,227,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1B41; }

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

This text font color is #1F1B41.


Background Color

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

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

This div background color is #1F1B41.


Border color

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

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

This div border color is #1F1B41.


Opacity

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

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

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

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

This text has shadow with #1F1B41 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1B41 on black background.


Color preview on white background

This text has color #1F1B41 on white background.



Black color preview on #1F1B41 background

This text has black color on #1F1B41 background.


White color preview on #1F1B41 background

This text has white color on #1F1B41 background.