#5b40b5 hex color
In a RGB color space, hex #5b40b5 is composed of 35.7% red, 25.1% green and 71% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 64.6% magenta, 0% yellow and 29% black. It has a hue angle of 253.8 degrees, a saturation of 47.8% and a lightness of 48%. #5b40b5 color hex could be obtained by blending #b680ff with #00006b. Closest websafe color is: #6633cc.
-
- R 36
- G 25
- B 71
RGB color chart
-
- C 50
- M 65
- Y 0
- K 29
CMYK color chart
● #5b40b5 color description : Moderate blue.
The hexadecimal color #5b40b5 has RGB values of R:91, G:64, B:181 and CMYK values of C:0.5, M:0.65, Y:0, K:0.29. Its decimal value is 5980341.
Hex triplet | 5b40b5 | #5b40b5 |
---|---|---|
RGB Decimal | 91, 64, 181 | rgb(91,64,181) |
RGB Percent | 35.7, 25.1, 71 | rgb(35.7%,25.1%,71%) |
CMYK | 50, 65, 0, 29 | |
HSL | 253.8°, 47.8, 48 | hsl(253.8,47.8%,48%) |
HSV (or HSB) | 253.8°, 64.6, 71 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 36.417, 41.147, -58.303 |
---|---|
XYZ | 14.487, 9.227, 44.731 |
xyY | 0.212, 0.135, 9.227 |
CIE-LCH | 36.417, 71.36, 305.212 |
CIE-LUV | 36.417, 1.897, -84.78 |
Hunter-Lab | 30.376, 31.973, -66.047 |
Binary | 01011011, 01000000, 10110101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b40b5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b40b5
This text has a font color of #5b40b5.
<span style="color:#5b40b5;">Text here</span>
#5b40b5 background color
This paragraph has a background color of #5b40b5.
<p style="background-color:#5b40b5;">Content here</p>
#5b40b5 border color
This element has a border color of #5b40b5.
<div style="border:1px solid #5b40b5;">Content here</div>
CSS codes
.text {color:#5b40b5;}
.background {background-color:#5b40b5;}
.border {border:1px solid #5b40b5;}
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)
-
#0b0816
#0b0816
rgb(11,8,22)
-
#120d24
#120d24
rgb(18,13,36)
-
#191233
#191233
rgb(25,18,51)
-
#211741
#211741
rgb(33,23,65)
-
#281c50
#281c50
rgb(40,28,80)
-
#2f215e
#2f215e
rgb(47,33,94)
-
#37266d
#37266d
rgb(55,38,109)
-
#3e2c7b
#3e2c7b
rgb(62,44,123)
-
#45318a
#45318a
rgb(69,49,138)
-
#4c3698
#4c3698
rgb(76,54,152)
-
#543ba7
#543ba7
rgb(84,59,167)
-
#5b40b5
#5b40b5
rgb(91,64,181)
Shade Color Variation
-
#654abf
#654abf
rgb(101,74,191)
-
#7158c4
#7158c4
rgb(113,88,196)
-
#7d67c9
#7d67c9
rgb(125,103,201)
-
#8a75ce
#8a75ce
rgb(138,117,206)
-
#9684d3
#9684d3
rgb(150,132,211)
-
#a292d9
#a292d9
rgb(162,146,217)
-
#afa1de
#afa1de
rgb(175,161,222)
-
#bbafe3
#bbafe3
rgb(187,175,227)
-
#c7bee8
#c7bee8
rgb(199,190,232)
-
#d4cced
#d4cced
rgb(212,204,237)
-
#e0dbf2
#e0dbf2
rgb(224,219,242)
-
#ece9f7
#ece9f7
rgb(236,233,247)
-
#f9f8fc
#f9f8fc
rgb(249,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #79797c is the less saturated color, while #3d07ee is the most saturated one.
-
#79797c
#79797c
rgb(121,121,124)
-
#746f86
#746f86
rgb(116,111,134)
-
#6f668f
#6f668f
rgb(111,102,143)
-
#6a5c99
#6a5c99
rgb(106,92,153)
-
#6553a2
#6553a2
rgb(101,83,162)
-
#6049ac
#6049ac
rgb(96,73,172)
-
#5b40b5
#5b40b5
rgb(91,64,181)
-
#5637be
#5637be
rgb(86,55,190)
-
#512dc8
#512dc8
rgb(81,45,200)
-
#4c24d1
#4c24d1
rgb(76,36,209)
-
#471adb
#471adb
rgb(71,26,219)
-
#4211e4
#4211e4
rgb(66,17,228)
-
#3d07ee
#3d07ee
rgb(61,7,238)
Tone Color Variation
Below, you can see how #5b40b5 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