#5156b5 hex color
In a RGB color space, hex #5156b5 is composed of 31.8% red, 33.7% green and 71% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 52.5% magenta, 0% yellow and 29% black. It has a hue angle of 237 degrees, a saturation of 40.3% and a lightness of 51.4%. #5156b5 color hex could be obtained by blending #a2acff with #00006b. Closest websafe color is: #6666cc.
-
- R 32
- G 34
- B 71
RGB color chart
-
- C 55
- M 52
- Y 0
- K 29
CMYK color chart
● #5156b5 color description : Moderate blue.
The hexadecimal color #5156b5 has RGB values of R:81, G:86, B:181 and CMYK values of C:0.55, M:0.52, Y:0, K:0.29. Its decimal value is 5330613.
Hex triplet | 5156b5 | #5156b5 |
---|---|---|
RGB Decimal | 81, 86, 181 | rgb(81,86,181) |
RGB Percent | 31.8, 33.7, 71 | rgb(31.8%,33.7%,71%) |
CMYK | 55, 52, 0, 29 | |
HSL | 237°, 40.3, 51.4 | hsl(237,40.3%,51.4%) |
HSV (or HSB) | 237°, 55.2, 71 | |
Web Safe | 6666cc | #6666cc |
CIE-LAB | 40.801, 25.73, -51.248 |
---|---|
XYZ | 15.06, 11.741, 45.186 |
xyY | 0.209, 0.163, 11.741 |
CIE-LCH | 40.801, 57.345, 296.66 |
CIE-LUV | 40.801, -7.142, -76.873 |
Hunter-Lab | 34.264, 18.492, -54.203 |
Binary | 01010001, 01010110, 10110101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5156b5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5156b5
This text has a font color of #5156b5.
<span style="color:#5156b5;">Text here</span>
#5156b5 background color
This paragraph has a background color of #5156b5.
<p style="background-color:#5156b5;">Content here</p>
#5156b5 border color
This element has a border color of #5156b5.
<div style="border:1px solid #5156b5;">Content here</div>
CSS codes
.text {color:#5156b5;}
.background {background-color:#5156b5;}
.border {border:1px solid #5156b5;}
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, #020205 is the darkest color, while #f6f6fb is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#080813
#080813
rgb(8,8,19)
-
#0e0f20
#0e0f20
rgb(14,15,32)
-
#14152e
#14152e
rgb(20,21,46)
-
#1a1b3c
#1a1b3c
rgb(26,27,60)
-
#1f214a
#1f214a
rgb(31,33,74)
-
#252857
#252857
rgb(37,40,87)
-
#2b2e65
#2b2e65
rgb(43,46,101)
-
#313473
#313473
rgb(49,52,115)
-
#373a81
#373a81
rgb(55,58,129)
-
#3d418f
#3d418f
rgb(61,65,143)
-
#42479c
#42479c
rgb(66,71,156)
-
#484daa
#484daa
rgb(72,77,170)
Shade Color Variation
-
#5156b5
#5156b5
rgb(81,86,181)
-
#5f63bb
#5f63bb
rgb(95,99,187)
-
#6d71c1
#6d71c1
rgb(109,113,193)
-
#7a7ec7
#7a7ec7
rgb(122,126,199)
-
#888bcc
#888bcc
rgb(136,139,204)
-
#9699d2
#9699d2
rgb(150,153,210)
-
#a4a6d8
#a4a6d8
rgb(164,166,216)
-
#b1b4de
#b1b4de
rgb(177,180,222)
-
#bfc1e4
#bfc1e4
rgb(191,193,228)
-
#cdceea
#cdceea
rgb(205,206,234)
-
#dbdcf0
#dbdcf0
rgb(219,220,240)
-
#e8e9f5
#e8e9f5
rgb(232,233,245)
-
#f6f6fb
#f6f6fb
rgb(246,246,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #818185 is the less saturated color, while #0e1af8 is the most saturated one.
-
#818185
#818185
rgb(129,129,133)
-
#77788f
#77788f
rgb(119,120,143)
-
#6e7098
#6e7098
rgb(110,112,152)
-
#6467a2
#6467a2
rgb(100,103,162)
-
#5b5fab
#5b5fab
rgb(91,95,171)
-
#5156b5
#5156b5
rgb(81,86,181)
-
#474dbf
#474dbf
rgb(71,77,191)
-
#3e45c8
#3e45c8
rgb(62,69,200)
-
#343cd2
#343cd2
rgb(52,60,210)
-
#2b34db
#2b34db
rgb(43,52,219)
-
#212be5
#212be5
rgb(33,43,229)
-
#1822ee
#1822ee
rgb(24,34,238)
-
#0e1af8
#0e1af8
rgb(14,26,248)
Tone Color Variation
Below, you can see how #5156b5 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