#2a1f9e hex color
In a RGB color space, hex #2a1f9e is composed of 16.5% red, 12.2% green and 62% blue. Whereas in a CMYK color space, it is composed of 73.4% cyan, 80.4% magenta, 0% yellow and 38% black. It has a hue angle of 245.2 degrees, a saturation of 67.2% and a lightness of 37.1%. #2a1f9e color hex could be obtained by blending #543eff with #00003d. Closest websafe color is: #333399.
-
- R 16
- G 12
- B 62
RGB color chart
-
- C 73
- M 80
- Y 0
- K 38
CMYK color chart
● #2a1f9e color description : Dark blue.
The hexadecimal color #2a1f9e has RGB values of R:42, G:31, B:158 and CMYK values of C:0.73, M:0.8, Y:0, K:0.38. Its decimal value is 2760606.
Hex triplet | 2a1f9e | #2a1f9e |
---|---|---|
RGB Decimal | 42, 31, 158 | rgb(42,31,158) |
RGB Percent | 16.5, 12.2, 62 | rgb(16.5%,12.2%,62%) |
CMYK | 73, 80, 0, 38 | |
HSL | 245.2°, 67.2, 37.1 | hsl(245.2,67.2%,37.1%) |
HSV (or HSB) | 245.2°, 80.4, 62 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 23.473, 45.407, -65.884 |
---|---|
XYZ | 7.615, 3.94, 32.705 |
xyY | 0.172, 0.089, 3.94 |
CIE-LCH | 23.473, 80.015, 304.575 |
CIE-LUV | 23.473, -3.981, -77.263 |
Hunter-Lab | 19.85, 33.739, -83.789 |
Binary | 00101010, 00011111, 10011110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1f9e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1f9e
This text has a font color of #2a1f9e.
<span style="color:#2a1f9e;">Text here</span>
#2a1f9e background color
This paragraph has a background color of #2a1f9e.
<p style="background-color:#2a1f9e;">Content here</p>
#2a1f9e border color
This element has a border color of #2a1f9e.
<div style="border:1px solid #2a1f9e;">Content here</div>
CSS codes
.text {color:#2a1f9e;}
.background {background-color:#2a1f9e;}
.border {border:1px solid #2a1f9e;}
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)
-
#07051b
#07051b
rgb(7,5,27)
-
#0b082b
#0b082b
rgb(11,8,43)
-
#100c3c
#100c3c
rgb(16,12,60)
-
#140f4c
#140f4c
rgb(20,15,76)
-
#19125c
#19125c
rgb(25,18,92)
-
#1d156d
#1d156d
rgb(29,21,109)
-
#21197d
#21197d
rgb(33,25,125)
-
#261c8e
#261c8e
rgb(38,28,142)
-
#2a1f9e
#2a1f9e
rgb(42,31,158)
-
#2e22ae
#2e22ae
rgb(46,34,174)
-
#3325bf
#3325bf
rgb(51,37,191)
-
#3729cf
#3729cf
rgb(55,41,207)
Shade Color Variation
-
#4234d7
#4234d7
rgb(66,52,215)
-
#5245da
#5245da
rgb(82,69,218)
-
#6155de
#6155de
rgb(97,85,222)
-
#7065e1
#7065e1
rgb(112,101,225)
-
#7f76e4
#7f76e4
rgb(127,118,228)
-
#8f86e7
#8f86e7
rgb(143,134,231)
-
#9e97eb
#9e97eb
rgb(158,151,235)
-
#ada7ee
#ada7ee
rgb(173,167,238)
-
#bcb7f1
#bcb7f1
rgb(188,183,241)
-
#ccc8f4
#ccc8f4
rgb(204,200,244)
-
#dbd8f7
#dbd8f7
rgb(219,216,247)
-
#eae9fb
#eae9fb
rgb(234,233,251)
-
#f9f9fe
#f9f9fe
rgb(249,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a5964 is the less saturated color, while #1202bb is the most saturated one.
-
#5a5964
#5a5964
rgb(90,89,100)
-
#54526b
#54526b
rgb(84,82,107)
-
#4e4b72
#4e4b72
rgb(78,75,114)
-
#48437a
#48437a
rgb(72,67,122)
-
#423c81
#423c81
rgb(66,60,129)
-
#3c3588
#3c3588
rgb(60,53,136)
-
#362e8f
#362e8f
rgb(54,46,143)
-
#302697
#302697
rgb(48,38,151)
-
#2a1f9e
#2a1f9e
rgb(42,31,158)
-
#2418a5
#2418a5
rgb(36,24,165)
-
#1e10ad
#1e10ad
rgb(30,16,173)
-
#1809b4
#1809b4
rgb(24,9,180)
-
#1202bb
#1202bb
rgb(18,2,187)
Tone Color Variation
Below, you can see how #2a1f9e 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