#2a1298 hex color
In a RGB color space, hex #2a1298 is composed of 16.5% red, 7.1% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 72.4% cyan, 88.2% magenta, 0% yellow and 40.4% black. It has a hue angle of 250.7 degrees, a saturation of 78.8% and a lightness of 33.3%. #2a1298 color hex could be obtained by blending #5424ff with #000031. Closest websafe color is: #330099.
-
- R 16
- G 7
- B 60
RGB color chart
-
- C 72
- M 88
- Y 0
- K 40
CMYK color chart
● #2a1298 color description : Dark blue.
The hexadecimal color #2a1298 has RGB values of R:42, G:18, B:152 and CMYK values of C:0.72, M:0.88, Y:0, K:0.4. Its decimal value is 2757272.
Hex triplet | 2a1298 | #2a1298 |
---|---|---|
RGB Decimal | 42, 18, 152 | rgb(42,18,152) |
RGB Percent | 16.5, 7.1, 59.6 | rgb(16.5%,7.1%,59.6%) |
CMYK | 72, 88, 0, 40 | |
HSL | 250.7°, 78.8, 33.3 | hsl(250.7,78.8%,33.3%) |
HSV (or HSB) | 250.7°, 88.2, 59.6 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 20.795, 49.35, -66.644 |
---|---|
XYZ | 6.838, 3.192, 29.96 |
xyY | 0.171, 0.08, 3.192 |
CIE-LCH | 20.795, 82.927, 306.52 |
CIE-LUV | 20.795, -2.347, -72.904 |
Hunter-Lab | 17.865, 37.056, -86.926 |
Binary | 00101010, 00010010, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1298. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1298
This text has a font color of #2a1298.
<span style="color:#2a1298;">Text here</span>
#2a1298 background color
This paragraph has a background color of #2a1298.
<p style="background-color:#2a1298;">Content here</p>
#2a1298 border color
This element has a border color of #2a1298.
<div style="border:1px solid #2a1298;">Content here</div>
CSS codes
.text {color:#2a1298;}
.background {background-color:#2a1298;}
.border {border:1px solid #2a1298;}
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, #03010c is the darkest color, while #faf9fe is the lightest one.
-
#03010c
#03010c
rgb(3,1,12)
-
#08031d
#08031d
rgb(8,3,29)
-
#0d062f
#0d062f
rgb(13,6,47)
-
#120840
#120840
rgb(18,8,64)
-
#170a52
#170a52
rgb(23,10,82)
-
#1b0c63
#1b0c63
rgb(27,12,99)
-
#200e75
#200e75
rgb(32,14,117)
-
#251086
#251086
rgb(37,16,134)
-
#2a1298
#2a1298
rgb(42,18,152)
-
#2f14aa
#2f14aa
rgb(47,20,170)
-
#3416bb
#3416bb
rgb(52,22,187)
-
#3918cd
#3918cd
rgb(57,24,205)
-
#3d1ade
#3d1ade
rgb(61,26,222)
Shade Color Variation
-
#4927e5
#4927e5
rgb(73,39,229)
-
#5838e7
#5838e7
rgb(88,56,231)
-
#664aea
#664aea
rgb(102,74,234)
-
#755bec
#755bec
rgb(117,91,236)
-
#846dee
#846dee
rgb(132,109,238)
-
#937ef0
#937ef0
rgb(147,126,240)
-
#a190f2
#a190f2
rgb(161,144,242)
-
#b0a1f4
#b0a1f4
rgb(176,161,244)
-
#bfb3f6
#bfb3f6
rgb(191,179,246)
-
#cec5f8
#cec5f8
rgb(206,197,248)
-
#ddd6fa
#ddd6fa
rgb(221,214,250)
-
#ebe8fc
#ebe8fc
rgb(235,232,252)
-
#faf9fe
#faf9fe
rgb(250,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #545357 is the less saturated color, while #2205a5 is the most saturated one.
-
#545357
#545357
rgb(84,83,87)
-
#504d5d
#504d5d
rgb(80,77,93)
-
#4c4664
#4c4664
rgb(76,70,100)
-
#47406a
#47406a
rgb(71,64,106)
-
#433971
#433971
rgb(67,57,113)
-
#3f3377
#3f3377
rgb(63,51,119)
-
#3b2c7e
#3b2c7e
rgb(59,44,126)
-
#372684
#372684
rgb(55,38,132)
-
#321f8b
#321f8b
rgb(50,31,139)
-
#2e1991
#2e1991
rgb(46,25,145)
-
#2a1298
#2a1298
rgb(42,18,152)
-
#260b9f
#260b9f
rgb(38,11,159)
-
#2205a5
#2205a5
rgb(34,5,165)
Tone Color Variation
Below, you can see how #2a1298 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