#2a1fa8 hex color
In a RGB color space, hex #2a1fa8 is composed of 16.5% red, 12.2% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 75% cyan, 81.5% magenta, 0% yellow and 34.1% black. It has a hue angle of 244.8 degrees, a saturation of 68.8% and a lightness of 39%. #2a1fa8 color hex could be obtained by blending #543eff with #000051. Closest websafe color is: #333399.
-
- R 16
- G 12
- B 66
RGB color chart
-
- C 75
- M 82
- Y 0
- K 34
CMYK color chart
● #2a1fa8 color description : Dark blue.
The hexadecimal color #2a1fa8 has RGB values of R:42, G:31, B:168 and CMYK values of C:0.75, M:0.82, Y:0, K:0.34. Its decimal value is 2760616.
Hex triplet | 2a1fa8 | #2a1fa8 |
---|---|---|
RGB Decimal | 42, 31, 168 | rgb(42,31,168) |
RGB Percent | 16.5, 12.2, 65.9 | rgb(16.5%,12.2%,65.9%) |
CMYK | 75, 82, 0, 34 | |
HSL | 244.8°, 68.8, 39 | hsl(244.8,68.8%,39%) |
HSV (or HSB) | 244.8°, 81.5, 65.9 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 24.636, 48.54, -70.036 |
---|---|
XYZ | 8.511, 4.299, 37.425 |
xyY | 0.169, 0.086, 4.299 |
CIE-LCH | 24.636, 85.212, 304.725 |
CIE-LUV | 24.636, -4.509, -83.111 |
Hunter-Lab | 20.734, 36.991, -92.506 |
Binary | 00101010, 00011111, 10101000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1fa8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1fa8
This text has a font color of #2a1fa8.
<span style="color:#2a1fa8;">Text here</span>
#2a1fa8 background color
This paragraph has a background color of #2a1fa8.
<p style="background-color:#2a1fa8;">Content here</p>
#2a1fa8 border color
This element has a border color of #2a1fa8.
<div style="border:1px solid #2a1fa8;">Content here</div>
CSS codes
.text {color:#2a1fa8;}
.background {background-color:#2a1fa8;}
.border {border:1px solid #2a1fa8;}
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, #010002 is the darkest color, while #f2f1fc is the lightest one.
-
#010002
#010002
rgb(1,0,2)
-
#050313
#050313
rgb(5,3,19)
-
#090724
#090724
rgb(9,7,36)
-
#0d0a34
#0d0a34
rgb(13,10,52)
-
#110d45
#110d45
rgb(17,13,69)
-
#151055
#151055
rgb(21,16,85)
-
#191366
#191366
rgb(25,19,102)
-
#1e1676
#1e1676
rgb(30,22,118)
-
#221987
#221987
rgb(34,25,135)
-
#261c97
#261c97
rgb(38,28,151)
-
#2a1fa8
#2a1fa8
rgb(42,31,168)
-
#2e22b9
#2e22b9
rgb(46,34,185)
-
#3225c9
#3225c9
rgb(50,37,201)
Shade Color Variation
-
#382ad8
#382ad8
rgb(56,42,216)
-
#483bdb
#483bdb
rgb(72,59,219)
-
#574bde
#574bde
rgb(87,75,222)
-
#665ce1
#665ce1
rgb(102,92,225)
-
#766ce4
#766ce4
rgb(118,108,228)
-
#857de7
#857de7
rgb(133,125,231)
-
#958dea
#958dea
rgb(149,141,234)
-
#a49eed
#a49eed
rgb(164,158,237)
-
#b4aff0
#b4aff0
rgb(180,175,240)
-
#c3bff3
#c3bff3
rgb(195,191,243)
-
#d3d0f6
#d3d0f6
rgb(211,208,246)
-
#e2e0f9
#e2e0f9
rgb(226,224,249)
-
#f2f1fc
#f2f1fc
rgb(242,241,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5d5c6b is the less saturated color, while #1000c7 is the most saturated one.
-
#5d5c6b
#5d5c6b
rgb(93,92,107)
-
#575572
#575572
rgb(87,85,114)
-
#514d7a
#514d7a
rgb(81,77,122)
-
#4a4582
#4a4582
rgb(74,69,130)
-
#443e89
#443e89
rgb(68,62,137)
-
#3d3691
#3d3691
rgb(61,54,145)
-
#372e99
#372e99
rgb(55,46,153)
-
#3027a0
#3027a0
rgb(48,39,160)
-
#2a1fa8
#2a1fa8
rgb(42,31,168)
-
#2417b0
#2417b0
rgb(36,23,176)
-
#1d10b7
#1d10b7
rgb(29,16,183)
-
#1708bf
#1708bf
rgb(23,8,191)
-
#1000c7
#1000c7
rgb(16,0,199)
Tone Color Variation
Below, you can see how #2a1fa8 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