:
logo qtransform

  to  




#1F3840 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #1F3840
#1F3840

   In a RGB color space, hex #1F3840 is composed of 12% red, 22% green and 25% blue.
RGB color code is composed of a hexadecimal 1F red (31/255), a 38 green (56/255) and a 40 blue component (64/255). The decimal RGB color code is rgb(31,56,64)
In CMYK color space, it is composed of 52% cyan, 13% magenta, 0% yellow and 75% black.
It has a hue angle of 194.55o degrees, a saturation of 35% and a lightness of 19%.
Closest websafe color is: #333333 rgb (51, 51, 51).
twitter  facebook  whatsapp


Color conversion




#1F3840
rgb(31,56,64)
=12%
from 255
22%
from 255
25%
from 255
=52
from 100
13
from 100
0
from 100
75
from 100
R: 31
red
G: 56
green
B: 64
blue
C: 52
cyan
M: 13
magenta
Y: 0
yellow
K: 75
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #1F3840 has RGB values of R:31, G:56, B:64 and CMYK values of C:52, M:13, Y:0, K:75. Its decimal value is 2046016.Binary code is 111110011100001000000
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color1F3840 #1F3840
RGB decimal31, 56, 64 rgb(31, 56, 64)
RGB %12, 22, 25 rgb(12%, 22%, 25%)
RGB Adobe44, 59, 66
CMYK %52, 13, 0, 75 52%, 13%, 0%, 75%
HSL194.55o, 35, 19 hsl(194.55o, 35%, 19%)
HSV (HSB)195o, 52%, 25% hsv(195o, 52%, 25%)
Web Safe color#333333 rgb (51, 51, 51)
XYZ2.905, 3.49 5.371
xyY0.25, 0.3, 3.49
Hunter-Lab18.68, -4, -5.18
CMY88%, 78%, 75%
Lab21.77, -8.12, -8.2
Binary color
1F 38 40
11111 111000 1000000

Shades and tints of #1F3840


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #070C0C is the darkest color, and: #D4D8DA is the lightest one.

Tint color variation #1F3840


Shade color variation


Tones of #1F3840
A tone is produced by adding gray to any pure hue. In this case, #293F46 is the less saturated color, and #5F676A is the most saturated one.


Alternatives to #1F3840


Below, you can see some colors close to #1F3840. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #1F3840


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#1F3840;">Text here</font>

<div style="background-color:#1F3840;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#1F3840;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#1F3840;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #1F3840
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #1F3840;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #1F3840;



Box border html code Text shadow with RGB values for color #1F3840
box border html code for color #1F3840

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #1F3840;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(31, 56, 64, 1.4);



Pre-formatted code 1F3840 code for script / programming
HTML, CSS: = #1F3840; rgb(31, 56, 64)
Java: = new Color(31, 56, 64)
.NET: = Color.FromArgb (31, 56, 64);
Xojo: = rgb (31, 56, 64, 0);
openGL: = glColor3f (0.12f, 0.22f, 0.25f);
Swift: = UIColor(red:0.12, green:0.22, blue:0.25, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.12 green:0.22 blue:0.25 alpha:1.00000];


Color schemes with #1F3840


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 52% has a #1F3840 saturation. Adding 52% + 10% = 62% saturation for our new color #0A161A. Decreasing 52% - 10% = 42% saturation for other monochromatic color #3B5B66.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #1F3840 has a 195o angle. Adding 195o + 180o = 15oo for our new complementary color #40271F.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #1F3840 has a 195o angle. Adding 195o + 180o+30o = 45o for our first complementary color #40371F. Decreasing 195o + 180o-30o = 345o for the second complementary color #401F27.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.