#5158ab hex color
In a RGB color space, hex #5158ab is composed of 31.8% red, 34.5% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 48.5% magenta, 0% yellow and 32.9% black. It has a hue angle of 235.3 degrees, a saturation of 35.7% and a lightness of 49.4%. #5158ab color hex could be obtained by blending #a2b0ff with #000057. Closest websafe color is: #666699.
-
- R 32
- G 35
- B 67
RGB color chart
-
- C 53
- M 49
- Y 0
- K 33
CMYK color chart
● #5158ab color description : Dark moderate blue.
The hexadecimal color #5158ab has RGB values of R:81, G:88, B:171 and CMYK values of C:0.53, M:0.49, Y:0, K:0.33. Its decimal value is 5331115.
Hex triplet | 5158ab | #5158ab |
---|---|---|
RGB Decimal | 81, 88, 171 | rgb(81,88,171) |
RGB Percent | 31.8, 34.5, 67.1 | rgb(31.8%,34.5%,67.1%) |
CMYK | 53, 49, 0, 33 | |
HSL | 235.3°, 35.7, 49.4 | hsl(235.3,35.7%,49.4%) |
HSV (or HSB) | 235.3°, 52.6, 67.1 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 40.684, 21.182, -45.542 |
---|---|
XYZ | 14.232, 11.669, 40.028 |
xyY | 0.216, 0.177, 11.669 |
CIE-LCH | 40.684, 50.226, 294.943 |
CIE-LUV | 40.684, -7.303, -68.151 |
Hunter-Lab | 34.159, 14.593, -45.565 |
Binary | 01010001, 01011000, 10101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5158ab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5158ab
This text has a font color of #5158ab.
<span style="color:#5158ab;">Text here</span>
#5158ab background color
This paragraph has a background color of #5158ab.
<p style="background-color:#5158ab;">Content here</p>
#5158ab border color
This element has a border color of #5158ab.
<div style="border:1px solid #5158ab;">Content here</div>
CSS codes
.text {color:#5158ab;}
.background {background-color:#5158ab;}
.border {border:1px solid #5158ab;}
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, #05060b is the darkest color, while #fdfdfe is the lightest one.
-
#05060b
#05060b
rgb(5,6,11)
-
#0c0d19
#0c0d19
rgb(12,13,25)
-
#121426
#121426
rgb(18,20,38)
-
#181a33
#181a33
rgb(24,26,51)
-
#1f2141
#1f2141
rgb(31,33,65)
-
#25284e
#25284e
rgb(37,40,78)
-
#2b2f5b
#2b2f5b
rgb(43,47,91)
-
#313668
#313668
rgb(49,54,104)
-
#383d76
#383d76
rgb(56,61,118)
-
#3e4383
#3e4383
rgb(62,67,131)
-
#444a90
#444a90
rgb(68,74,144)
-
#4b519e
#4b519e
rgb(75,81,158)
-
#5158ab
#5158ab
rgb(81,88,171)
Shade Color Variation
-
#5d64b2
#5d64b2
rgb(93,100,178)
-
#6b71b9
#6b71b9
rgb(107,113,185)
-
#787dbf
#787dbf
rgb(120,125,191)
-
#858ac5
#858ac5
rgb(133,138,197)
-
#9297cc
#9297cc
rgb(146,151,204)
-
#a0a4d2
#a0a4d2
rgb(160,164,210)
-
#adb0d8
#adb0d8
rgb(173,176,216)
-
#babddf
#babddf
rgb(186,189,223)
-
#c8cae5
#c8cae5
rgb(200,202,229)
-
#d5d7eb
#d5d7eb
rgb(213,215,235)
-
#e2e4f1
#e2e4f1
rgb(226,228,241)
-
#f0f0f8
#f0f0f8
rgb(240,240,248)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #787984 is the less saturated color, while #0317f9 is the most saturated one.
-
#787984
#787984
rgb(120,121,132)
-
#6e718e
#6e718e
rgb(110,113,142)
-
#646898
#646898
rgb(100,104,152)
-
#5b60a1
#5b60a1
rgb(91,96,161)
-
#5158ab
#5158ab
rgb(81,88,171)
-
#4750b5
#4750b5
rgb(71,80,181)
-
#3e48be
#3e48be
rgb(62,72,190)
-
#343fc8
#343fc8
rgb(52,63,200)
-
#2a37d2
#2a37d2
rgb(42,55,210)
-
#212fdb
#212fdb
rgb(33,47,219)
-
#1727e5
#1727e5
rgb(23,39,229)
-
#0d1fef
#0d1fef
rgb(13,31,239)
-
#0317f9
#0317f9
rgb(3,23,249)
Tone Color Variation
Below, you can see how #5158ab 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