#5157a1 hex color
In a RGB color space, hex #5157a1 is composed of 31.8% red, 34.1% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 46% magenta, 0% yellow and 36.9% black. It has a hue angle of 235.5 degrees, a saturation of 33.1% and a lightness of 47.5%. #5157a1 color hex could be obtained by blending #a2aeff with #000043. Closest websafe color is: #666699.
-
- R 32
- G 34
- B 63
RGB color chart
-
- C 50
- M 46
- Y 0
- K 37
CMYK color chart
● #5157a1 color description : Dark moderate blue.
The hexadecimal color #5157a1 has RGB values of R:81, G:87, B:161 and CMYK values of C:0.5, M:0.46, Y:0, K:0.37. Its decimal value is 5330849.
Hex triplet | 5157a1 | #5157a1 |
---|---|---|
RGB Decimal | 81, 87, 161 | rgb(81,87,161) |
RGB Percent | 31.8, 34.1, 63.1 | rgb(31.8%,34.1%,63.1%) |
CMYK | 50, 46, 0, 37 | |
HSL | 235.5°, 33.1, 47.5 | hsl(235.5,33.1%,47.5%) |
HSV (or HSB) | 235.5°, 49.7, 63.1 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 39.813, 18.575, -40.995 |
---|---|
XYZ | 13.233, 11.138, 35.169 |
xyY | 0.222, 0.187, 11.138 |
CIE-LCH | 39.813, 45.007, 294.375 |
CIE-LUV | 39.813, -6.542, -60.866 |
Hunter-Lab | 33.374, 12.372, -39.116 |
Binary | 01010001, 01010111, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5157a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5157a1
This text has a font color of #5157a1.
<span style="color:#5157a1;">Text here</span>
#5157a1 background color
This paragraph has a background color of #5157a1.
<p style="background-color:#5157a1;">Content here</p>
#5157a1 border color
This element has a border color of #5157a1.
<div style="border:1px solid #5157a1;">Content here</div>
CSS codes
.text {color:#5157a1;}
.background {background-color:#5157a1;}
.border {border:1px solid #5157a1;}
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, #020204 is the darkest color, while #f6f7fb is the lightest one.
-
#020204
#020204
rgb(2,2,4)
-
#090911
#090911
rgb(9,9,17)
-
#0f101f
#0f101f
rgb(15,16,31)
-
#16182c
#16182c
rgb(22,24,44)
-
#1c1f39
#1c1f39
rgb(28,31,57)
-
#232646
#232646
rgb(35,38,70)
-
#2a2d53
#2a2d53
rgb(42,45,83)
-
#303460
#303460
rgb(48,52,96)
-
#373b6d
#373b6d
rgb(55,59,109)
-
#3d427a
#3d427a
rgb(61,66,122)
-
#444987
#444987
rgb(68,73,135)
-
#4a5094
#4a5094
rgb(74,80,148)
-
#5157a1
#5157a1
rgb(81,87,161)
Shade Color Variation
-
#5a60ac
#5a60ac
rgb(90,96,172)
-
#676cb2
#676cb2
rgb(103,108,178)
-
#7479b9
#7479b9
rgb(116,121,185)
-
#8186c0
#8186c0
rgb(129,134,192)
-
#8e92c6
#8e92c6
rgb(142,146,198)
-
#9b9fcd
#9b9fcd
rgb(155,159,205)
-
#a8abd3
#a8abd3
rgb(168,171,211)
-
#b5b8da
#b5b8da
rgb(181,184,218)
-
#c2c4e0
#c2c4e0
rgb(194,196,224)
-
#cfd1e7
#cfd1e7
rgb(207,209,231)
-
#dcdeee
#dcdeee
rgb(220,222,238)
-
#e9eaf4
#e9eaf4
rgb(233,234,244)
-
#f6f7fb
#f6f7fb
rgb(246,247,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #76777c is the less saturated color, while #0718eb is the most saturated one.
-
#76777c
#76777c
rgb(118,119,124)
-
#6d6f85
#6d6f85
rgb(109,111,133)
-
#64678e
#64678e
rgb(100,103,142)
-
#5a5f98
#5a5f98
rgb(90,95,152)
-
#5157a1
#5157a1
rgb(81,87,161)
-
#484faa
#484faa
rgb(72,79,170)
-
#3e47b4
#3e47b4
rgb(62,71,180)
-
#353fbd
#353fbd
rgb(53,63,189)
-
#2c37c6
#2c37c6
rgb(44,55,198)
-
#222fd0
#222fd0
rgb(34,47,208)
-
#1928d9
#1928d9
rgb(25,40,217)
-
#1020e2
#1020e2
rgb(16,32,226)
-
#0718eb
#0718eb
rgb(7,24,235)
Tone Color Variation
Below, you can see how #5157a1 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