#2a1b8e hex color
In a RGB color space, hex #2a1b8e is composed of 16.5% red, 10.6% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 70.4% cyan, 81% magenta, 0% yellow and 44.3% black. It has a hue angle of 247.8 degrees, a saturation of 68% and a lightness of 33.1%. #2a1b8e color hex could be obtained by blending #5436ff with #00001d. Closest websafe color is: #333399.
-
- R 16
- G 11
- B 56
RGB color chart
-
- C 70
- M 81
- Y 0
- K 44
CMYK color chart
● #2a1b8e color description : Dark blue.
The hexadecimal color #2a1b8e has RGB values of R:42, G:27, B:142 and CMYK values of C:0.7, M:0.81, Y:0, K:0.44. Its decimal value is 2759566.
Hex triplet | 2a1b8e | #2a1b8e |
---|---|---|
RGB Decimal | 42, 27, 142 | rgb(42,27,142) |
RGB Percent | 16.5, 10.6, 55.7 | rgb(16.5%,10.6%,55.7%) |
CMYK | 70, 81, 0, 44 | |
HSL | 247.8°, 68, 33.1 | hsl(247.8,68%,33.1%) |
HSV (or HSB) | 247.8°, 81, 55.7 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 20.938, 42.365, -60.21 |
---|---|
XYZ | 6.228, 3.229, 25.885 |
xyY | 0.176, 0.091, 3.229 |
CIE-LCH | 20.938, 73.621, 305.131 |
CIE-LUV | 20.938, -2.6, -67.698 |
Hunter-Lab | 17.969, 30.426, -72.831 |
Binary | 00101010, 00011011, 10001110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1b8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1b8e
This text has a font color of #2a1b8e.
<span style="color:#2a1b8e;">Text here</span>
#2a1b8e background color
This paragraph has a background color of #2a1b8e.
<p style="background-color:#2a1b8e;">Content here</p>
#2a1b8e border color
This element has a border color of #2a1b8e.
<div style="border:1px solid #2a1b8e;">Content here</div>
CSS codes
.text {color:#2a1b8e;}
.background {background-color:#2a1b8e;}
.border {border:1px solid #2a1b8e;}
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, #03020a is the darkest color, while #f9f9fe is the lightest one.
-
#03020a
#03020a
rgb(3,2,10)
-
#08051b
#08051b
rgb(8,5,27)
-
#0d082b
#0d082b
rgb(13,8,43)
-
#120b3c
#120b3c
rgb(18,11,60)
-
#170e4c
#170e4c
rgb(23,14,76)
-
#1b125d
#1b125d
rgb(27,18,93)
-
#20156d
#20156d
rgb(32,21,109)
-
#25187e
#25187e
rgb(37,24,126)
-
#2a1b8e
#2a1b8e
rgb(42,27,142)
-
#2f1e9e
#2f1e9e
rgb(47,30,158)
-
#3421af
#3421af
rgb(52,33,175)
-
#3924bf
#3924bf
rgb(57,36,191)
-
#3d28d0
#3d28d0
rgb(61,40,208)
Shade Color Variation
-
#4833d8
#4833d8
rgb(72,51,216)
-
#5743db
#5743db
rgb(87,67,219)
-
#6654de
#6654de
rgb(102,84,222)
-
#7564e2
#7564e2
rgb(117,100,226)
-
#8375e5
#8375e5
rgb(131,117,229)
-
#9285e8
#9285e8
rgb(146,133,232)
-
#a196eb
#a196eb
rgb(161,150,235)
-
#b0a6ee
#b0a6ee
rgb(176,166,238)
-
#beb7f1
#beb7f1
rgb(190,183,241)
-
#cdc7f4
#cdc7f4
rgb(205,199,244)
-
#dcd8f8
#dcd8f8
rgb(220,216,248)
-
#ebe8fb
#ebe8fb
rgb(235,232,251)
-
#f9f9fe
#f9f9fe
rgb(249,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #504f5a is the less saturated color, while #1701a8 is the most saturated one.
-
#504f5a
#504f5a
rgb(80,79,90)
-
#4c4961
#4c4961
rgb(76,73,97)
-
#474267
#474267
rgb(71,66,103)
-
#423c6e
#423c6e
rgb(66,60,110)
-
#3d3574
#3d3574
rgb(61,53,116)
-
#382f7b
#382f7b
rgb(56,47,123)
-
#342881
#342881
rgb(52,40,129)
-
#2f2288
#2f2288
rgb(47,34,136)
-
#2a1b8e
#2a1b8e
rgb(42,27,142)
-
#251595
#251595
rgb(37,21,149)
-
#200e9b
#200e9b
rgb(32,14,155)
-
#1c07a2
#1c07a2
rgb(28,7,162)
-
#1701a8
#1701a8
rgb(23,1,168)
Tone Color Variation
Below, you can see how #2a1b8e 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