:
logo qtransform

  to  




#31257E color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #31257E
#31257E

   In a RGB color space, hex #31257E is composed of 19% red, 15% green and 49% blue.
RGB color code is composed of a hexadecimal 31 red (49/255), a 25 green (37/255) and a 7E blue component (126/255). The decimal RGB color code is rgb(49,37,126)
In CMYK color space, it is composed of 61% cyan, 71% magenta, 0% yellow and 51% black.
It has a hue angle of 248.09o degrees, a saturation of 55% and a lightness of 32%.
Closest websafe color is: #333366 rgb (51, 51, 102).
twitter  facebook  whatsapp


Color conversion




#31257E
rgb(49,37,126)
=19%
from 255
15%
from 255
49%
from 255
=61
from 100
71
from 100
0
from 100
51
from 100
R: 49
red
G: 37
green
B: 126
blue
C: 61
cyan
M: 71
magenta
Y: 0
yellow
K: 51
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #31257E has RGB values of R:49, G:37, B:126 and CMYK values of C:61, M:71, Y:0, K:51. Its decimal value is 3220862.Binary code is 1100010010010101111110
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color31257E #31257E
RGB decimal49, 37, 126 rgb(49, 37, 126)
RGB %19, 15, 49 rgb(19%, 15%, 49%)
RGB Adobe50, 42, 123
CMYK %61, 71, 0, 51 61%, 71%, 0%, 51%
HSL248.09o, 55, 32 hsl(248.09o, 55%, 32%)
HSV (HSB)248o, 71%, 49% hsv(248o, 71%, 49%)
Web Safe color#333366 rgb (51, 51, 102)
XYZ5.694, 3.482 20.111
xyY0.19, 0.12, 3.48
Hunter-Lab18.66, 23.17, -53.85
CMY81%, 85%, 51%
Lab21.11, 26.95, -49.62
Binary color
31 25 7E
110001 100101 1111110

Shades and tints of #31257E


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: #0A0819 is the darkest color, and: #D6D5E6 is the lightest one.

Tint color variation #31257E


Shade color variation


Tones of #31257E
A tone is produced by adding gray to any pure hue. In this case, #392E7E is the less saturated color, and #64607E is the most saturated one.


Alternatives to #31257E


Below, you can see some colors close to #31257E. 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 #31257E


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="#31257E;">Text here</font>

<div style="background-color:#31257E;">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="#31257E;">Text here</font> </div>

HTML code

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



Div box shadow Text shadow css code
box shadow for color #31257E
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #31257E;



Box border html code Text shadow with RGB values for color #31257E
box border html code for color #31257E

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(49, 37, 126, 1.4);



Pre-formatted code 31257E code for script / programming
HTML, CSS: = #31257E; rgb(49, 37, 126)
Java: = new Color(49, 37, 126)
.NET: = Color.FromArgb (49, 37, 126);
Xojo: = rgb (49, 37, 126, 0);
openGL: = glColor3f (0.19f, 0.15f, 0.49f);
Swift: = UIColor(red:0.19, green:0.15, blue:0.49, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.19 green:0.15 blue:0.49 alpha:1.00000];


Color schemes with #31257E


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: 71% has a #31257E saturation. Adding 71% + 10% = 81% saturation for our new color #1A1057. Decreasing 71% - 10% = 61% saturation for other monochromatic color #4D40A3.

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: #31257E has a 248o angle. Adding 248o + 180o = 68oo for our new complementary color #717D24.

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: #31257E has a 248o angle. Adding 248o + 180o+30o = 98o for our first complementary color #457D24. Decreasing 248o + 180o-30o = 38o for the second complementary color #7D5C24.

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.