#1a40a2 hex color
In a RGB color space, hex #1a40a2 is composed of 10.2% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 84% cyan, 60.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 223.2 degrees, a saturation of 72.3% and a lightness of 36.9%. #1a40a2 color hex could be obtained by blending #3480ff with #000045. Closest websafe color is: #333399.
-
- R 10
- G 25
- B 64
RGB color chart
-
- C 84
- M 60
- Y 0
- K 36
CMYK color chart
● #1a40a2 color description : Dark blue.
The hexadecimal color #1a40a2 has RGB values of R:26, G:64, B:162 and CMYK values of C:0.84, M:0.6, Y:0, K:0.36. Its decimal value is 1720482.
Hex triplet | 1a40a2 | #1a40a2 |
---|---|---|
RGB Decimal | 26, 64, 162 | rgb(26,64,162) |
RGB Percent | 10.2, 25.1, 63.5 | rgb(10.2%,25.1%,63.5%) |
CMYK | 84, 60, 0, 36 | |
HSL | 223.2°, 72.3, 36.9 | hsl(223.2,72.3%,36.9%) |
HSV (or HSB) | 223.2°, 84, 63.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 30.627, 25.043, -56.575 |
---|---|
XYZ | 8.78, 6.494, 34.971 |
xyY | 0.175, 0.129, 6.494 |
CIE-LCH | 30.627, 61.87, 293.877 |
CIE-LUV | 30.627, -12.537, -76.233 |
Hunter-Lab | 25.484, 16.899, -63.524 |
Binary | 00011010, 01000000, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1a40a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1a40a2
This text has a font color of #1a40a2.
<span style="color:#1a40a2;">Text here</span>
#1a40a2 background color
This paragraph has a background color of #1a40a2.
<p style="background-color:#1a40a2;">Content here</p>
#1a40a2 border color
This element has a border color of #1a40a2.
<div style="border:1px solid #1a40a2;">Content here</div>
CSS codes
.text {color:#1a40a2;}
.background {background-color:#1a40a2;}
.border {border:1px solid #1a40a2;}
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, #02040a is the darkest color, while #f8fafe is the lightest one.
-
#02040a
#02040a
rgb(2,4,10)
-
#040b1b
#040b1b
rgb(4,11,27)
-
#07112c
#07112c
rgb(7,17,44)
-
#0a183d
#0a183d
rgb(10,24,61)
-
#0c1f4d
#0c1f4d
rgb(12,31,77)
-
#0f255e
#0f255e
rgb(15,37,94)
-
#122c6f
#122c6f
rgb(18,44,111)
-
#153380
#153380
rgb(21,51,128)
-
#173991
#173991
rgb(23,57,145)
-
#1a40a2
#1a40a2
rgb(26,64,162)
-
#1d47b3
#1d47b3
rgb(29,71,179)
-
#1f4dc4
#1f4dc4
rgb(31,77,196)
-
#2254d5
#2254d5
rgb(34,84,213)
Shade Color Variation
-
#2d5edd
#2d5edd
rgb(45,94,221)
-
#3e6be0
#3e6be0
rgb(62,107,224)
-
#4f78e3
#4f78e3
rgb(79,120,227)
-
#6085e5
#6085e5
rgb(96,133,229)
-
#7192e8
#7192e8
rgb(113,146,232)
-
#829feb
#829feb
rgb(130,159,235)
-
#93acee
#93acee
rgb(147,172,238)
-
#a3b9f0
#a3b9f0
rgb(163,185,240)
-
#b4c6f3
#b4c6f3
rgb(180,198,243)
-
#c5d3f6
#c5d3f6
rgb(197,211,246)
-
#d6e0f8
#d6e0f8
rgb(214,224,248)
-
#e7edfb
#e7edfb
rgb(231,237,251)
-
#f8fafe
#f8fafe
rgb(248,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5b5d61 is the less saturated color, while #0436b8 is the most saturated one.
-
#5b5d61
#5b5d61
rgb(91,93,97)
-
#545a68
#545a68
rgb(84,90,104)
-
#4d566f
#4d566f
rgb(77,86,111)
-
#455377
#455377
rgb(69,83,119)
-
#3e507e
#3e507e
rgb(62,80,126)
-
#374d85
#374d85
rgb(55,77,133)
-
#304a8c
#304a8c
rgb(48,74,140)
-
#284694
#284694
rgb(40,70,148)
-
#21439b
#21439b
rgb(33,67,155)
-
#1a40a2
#1a40a2
rgb(26,64,162)
-
#133da9
#133da9
rgb(19,61,169)
-
#0c3ab0
#0c3ab0
rgb(12,58,176)
-
#0436b8
#0436b8
rgb(4,54,184)
Tone Color Variation
Below, you can see how #1a40a2 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