:
logo qtransform

  to  




#152A7D color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #152A7D
#152A7D

   In a RGB color space, hex #152A7D is composed of 8% red, 16% green and 49% blue.
RGB color code is composed of a hexadecimal 15 red (21/255), a 2A green (42/255) and a 7D blue component (125/255). The decimal RGB color code is rgb(21,42,125)
In CMYK color space, it is composed of 83% cyan, 66% magenta, 0% yellow and 51% black.
It has a hue angle of 227.88o degrees, a saturation of 71% and a lightness of 29%.
Closest websafe color is: #003366 rgb (0, 51, 102).
twitter  facebook  whatsapp


Color conversion




#152A7D
rgb(21,42,125)
=8%
from 255
16%
from 255
49%
from 255
=83
from 100
66
from 100
0
from 100
51
from 100
R: 21
red
G: 42
green
B: 125
blue
C: 83
cyan
M: 66
magenta
Y: 0
yellow
K: 51
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #152A7D has RGB values of R:21, G:42, B:125 and CMYK values of C:83, M:66, Y:0, K:51. Its decimal value is 1387133.Binary code is 101010010101001111101
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color152A7D #152A7D
RGB decimal21, 42, 125 rgb(21, 42, 125)
RGB %8, 16, 49 rgb(8%, 16%, 49%)
RGB Adobe34, 46, 122
CMYK %83, 66, 0, 51 83%, 66%, 0%, 51%
HSL227.88o, 71, 29 hsl(227.88o, 71%, 29%)
HSV (HSB)228o, 83%, 49% hsv(228o, 83%, 49%)
Web Safe color#003366 rgb (0, 51, 102)
XYZ4.839, 3.296 19.783
xyY0.17, 0.12, 3.3
Hunter-Lab18.15, 17.04, -54.92
CMY92%, 84%, 51%
Lab20.32, 18.71, -50.37
Binary color
15 2A 7D
10101 101010 1111101

Shades and tints of #152A7D


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: #040919 is the darkest color, and: #D1D5E6 is the lightest one.

Tint color variation #152A7D


Shade color variation


Tones of #152A7D
A tone is produced by adding gray to any pure hue. In this case, #20337D is the less saturated color, and #5C637D is the most saturated one.


Alternatives to #152A7D


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #152A7D
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #152A7D;



Box border html code Text shadow with RGB values for color #152A7D
box border html code for color #152A7D

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(21, 42, 125, 1.4);



Pre-formatted code 152A7D code for script / programming
HTML, CSS: = #152A7D; rgb(21, 42, 125)
Java: = new Color(21, 42, 125)
.NET: = Color.FromArgb (21, 42, 125);
Xojo: = rgb (21, 42, 125, 0);
openGL: = glColor3f (0.08f, 0.16f, 0.49f);
Swift: = UIColor(red:0.08, green:0.16, blue:0.49, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.08 green:0.16 blue:0.49 alpha:1.00000];


Color schemes with #152A7D


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: 83% has a #152A7D saturation. Adding 83% + 10% = 93% saturation for our new color #061657. Decreasing 83% - 10% = 73% saturation for other monochromatic color #2C44A3.

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: #152A7D has a 228o angle. Adding 228o + 180o = 48oo for our new complementary color #7D6815.

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: #152A7D has a 228o angle. Adding 228o + 180o+30o = 78o for our first complementary color #5E7D15. Decreasing 228o + 180o-30o = 18o for the second complementary color #7D3415.

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.