#2a1f81 hex color
In a RGB color space, hex #2a1f81 is composed of 16.5% red, 12.2% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 67.4% cyan, 76% magenta, 0% yellow and 49.4% black. It has a hue angle of 246.7 degrees, a saturation of 61.3% and a lightness of 31.4%. #2a1f81 color hex could be obtained by blending #543eff with #000003. Closest websafe color is: #333399.
-
- R 16
- G 12
- B 51
RGB color chart
-
- C 67
- M 76
- Y 0
- K 49
CMYK color chart
● #2a1f81 color description : Dark blue.
The hexadecimal color #2a1f81 has RGB values of R:42, G:31, B:129 and CMYK values of C:0.67, M:0.76, Y:0, K:0.49. Its decimal value is 2760577.
Hex triplet | 2a1f81 | #2a1f81 |
---|---|---|
RGB Decimal | 42, 31, 129 | rgb(42,31,129) |
RGB Percent | 16.5, 12.2, 50.6 | rgb(16.5%,12.2%,50.6%) |
CMYK | 67, 76, 0, 49 | |
HSL | 246.7°, 61.3, 31.4 | hsl(246.7,61.3%,31.4%) |
HSV (or HSB) | 246.7°, 76, 50.6 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 20.271, 35.954, -53.151 |
---|---|
XYZ | 5.407, 3.057, 21.073 |
xyY | 0.183, 0.103, 3.057 |
CIE-LCH | 20.271, 64.17, 304.076 |
CIE-LUV | 20.271, -2.354, -60.084 |
Hunter-Lab | 17.484, 24.599, -59.221 |
Binary | 00101010, 00011111, 10000001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1f81. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1f81
This text has a font color of #2a1f81.
<span style="color:#2a1f81;">Text here</span>
#2a1f81 background color
This paragraph has a background color of #2a1f81.
<p style="background-color:#2a1f81;">Content here</p>
#2a1f81 border color
This element has a border color of #2a1f81.
<div style="border:1px solid #2a1f81;">Content here</div>
CSS codes
.text {color:#2a1f81;}
.background {background-color:#2a1f81;}
.border {border:1px solid #2a1f81;}
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, #010102 is the darkest color, while #f3f2fc is the lightest one.
-
#010102
#010102
rgb(1,1,2)
-
#060412
#060412
rgb(6,4,18)
-
#0b0822
#0b0822
rgb(11,8,34)
-
#100c32
#100c32
rgb(16,12,50)
-
#151042
#151042
rgb(21,16,66)
-
#1b1452
#1b1452
rgb(27,20,82)
-
#201761
#201761
rgb(32,23,97)
-
#251b71
#251b71
rgb(37,27,113)
-
#2a1f81
#2a1f81
rgb(42,31,129)
-
#2f2391
#2f2391
rgb(47,35,145)
-
#3427a1
#3427a1
rgb(52,39,161)
-
#392ab0
#392ab0
rgb(57,42,176)
-
#3f2ec0
#3f2ec0
rgb(63,46,192)
Shade Color Variation
-
#4534ce
#4534ce
rgb(69,52,206)
-
#5444d2
#5444d2
rgb(84,68,210)
-
#6254d6
#6254d6
rgb(98,84,214)
-
#7163da
#7163da
rgb(113,99,218)
-
#7f73dd
#7f73dd
rgb(127,115,221)
-
#8e83e1
#8e83e1
rgb(142,131,225)
-
#9c93e5
#9c93e5
rgb(156,147,229)
-
#aaa3e9
#aaa3e9
rgb(170,163,233)
-
#b9b2ed
#b9b2ed
rgb(185,178,237)
-
#c7c2f0
#c7c2f0
rgb(199,194,240)
-
#d6d2f4
#d6d2f4
rgb(214,210,244)
-
#e4e2f8
#e4e2f8
rgb(228,226,248)
-
#f3f2fc
#f3f2fc
rgb(243,242,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b4a56 is the less saturated color, while #1200a0 is the most saturated one.
-
#4b4a56
#4b4a56
rgb(75,74,86)
-
#47445c
#47445c
rgb(71,68,92)
-
#423e62
#423e62
rgb(66,62,98)
-
#3d3868
#3d3868
rgb(61,56,104)
-
#38316f
#38316f
rgb(56,49,111)
-
#342b75
#342b75
rgb(52,43,117)
-
#2f257b
#2f257b
rgb(47,37,123)
-
#2a1f81
#2a1f81
rgb(42,31,129)
-
#251987
#251987
rgb(37,25,135)
-
#20138d
#20138d
rgb(32,19,141)
-
#1c0d93
#1c0d93
rgb(28,13,147)
-
#17069a
#17069a
rgb(23,6,154)
-
#1200a0
#1200a0
rgb(18,0,160)
Tone Color Variation
Below, you can see how #2a1f81 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