:
logo qtransform

  to  




#2A3871 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #2A3871
#2A3871

   In a RGB color space, hex #2A3871 is composed of 16% red, 22% green and 44% blue.
RGB color code is composed of a hexadecimal 2A red (42/255), a 38 green (56/255) and a 71 blue component (113/255). The decimal RGB color code is rgb(42,56,113)
In CMYK color space, it is composed of 63% cyan, 50% magenta, 0% yellow and 56% black.
It has a hue angle of 228.17o degrees, a saturation of 46% and a lightness of 30%.
Closest websafe color is: #333366 rgb (51, 51, 102).
twitter  facebook  whatsapp


Color conversion




#2A3871
rgb(42,56,113)
=16%
from 255
22%
from 255
44%
from 255
=63
from 100
50
from 100
0
from 100
56
from 100
R: 42
red
G: 56
green
B: 113
blue
C: 63
cyan
M: 50
magenta
Y: 0
yellow
K: 56
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #2A3871 has RGB values of R:42, G:56, B:113 and CMYK values of C:63, M:50, Y:0, K:56. Its decimal value is 2766961.Binary code is 1010100011100001110001
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color2A3871 #2A3871
RGB decimal42, 56, 113 rgb(42, 56, 113)
RGB %16, 22, 44 rgb(16%, 22%, 44%)
RGB Adobe50, 59, 111
CMYK %63, 50, 0, 56 63%, 50%, 0%, 56%
HSL228.17o, 46, 30 hsl(228.17o, 46%, 30%)
HSV (HSB)228o, 63%, 44% hsv(228o, 63%, 44%)
Web Safe color#333366 rgb (51, 51, 102)
XYZ5.35, 4.513 16.212
xyY0.21, 0.17, 4.51
Hunter-Lab21.24, 9.05, -32.74
CMY84%, 78%, 56%
Lab24.8, 9.28, -35.44
Binary color
2A 38 71
101010 111000 1110001

Shades and tints of #2A3871


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: #090C16 is the darkest color, and: #D5D8E3 is the lightest one.

Tint color variation #2A3871


Shade color variation


Tones of #2A3871
A tone is produced by adding gray to any pure hue. In this case, #333F73 is the less saturated color, and #63677C is the most saturated one.


Alternatives to #2A3871


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #2A3871
text shadow css code
HTML code

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

CSS code

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

CSS code

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



Box border html code Text shadow with RGB values for color #2A3871
box border html code for color #2A3871

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(42, 56, 113, 1.4);



Pre-formatted code 2A3871 code for script / programming
HTML, CSS: = #2A3871; rgb(42, 56, 113)
Java: = new Color(42, 56, 113)
.NET: = Color.FromArgb (42, 56, 113);
Xojo: = rgb (42, 56, 113, 0);
openGL: = glColor3f (0.16f, 0.22f, 0.44f);
Swift: = UIColor(red:0.16, green:0.22, blue:0.44, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.16 green:0.22 blue:0.44 alpha:1.00000];


Color schemes with #2A3871


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: 63% has a #2A3871 saturation. Adding 63% + 10% = 73% saturation for our new color #141F4A. Decreasing 63% - 10% = 53% saturation for other monochromatic color #475796.

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: #2A3871 has a 228o angle. Adding 228o + 180o = 48oo for our new complementary color #70622A.

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: #2A3871 has a 228o angle. Adding 228o + 180o+30o = 78o for our first complementary color #5B702A. Decreasing 228o + 180o-30o = 18o for the second complementary color #703F2A.

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.