#5840a2 hex color
In a RGB color space, hex #5840a2 is composed of 34.5% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 45.7% cyan, 60.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 254.7 degrees, a saturation of 43.4% and a lightness of 44.3%. #5840a2 color hex could be obtained by blending #b080ff with #000045. Closest websafe color is: #663399.
-
- R 35
- G 25
- B 64
RGB color chart
-
- C 46
- M 60
- Y 0
- K 36
CMYK color chart
● #5840a2 color description : Dark moderate blue.
The hexadecimal color #5840a2 has RGB values of R:88, G:64, B:162 and CMYK values of C:0.46, M:0.6, Y:0, K:0.36. Its decimal value is 5783714.
Hex triplet | 5840a2 | #5840a2 |
---|---|---|
RGB Decimal | 88, 64, 162 | rgb(88,64,162) |
RGB Percent | 34.5, 25.1, 63.5 | rgb(34.5%,25.1%,63.5%) |
CMYK | 46, 60, 0, 36 | |
HSL | 254.7°, 43.4, 44.3 | hsl(254.7,43.4%,44.3%) |
HSV (or HSB) | 254.7°, 60.5, 63.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 34.701, 34.901, -49.77 |
---|---|
XYZ | 12.378, 8.35, 35.14 |
xyY | 0.222, 0.149, 8.35 |
CIE-LCH | 34.701, 60.788, 305.04 |
CIE-LUV | 34.701, 2.652, -71.79 |
Hunter-Lab | 28.896, 25.896, -51.874 |
Binary | 01011000, 01000000, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5840a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5840a2
This text has a font color of #5840a2.
<span style="color:#5840a2;">Text here</span>
#5840a2 background color
This paragraph has a background color of #5840a2.
<p style="background-color:#5840a2;">Content here</p>
#5840a2 border color
This element has a border color of #5840a2.
<div style="border:1px solid #5840a2;">Content here</div>
CSS codes
.text {color:#5840a2;}
.background {background-color:#5840a2;}
.border {border:1px solid #5840a2;}
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, #040307 is the darkest color, while #f9f8fc is the lightest one.
-
#040307
#040307
rgb(4,3,7)
-
#0c0815
#0c0815
rgb(12,8,21)
-
#130e23
#130e23
rgb(19,14,35)
-
#1b1432
#1b1432
rgb(27,20,50)
-
#231940
#231940
rgb(35,25,64)
-
#2a1f4e
#2a1f4e
rgb(42,31,78)
-
#32245c
#32245c
rgb(50,36,92)
-
#392a6a
#392a6a
rgb(57,42,106)
-
#412f78
#412f78
rgb(65,47,120)
-
#493586
#493586
rgb(73,53,134)
-
#503a94
#503a94
rgb(80,58,148)
-
#5840a2
#5840a2
rgb(88,64,162)
-
#6046b0
#6046b0
rgb(96,70,176)
Shade Color Variation
-
#6a50ba
#6a50ba
rgb(106,80,186)
-
#765ebf
#765ebf
rgb(118,94,191)
-
#816cc5
#816cc5
rgb(129,108,197)
-
#8d7aca
#8d7aca
rgb(141,122,202)
-
#9988d0
#9988d0
rgb(153,136,208)
-
#a596d5
#a596d5
rgb(165,150,213)
-
#b1a4db
#b1a4db
rgb(177,164,219)
-
#bdb2e1
#bdb2e1
rgb(189,178,225)
-
#c9c0e6
#c9c0e6
rgb(201,192,230)
-
#d5ceec
#d5ceec
rgb(213,206,236)
-
#e1dcf1
#e1dcf1
rgb(225,220,241)
-
#edeaf7
#edeaf7
rgb(237,234,247)
-
#f9f8fc
#f9f8fc
rgb(249,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6e6b77 is the less saturated color, while #3903df is the most saturated one.
-
#6e6b77
#6e6b77
rgb(110,107,119)
-
#6a637f
#6a637f
rgb(106,99,127)
-
#655a88
#655a88
rgb(101,90,136)
-
#615191
#615191
rgb(97,81,145)
-
#5c4999
#5c4999
rgb(92,73,153)
-
#5840a2
#5840a2
rgb(88,64,162)
-
#5437ab
#5437ab
rgb(84,55,171)
-
#4f2fb3
#4f2fb3
rgb(79,47,179)
-
#4b26bc
#4b26bc
rgb(75,38,188)
-
#461dc5
#461dc5
rgb(70,29,197)
-
#4215cd
#4215cd
rgb(66,21,205)
-
#3d0cd6
#3d0cd6
rgb(61,12,214)
-
#3903df
#3903df
rgb(57,3,223)
Tone Color Variation
Below, you can see how #5840a2 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