#1540ab hex color
In a RGB color space, hex #1540ab is composed of 8.2% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 87.7% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 222.8 degrees, a saturation of 78.1% and a lightness of 37.6%. #1540ab color hex could be obtained by blending #2a80ff with #000057. Closest websafe color is: #003399.
-
- R 8
- G 25
- B 67
RGB color chart
-
- C 88
- M 63
- Y 0
- K 33
CMYK color chart
● #1540ab color description : Dark blue.
The hexadecimal color #1540ab has RGB values of R:21, G:64, B:171 and CMYK values of C:0.88, M:0.63, Y:0, K:0.33. Its decimal value is 1392811.
Hex triplet | 1540ab | #1540ab |
---|---|---|
RGB Decimal | 21, 64, 171 | rgb(21,64,171) |
RGB Percent | 8.2, 25.1, 67.1 | rgb(8.2%,25.1%,67.1%) |
CMYK | 88, 63, 0, 33 | |
HSL | 222.8°, 78.1, 37.6 | hsl(222.8,78.1%,37.6%) |
HSV (or HSB) | 222.8°, 87.7, 67.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 31.268, 28.235, -60.941 |
---|---|
XYZ | 9.492, 6.766, 39.331 |
xyY | 0.171, 0.122, 6.766 |
CIE-LCH | 31.268, 67.164, 294.859 |
CIE-LUV | 31.268, -13.017, -82.272 |
Hunter-Lab | 26.011, 19.618, -71.445 |
Binary | 00010101, 01000000, 10101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1540ab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1540ab
This text has a font color of #1540ab.
<span style="color:#1540ab;">Text here</span>
#1540ab background color
This paragraph has a background color of #1540ab.
<p style="background-color:#1540ab;">Content here</p>
#1540ab border color
This element has a border color of #1540ab.
<div style="border:1px solid #1540ab;">Content here</div>
CSS codes
.text {color:#1540ab;}
.background {background-color:#1540ab;}
.border {border:1px solid #1540ab;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #02050e is the darkest color, while #fbfcff is the lightest one.
-
#02050e
#02050e
rgb(2,5,14)
-
#040c1f
#040c1f
rgb(4,12,31)
-
#061231
#061231
rgb(6,18,49)
-
#081942
#081942
rgb(8,25,66)
-
#0a1f54
#0a1f54
rgb(10,31,84)
-
#0c2665
#0c2665
rgb(12,38,101)
-
#0f2c77
#0f2c77
rgb(15,44,119)
-
#113388
#113388
rgb(17,51,136)
-
#13399a
#13399a
rgb(19,57,154)
-
#1540ab
#1540ab
rgb(21,64,171)
-
#1747bc
#1747bc
rgb(23,71,188)
-
#194dce
#194dce
rgb(25,77,206)
-
#1b54df
#1b54df
rgb(27,84,223)
Shade Color Variation
-
#2a5fe5
#2a5fe5
rgb(42,95,229)
-
#3b6ce7
#3b6ce7
rgb(59,108,231)
-
#4d79e9
#4d79e9
rgb(77,121,233)
-
#5e87eb
#5e87eb
rgb(94,135,235)
-
#7094ed
#7094ed
rgb(112,148,237)
-
#81a1f0
#81a1f0
rgb(129,161,240)
-
#92aef2
#92aef2
rgb(146,174,242)
-
#a4bbf4
#a4bbf4
rgb(164,187,244)
-
#b5c8f6
#b5c8f6
rgb(181,200,246)
-
#c7d5f8
#c7d5f8
rgb(199,213,248)
-
#d8e2fa
#d8e2fa
rgb(216,226,250)
-
#eaeffc
#eaeffc
rgb(234,239,252)
-
#fbfcff
#fbfcff
rgb(251,252,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5f6061 is the less saturated color, while #063aba is the most saturated one.
-
#5f6061
#5f6061
rgb(95,96,97)
-
#575c69
#575c69
rgb(87,92,105)
-
#505970
#505970
rgb(80,89,112)
-
#495677
#495677
rgb(73,86,119)
-
#41537f
#41537f
rgb(65,83,127)
-
#3a5086
#3a5086
rgb(58,80,134)
-
#334d8d
#334d8d
rgb(51,77,141)
-
#2b4995
#2b4995
rgb(43,73,149)
-
#24469c
#24469c
rgb(36,70,156)
-
#1c43a4
#1c43a4
rgb(28,67,164)
-
#1540ab
#1540ab
rgb(21,64,171)
-
#0e3db2
#0e3db2
rgb(14,61,178)
-
#063aba
#063aba
rgb(6,58,186)
Tone Color Variation
Below, you can see how #1540ab is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy