:
logo qtransform

  to  




#40508A color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #40508A
#40508A

   In a RGB color space, hex #40508A is composed of 25% red, 31% green and 54% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 50 green (80/255) and a 8A blue component (138/255). The decimal RGB color code is rgb(64,80,138)
In CMYK color space, it is composed of 54% cyan, 42% magenta, 0% yellow and 46% black.
It has a hue angle of 227.03o degrees, a saturation of 37% and a lightness of 40%.
Closest websafe color is: #336699 rgb (51, 102, 153).
twitter  facebook  whatsapp


Color conversion




#40508A
rgb(64,80,138)
=25%
from 255
31%
from 255
54%
from 255
=54
from 100
42
from 100
0
from 100
46
from 100
R: 64
red
G: 80
green
B: 138
blue
C: 54
cyan
M: 42
magenta
Y: 0
yellow
K: 46
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #40508A has RGB values of R:64, G:80, B:138 and CMYK values of C:54, M:42, Y:0, K:46. Its decimal value is 4214922.Binary code is 10000000101000010001010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color40508A #40508A
RGB decimal64, 80, 138 rgb(64, 80, 138)
RGB %25, 31, 54 rgb(25%, 31%, 54%)
RGB Adobe71, 81, 135
CMYK %54, 42, 0, 46 54%, 42%, 0%, 46%
HSL227.03o, 37, 40 hsl(227.03o, 37%, 40%)
HSV (HSB)227o, 54%, 54% hsv(227o, 54%, 54%)
Web Safe color#336699 rgb (51, 102, 153)
XYZ9.57, 8.662 25.212
xyY0.22, 0.2, 8.66
Hunter-Lab29.43, 8.24, -33.01
CMY75%, 69%, 46%
Lab34.87, 7.23, -34.88
Binary color
40 50 8A
1000000 1010000 10001010

Shades and tints of #40508A


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

Tint color variation #40508A


Shade color variation


Tones of #40508A
A tone is produced by adding gray to any pure hue. In this case, #465589 is the less saturated color, and #6A7085 is the most saturated one.


Alternatives to #40508A


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #40508A
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #40508A;



Box border html code Text shadow with RGB values for color #40508A
box border html code for color #40508A

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 80, 138, 1.4);



Pre-formatted code 40508A code for script / programming
HTML, CSS: = #40508A; rgb(64, 80, 138)
Java: = new Color(64, 80, 138)
.NET: = Color.FromArgb (64, 80, 138);
Xojo: = rgb (64, 80, 138, 0);
openGL: = glColor3f (0.25f, 0.31f, 0.54f);
Swift: = UIColor(red:0.25, green:0.31, blue:0.54, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.25 green:0.31 blue:0.54 alpha:1.00000];


Color schemes with #40508A


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: 54% has a #40508A saturation. Adding 54% + 10% = 64% saturation for our new color #243263. Decreasing 54% - 10% = 44% saturation for other monochromatic color #6373B0.

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: #40508A has a 227o angle. Adding 227o + 180o = 47oo for our new complementary color #8A7A3F.

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: #40508A has a 227o angle. Adding 227o + 180o+30o = 77o for our first complementary color #758A3F. Decreasing 227o + 180o-30o = 17o for the second complementary color #8A543F.

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.