#5156d1 hex color
In a RGB color space, hex #5156d1 is composed of 31.8% red, 33.7% green and 82% blue. Whereas in a CMYK color space, it is composed of 61.2% cyan, 58.9% magenta, 0% yellow and 18% black. It has a hue angle of 237.7 degrees, a saturation of 58.2% and a lightness of 56.9%. #5156d1 color hex could be obtained by blending #a2acff with #0000a3. Closest websafe color is: #6666cc.
-
- R 32
- G 34
- B 82
RGB color chart
-
- C 61
- M 59
- Y 0
- K 18
CMYK color chart
● #5156d1 color description : Moderate blue.
The hexadecimal color #5156d1 has RGB values of R:81, G:86, B:209 and CMYK values of C:0.61, M:0.59, Y:0, K:0.18. Its decimal value is 5330641.
Hex triplet | 5156d1 | #5156d1 |
---|---|---|
RGB Decimal | 81, 86, 209 | rgb(81,86,209) |
RGB Percent | 31.8, 33.7, 82 | rgb(31.8%,33.7%,82%) |
CMYK | 61, 59, 0, 18 | |
HSL | 237.7°, 58.2, 56.9 | hsl(237.7,58.2%,56.9%) |
HSV (or HSB) | 237.7°, 61.2, 82 | |
Web Safe | 6666cc | #6666cc |
CIE-LAB | 42.775, 34.998, -64.318 |
---|---|
XYZ | 18.227, 13.008, 61.868 |
xyY | 0.196, 0.14, 13.008 |
CIE-LCH | 42.775, 73.223, 298.552 |
CIE-LUV | 42.775, -8.387, -97.253 |
Hunter-Lab | 36.066, 27.097, -76.461 |
Binary | 01010001, 01010110, 11010001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5156d1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5156d1
This text has a font color of #5156d1.
<span style="color:#5156d1;">Text here</span>
#5156d1 background color
This paragraph has a background color of #5156d1.
<p style="background-color:#5156d1;">Content here</p>
#5156d1 border color
This element has a border color of #5156d1.
<div style="border:1px solid #5156d1;">Content here</div>
CSS codes
.text {color:#5156d1;}
.background {background-color:#5156d1;}
.border {border:1px solid #5156d1;}
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, #03040c is the darkest color, while #fcfcfe is the lightest one.
-
#03040c
#03040c
rgb(3,4,12)
-
#07081c
#07081c
rgb(7,8,28)
-
#0b0d2b
#0b0d2b
rgb(11,13,43)
-
#10113b
#10113b
rgb(16,17,59)
-
#14164a
#14164a
rgb(20,22,74)
-
#181a5a
#181a5a
rgb(24,26,90)
-
#1c1f69
#1c1f69
rgb(28,31,105)
-
#202379
#202379
rgb(32,35,121)
-
#242888
#242888
rgb(36,40,136)
-
#282c98
#282c98
rgb(40,44,152)
-
#2c31a7
#2c31a7
rgb(44,49,167)
-
#3036b7
#3036b7
rgb(48,54,183)
-
#343ac6
#343ac6
rgb(52,58,198)
Shade Color Variation
-
#4147cd
#4147cd
rgb(65,71,205)
-
#5156d1
#5156d1
rgb(81,86,209)
-
#6165d5
#6165d5
rgb(97,101,213)
-
#7074d9
#7074d9
rgb(112,116,217)
-
#8083dd
#8083dd
rgb(128,131,221)
-
#8f92e1
#8f92e1
rgb(143,146,225)
-
#9fa1e6
#9fa1e6
rgb(159,161,230)
-
#aeb0ea
#aeb0ea
rgb(174,176,234)
-
#bebfee
#bebfee
rgb(190,191,238)
-
#cdcff2
#cdcff2
rgb(205,207,242)
-
#dddef6
#dddef6
rgb(221,222,246)
-
#ecedfa
#ecedfa
rgb(236,237,250)
-
#fcfcfe
#fcfcfe
rgb(252,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #8c8d96 is the less saturated color, while #272ffb is the most saturated one.
-
#8c8d96
#8c8d96
rgb(140,141,150)
-
#84859e
#84859e
rgb(132,133,158)
-
#7b7da7
#7b7da7
rgb(123,125,167)
-
#7375af
#7375af
rgb(115,117,175)
-
#6a6db8
#6a6db8
rgb(106,109,184)
-
#6266c0
#6266c0
rgb(98,102,192)
-
#595ec9
#595ec9
rgb(89,94,201)
-
#5156d1
#5156d1
rgb(81,86,209)
-
#494ed9
#494ed9
rgb(73,78,217)
-
#4046e2
#4046e2
rgb(64,70,226)
-
#383fea
#383fea
rgb(56,63,234)
-
#2f37f3
#2f37f3
rgb(47,55,243)
-
#272ffb
#272ffb
rgb(39,47,251)
Tone Color Variation
Below, you can see how #5156d1 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