#2a0798 hex color
In a RGB color space, hex #2a0798 is composed of 16.5% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 72.4% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 254.5 degrees, a saturation of 91.2% and a lightness of 31.2%. #2a0798 color hex could be obtained by blending #540eff with #000031. Closest websafe color is: #330099.
-
- R 16
- G 3
- B 60
RGB color chart
-
- C 72
- M 95
- Y 0
- K 40
CMYK color chart
● #2a0798 color description : Dark blue.
The hexadecimal color #2a0798 has RGB values of R:42, G:7, B:152 and CMYK values of C:0.72, M:0.95, Y:0, K:0.4. Its decimal value is 2754456.
Hex triplet | 2a0798 | #2a0798 |
---|---|---|
RGB Decimal | 42, 7, 152 | rgb(42,7,152) |
RGB Percent | 16.5, 2.7, 59.6 | rgb(16.5%,2.7%,59.6%) |
CMYK | 72, 95, 0, 40 | |
HSL | 254.5°, 91.2, 31.2 | hsl(254.5,91.2%,31.2%) |
HSV (or HSB) | 254.5°, 95.4, 59.6 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.683, 52.71, -68.493 |
---|---|
XYZ | 6.697, 2.911, 29.913 |
xyY | 0.169, 0.074, 2.911 |
CIE-LCH | 19.683, 86.427, 307.581 |
CIE-LUV | 19.683, -1.695, -71.991 |
Hunter-Lab | 17.061, 40.211, -92.008 |
Binary | 00101010, 00000111, 10011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #2a0798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a0798
This text has a font color of #2a0798.
<span style="color:#2a0798;">Text here</span>
#2a0798 background color
This paragraph has a background color of #2a0798.
<p style="background-color:#2a0798;">Content here</p>
#2a0798 border color
This element has a border color of #2a0798.
<div style="border:1px solid #2a0798;">Content here</div>
CSS codes
.text {color:#2a0798;}
.background {background-color:#2a0798;}
.border {border:1px solid #2a0798;}
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 #f2eefe is the lightest one.
-
#010002
#010002
rgb(1,0,2)
-
#060115
#060115
rgb(6,1,21)
-
#0b0227
#0b0227
rgb(11,2,39)
-
#10033a
#10033a
rgb(16,3,58)
-
#15044d
#15044d
rgb(21,4,77)
-
#1a0460
#1a0460
rgb(26,4,96)
-
#200572
#200572
rgb(32,5,114)
-
#250685
#250685
rgb(37,6,133)
-
#2a0798
#2a0798
rgb(42,7,152)
-
#2f08ab
#2f08ab
rgb(47,8,171)
-
#3409be
#3409be
rgb(52,9,190)
-
#3a0ad0
#3a0ad0
rgb(58,10,208)
-
#3f0ae3
#3f0ae3
rgb(63,10,227)
Shade Color Variation
-
#450df4
#450df4
rgb(69,13,244)
-
#5320f5
#5320f5
rgb(83,32,245)
-
#6233f6
#6233f6
rgb(98,51,246)
-
#7045f6
#7045f6
rgb(112,69,246)
-
#7f58f7
#7f58f7
rgb(127,88,247)
-
#8d6bf8
#8d6bf8
rgb(141,107,248)
-
#9b7ef9
#9b7ef9
rgb(155,126,249)
-
#aa90fa
#aa90fa
rgb(170,144,250)
-
#b8a3fb
#b8a3fb
rgb(184,163,251)
-
#c7b6fc
#c7b6fc
rgb(199,182,252)
-
#d5c9fd
#d5c9fd
rgb(213,201,253)
-
#e4dbfd
#e4dbfd
rgb(228,219,253)
-
#f2eefe
#f2eefe
rgb(242,238,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4a55 is the less saturated color, while #27019e is the most saturated one.
-
#4d4a55
#4d4a55
rgb(77,74,85)
-
#4a445b
#4a445b
rgb(74,68,91)
-
#463e61
#463e61
rgb(70,62,97)
-
#433867
#433867
rgb(67,56,103)
-
#40326d
#40326d
rgb(64,50,109)
-
#3d2c73
#3d2c73
rgb(61,44,115)
-
#3a2679
#3a2679
rgb(58,38,121)
-
#371f80
#371f80
rgb(55,31,128)
-
#331986
#331986
rgb(51,25,134)
-
#30138c
#30138c
rgb(48,19,140)
-
#2d0d92
#2d0d92
rgb(45,13,146)
-
#2a0798
#2a0798
rgb(42,7,152)
-
#27019e
#27019e
rgb(39,1,158)
Tone Color Variation
Below, you can see how #2a0798 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