#2a1a97 hex color
In a RGB color space, hex #2a1a97 is composed of 16.5% red, 10.2% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 72.2% cyan, 82.8% magenta, 0% yellow and 40.8% black. It has a hue angle of 247.7 degrees, a saturation of 70.6% and a lightness of 34.7%. #2a1a97 color hex could be obtained by blending #5434ff with #00002f. Closest websafe color is: #333399.
-
- R 16
- G 10
- B 59
RGB color chart
-
- C 72
- M 83
- Y 0
- K 41
CMYK color chart
● #2a1a97 color description : Dark blue.
The hexadecimal color #2a1a97 has RGB values of R:42, G:26, B:151 and CMYK values of C:0.72, M:0.83, Y:0, K:0.41. Its decimal value is 2759319.
Hex triplet | 2a1a97 | #2a1a97 |
---|---|---|
RGB Decimal | 42, 26, 151 | rgb(42,26,151) |
RGB Percent | 16.5, 10.2, 59.2 | rgb(16.5%,10.2%,59.2%) |
CMYK | 72, 83, 0, 41 | |
HSL | 247.7°, 70.6, 34.7 | hsl(247.7,70.6%,34.7%) |
HSV (or HSB) | 247.7°, 82.8, 59.2 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 21.818, 45.665, -64.331 |
---|---|
XYZ | 6.909, 3.465, 29.581 |
xyY | 0.173, 0.087, 3.465 |
CIE-LCH | 21.818, 78.891, 305.369 |
CIE-LUV | 21.818, -3.017, -72.919 |
Hunter-Lab | 18.615, 33.677, -81.19 |
Binary | 00101010, 00011010, 10010111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1a97. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1a97
This text has a font color of #2a1a97.
<span style="color:#2a1a97;">Text here</span>
#2a1a97 background color
This paragraph has a background color of #2a1a97.
<p style="background-color:#2a1a97;">Content here</p>
#2a1a97 border color
This element has a border color of #2a1a97.
<div style="border:1px solid #2a1a97;">Content here</div>
CSS codes
.text {color:#2a1a97;}
.background {background-color:#2a1a97;}
.border {border:1px solid #2a1a97;}
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, #000000 is the darkest color, while #f0effc is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#050311
#050311
rgb(5,3,17)
-
#090622
#090622
rgb(9,6,34)
-
#0e0933
#0e0933
rgb(14,9,51)
-
#130c43
#130c43
rgb(19,12,67)
-
#170e54
#170e54
rgb(23,14,84)
-
#1c1165
#1c1165
rgb(28,17,101)
-
#211476
#211476
rgb(33,20,118)
-
#251786
#251786
rgb(37,23,134)
-
#2a1a97
#2a1a97
rgb(42,26,151)
-
#2f1da8
#2f1da8
rgb(47,29,168)
-
#3320b8
#3320b8
rgb(51,32,184)
-
#3823c9
#3823c9
rgb(56,35,201)
Shade Color Variation
-
#3d26da
#3d26da
rgb(61,38,218)
-
#4c37dc
#4c37dc
rgb(76,55,220)
-
#5b47df
#5b47df
rgb(91,71,223)
-
#6a58e2
#6a58e2
rgb(106,88,226)
-
#7969e5
#7969e5
rgb(121,105,229)
-
#887ae8
#887ae8
rgb(136,122,232)
-
#978aeb
#978aeb
rgb(151,138,235)
-
#a69bee
#a69bee
rgb(166,155,238)
-
#b5acf1
#b5acf1
rgb(181,172,241)
-
#c4bcf4
#c4bcf4
rgb(196,188,244)
-
#d2cdf6
#d2cdf6
rgb(210,205,246)
-
#e1def9
#e1def9
rgb(225,222,249)
-
#f0effc
#f0effc
rgb(240,239,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #58575a is the less saturated color, while #1b06ab is the most saturated one.
-
#58575a
#58575a
rgb(88,87,90)
-
#535061
#535061
rgb(83,80,97)
-
#4d4a67
#4d4a67
rgb(77,74,103)
-
#48436e
#48436e
rgb(72,67,110)
-
#433c75
#433c75
rgb(67,60,117)
-
#3e357c
#3e357c
rgb(62,53,124)
-
#392e83
#392e83
rgb(57,46,131)
-
#342889
#342889
rgb(52,40,137)
-
#2f2190
#2f2190
rgb(47,33,144)
-
#2a1a97
#2a1a97
rgb(42,26,151)
-
#25139e
#25139e
rgb(37,19,158)
-
#200ca5
#200ca5
rgb(32,12,165)
-
#1b06ab
#1b06ab
rgb(27,6,171)
Tone Color Variation
Below, you can see how #2a1a97 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