#2a1178 hex color
In a RGB color space, hex #2a1178 is composed of 16.5% red, 6.7% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 65% cyan, 85.8% magenta, 0% yellow and 52.9% black. It has a hue angle of 254.6 degrees, a saturation of 75.2% and a lightness of 26.9%. #2a1178 color hex could be obtained by blending #5422f0 with #000000. Closest websafe color is: #330066.
-
- R 16
- G 7
- B 47
RGB color chart
-
- C 65
- M 86
- Y 0
- K 53
CMYK color chart
● #2a1178 color description : Dark blue.
The hexadecimal color #2a1178 has RGB values of R:42, G:17, B:120 and CMYK values of C:0.65, M:0.86, Y:0, K:0.53. Its decimal value is 2756984.
Hex triplet | 2a1178 | #2a1178 |
---|---|---|
RGB Decimal | 42, 17, 120 | rgb(42,17,120) |
RGB Percent | 16.5, 6.7, 47.1 | rgb(16.5%,6.7%,47.1%) |
CMYK | 65, 86, 0, 53 | |
HSL | 254.6°, 75.2, 26.9 | hsl(254.6,75.2%,26.9%) |
HSV (or HSB) | 254.6°, 85.8, 47.1 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 16.743, 40.345, -53.236 |
---|---|
XYZ | 4.545, 2.249, 17.963 |
xyY | 0.184, 0.091, 2.249 |
CIE-LCH | 16.743, 66.797, 307.157 |
CIE-LUV | 16.743, -0.131, -54.139 |
Hunter-Lab | 14.997, 27.851, -60.519 |
Binary | 00101010, 00010001, 01111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1178. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1178
This text has a font color of #2a1178.
<span style="color:#2a1178;">Text here</span>
#2a1178 background color
This paragraph has a background color of #2a1178.
<p style="background-color:#2a1178;">Content here</p>
#2a1178 border color
This element has a border color of #2a1178.
<div style="border:1px solid #2a1178;">Content here</div>
CSS codes
.text {color:#2a1178;}
.background {background-color:#2a1178;}
.border {border:1px solid #2a1178;}
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, #060211 is the darkest color, while #ffffff is the lightest one.
-
#060211
#060211
rgb(6,2,17)
-
#0c0522
#0c0522
rgb(12,5,34)
-
#120733
#120733
rgb(18,7,51)
-
#180a44
#180a44
rgb(24,10,68)
-
#1e0c56
#1e0c56
rgb(30,12,86)
-
#240f67
#240f67
rgb(36,15,103)
-
#2a1178
#2a1178
rgb(42,17,120)
-
#301389
#301389
rgb(48,19,137)
-
#36169a
#36169a
rgb(54,22,154)
-
#3c18ac
#3c18ac
rgb(60,24,172)
-
#421bbd
#421bbd
rgb(66,27,189)
-
#481dce
#481dce
rgb(72,29,206)
-
#4e20df
#4e20df
rgb(78,32,223)
Shade Color Variation
-
#5c31e2
#5c31e2
rgb(92,49,226)
-
#6942e4
#6942e4
rgb(105,66,228)
-
#7753e7
#7753e7
rgb(119,83,231)
-
#8464e9
#8464e9
rgb(132,100,233)
-
#9275eb
#9275eb
rgb(146,117,235)
-
#a086ee
#a086ee
rgb(160,134,238)
-
#ad98f0
#ad98f0
rgb(173,152,240)
-
#bba9f3
#bba9f3
rgb(187,169,243)
-
#c8baf5
#c8baf5
rgb(200,186,245)
-
#d6cbf8
#d6cbf8
rgb(214,203,248)
-
#e4dcfa
#e4dcfa
rgb(228,220,250)
-
#f1eefd
#f1eefd
rgb(241,238,253)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #424049 is the less saturated color, while #220188 is the most saturated one.
-
#424049
#424049
rgb(66,64,73)
-
#403b4e
#403b4e
rgb(64,59,78)
-
#3d3653
#3d3653
rgb(61,54,83)
-
#3a3158
#3a3158
rgb(58,49,88)
-
#382b5e
#382b5e
rgb(56,43,94)
-
#352663
#352663
rgb(53,38,99)
-
#322168
#322168
rgb(50,33,104)
-
#2f1c6d
#2f1c6d
rgb(47,28,109)
-
#2d1673
#2d1673
rgb(45,22,115)
-
#2a1178
#2a1178
rgb(42,17,120)
-
#270c7d
#270c7d
rgb(39,12,125)
-
#250683
#250683
rgb(37,6,131)
-
#220188
#220188
rgb(34,1,136)
Tone Color Variation
Below, you can see how #2a1178 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