#5a40c0 hex color
In a RGB color space, hex #5a40c0 is composed of 35.3% red, 25.1% green and 75.3% blue. Whereas in a CMYK color space, it is composed of 53.1% cyan, 66.7% magenta, 0% yellow and 24.7% black. It has a hue angle of 252.2 degrees, a saturation of 50.4% and a lightness of 50.2%. #5a40c0 color hex could be obtained by blending #b480ff with #000081. Closest websafe color is: #6633cc.
-
- R 35
- G 25
- B 75
RGB color chart
-
- C 53
- M 67
- Y 0
- K 25
CMYK color chart
● #5a40c0 color description : Moderate blue.
The hexadecimal color #5a40c0 has RGB values of R:90, G:64, B:192 and CMYK values of C:0.53, M:0.67, Y:0, K:0.25. Its decimal value is 5914816.
Hex triplet | 5a40c0 | #5a40c0 |
---|---|---|
RGB Decimal | 90, 64, 192 | rgb(90,64,192) |
RGB Percent | 35.3, 25.1, 75.3 | rgb(35.3%,25.1%,75.3%) |
CMYK | 53, 67, 0, 25 | |
HSL | 252.2°, 50.4, 50.2 | hsl(252.2,50.4%,50.2%) |
HSV (or HSB) | 252.2°, 66.7, 75.3 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 37.199, 44.231, -63.506 |
---|---|
XYZ | 15.563, 9.646, 50.908 |
xyY | 0.204, 0.127, 9.646 |
CIE-LCH | 37.199, 77.391, 304.857 |
CIE-LUV | 37.199, 0.512, -92.345 |
Hunter-Lab | 31.058, 35.092, -75.444 |
Binary | 01011010, 01000000, 11000000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a40c0. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a40c0
This text has a font color of #5a40c0.
<span style="color:#5a40c0;">Text here</span>
#5a40c0 background color
This paragraph has a background color of #5a40c0.
<p style="background-color:#5a40c0;">Content here</p>
#5a40c0 border color
This element has a border color of #5a40c0.
<div style="border:1px solid #5a40c0;">Content here</div>
CSS codes
.text {color:#5a40c0;}
.background {background-color:#5a40c0;}
.border {border:1px solid #5a40c0;}
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, #000001 is the darkest color, while #f3f1fa is the lightest one.
-
#000001
#000001
rgb(0,0,1)
-
#070510
#070510
rgb(7,5,16)
-
#0e0a1e
#0e0a1e
rgb(14,10,30)
-
#150f2d
#150f2d
rgb(21,15,45)
-
#1c143c
#1c143c
rgb(28,20,60)
-
#23194b
#23194b
rgb(35,25,75)
-
#2a1d59
#2a1d59
rgb(42,29,89)
-
#302268
#302268
rgb(48,34,104)
-
#372777
#372777
rgb(55,39,119)
-
#3e2c86
#3e2c86
rgb(62,44,134)
-
#453194
#453194
rgb(69,49,148)
-
#4c36a3
#4c36a3
rgb(76,54,163)
-
#533bb2
#533bb2
rgb(83,59,178)
Shade Color Variation
-
#5a40c0
#5a40c0
rgb(90,64,192)
-
#674fc5
#674fc5
rgb(103,79,197)
-
#735eca
#735eca
rgb(115,94,202)
-
#806ccf
#806ccf
rgb(128,108,207)
-
#8d7bd3
#8d7bd3
rgb(141,123,211)
-
#9a8ad8
#9a8ad8
rgb(154,138,216)
-
#a699dd
#a699dd
rgb(166,153,221)
-
#b3a7e2
#b3a7e2
rgb(179,167,226)
-
#c0b6e7
#c0b6e7
rgb(192,182,231)
-
#cdc5ec
#cdc5ec
rgb(205,197,236)
-
#d9d4f1
#d9d4f1
rgb(217,212,241)
-
#e6e2f6
#e6e2f6
rgb(230,226,246)
-
#f3f1fa
#f3f1fa
rgb(243,241,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7d7b85 is the less saturated color, while #3705fb is the most saturated one.
-
#7d7b85
#7d7b85
rgb(125,123,133)
-
#77718f
#77718f
rgb(119,113,143)
-
#716799
#716799
rgb(113,103,153)
-
#6b5da3
#6b5da3
rgb(107,93,163)
-
#6654ac
#6654ac
rgb(102,84,172)
-
#604ab6
#604ab6
rgb(96,74,182)
-
#5a40c0
#5a40c0
rgb(90,64,192)
-
#5436ca
#5436ca
rgb(84,54,202)
-
#4e2cd4
#4e2cd4
rgb(78,44,212)
-
#4923dd
#4923dd
rgb(73,35,221)
-
#4319e7
#4319e7
rgb(67,25,231)
-
#3d0ff1
#3d0ff1
rgb(61,15,241)
-
#3705fb
#3705fb
rgb(55,5,251)
Tone Color Variation
Below, you can see how #5a40c0 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