#2a1f8f hex color
In a RGB color space, hex #2a1f8f is composed of 16.5% red, 12.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 70.6% cyan, 78.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 245.9 degrees, a saturation of 64.4% and a lightness of 34.1%. #2a1f8f color hex could be obtained by blending #543eff with #00001f. Closest websafe color is: #333399.
-
- R 16
- G 12
- B 56
RGB color chart
-
- C 71
- M 78
- Y 0
- K 44
CMYK color chart
● #2a1f8f color description : Dark blue.
The hexadecimal color #2a1f8f has RGB values of R:42, G:31, B:143 and CMYK values of C:0.71, M:0.78, Y:0, K:0.44. Its decimal value is 2760591.
Hex triplet | 2a1f8f | #2a1f8f |
---|---|---|
RGB Decimal | 42, 31, 143 | rgb(42,31,143) |
RGB Percent | 16.5, 12.2, 56.1 | rgb(16.5%,12.2%,56.1%) |
CMYK | 71, 78, 0, 44 | |
HSL | 245.9°, 64.4, 34.1 | hsl(245.9,64.4%,34.1%) |
HSV (or HSB) | 245.9°, 78.3, 56.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 21.781, 40.584, -59.438 |
---|---|
XYZ | 6.402, 3.455, 26.315 |
xyY | 0.177, 0.096, 3.455 |
CIE-LCH | 21.781, 71.972, 304.325 |
CIE-LUV | 21.781, -3.16, -68.423 |
Hunter-Lab | 18.588, 28.948, -70.925 |
Binary | 00101010, 00011111, 10001111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1f8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1f8f
This text has a font color of #2a1f8f.
<span style="color:#2a1f8f;">Text here</span>
#2a1f8f background color
This paragraph has a background color of #2a1f8f.
<p style="background-color:#2a1f8f;">Content here</p>
#2a1f8f border color
This element has a border color of #2a1f8f.
<div style="border:1px solid #2a1f8f;">Content here</div>
CSS codes
.text {color:#2a1f8f;}
.background {background-color:#2a1f8f;}
.border {border:1px solid #2a1f8f;}
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, #04030e is the darkest color, while #fdfdff is the lightest one.
-
#04030e
#04030e
rgb(4,3,14)
-
#09071e
#09071e
rgb(9,7,30)
-
#0e0a2e
#0e0a2e
rgb(14,10,46)
-
#120e3e
#120e3e
rgb(18,14,62)
-
#17114f
#17114f
rgb(23,17,79)
-
#1c155f
#1c155f
rgb(28,21,95)
-
#21186f
#21186f
rgb(33,24,111)
-
#251c7f
#251c7f
rgb(37,28,127)
-
#2a1f8f
#2a1f8f
rgb(42,31,143)
-
#2f229f
#2f229f
rgb(47,34,159)
-
#3326af
#3326af
rgb(51,38,175)
-
#3829bf
#3829bf
rgb(56,41,191)
-
#3d2dcf
#3d2dcf
rgb(61,45,207)
Shade Color Variation
-
#4b3bd5
#4b3bd5
rgb(75,59,213)
-
#594cd8
#594cd8
rgb(89,76,216)
-
#685cdc
#685cdc
rgb(104,92,220)
-
#776cdf
#776cdf
rgb(119,108,223)
-
#867ce3
#867ce3
rgb(134,124,227)
-
#958ce6
#958ce6
rgb(149,140,230)
-
#a49cea
#a49cea
rgb(164,156,234)
-
#b3aced
#b3aced
rgb(179,172,237)
-
#c2bcf1
#c2bcf1
rgb(194,188,241)
-
#d0cdf4
#d0cdf4
rgb(208,205,244)
-
#dfddf8
#dfddf8
rgb(223,221,248)
-
#eeedfb
#eeedfb
rgb(238,237,251)
-
#fdfdff
#fdfdff
rgb(253,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555559 is the less saturated color, while #1404aa is the most saturated one.
-
#555559
#555559
rgb(85,85,89)
-
#504e60
#504e60
rgb(80,78,96)
-
#4a4767
#4a4767
rgb(74,71,103)
-
#45406e
#45406e
rgb(69,64,110)
-
#403a74
#403a74
rgb(64,58,116)
-
#3a337b
#3a337b
rgb(58,51,123)
-
#352c82
#352c82
rgb(53,44,130)
-
#2f2688
#2f2688
rgb(47,38,136)
-
#2a1f8f
#2a1f8f
rgb(42,31,143)
-
#251896
#251896
rgb(37,24,150)
-
#1f129c
#1f129c
rgb(31,18,156)
-
#1a0ba3
#1a0ba3
rgb(26,11,163)
-
#1404aa
#1404aa
rgb(20,4,170)
Tone Color Variation
Below, you can see how #2a1f8f 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