#5172a1 hex color
In a RGB color space, hex #5172a1 is composed of 31.8% red, 44.7% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 29.2% magenta, 0% yellow and 36.9% black. It has a hue angle of 215.3 degrees, a saturation of 33.1% and a lightness of 47.5%. #5172a1 color hex could be obtained by blending #a2e4ff with #000043. Closest websafe color is: #666699.
-
- R 32
- G 45
- B 63
RGB color chart
-
- C 50
- M 29
- Y 0
- K 37
CMYK color chart
● #5172a1 color description : Dark moderate blue.
The hexadecimal color #5172a1 has RGB values of R:81, G:114, B:161 and CMYK values of C:0.5, M:0.29, Y:0, K:0.37. Its decimal value is 5337761.
Hex triplet | 5172a1 | #5172a1 |
---|---|---|
RGB Decimal | 81, 114, 161 | rgb(81,114,161) |
RGB Percent | 31.8, 44.7, 63.1 | rgb(31.8%,44.7%,63.1%) |
CMYK | 50, 29, 0, 37 | |
HSL | 215.3°, 33.1, 47.5 | hsl(215.3,33.1%,47.5%) |
HSV (or HSB) | 215.3°, 49.7, 63.1 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 47.439, 1.724, -28.969 |
---|---|
XYZ | 15.842, 16.356, 36.039 |
xyY | 0.232, 0.24, 16.356 |
CIE-LCH | 47.439, 29.02, 273.406 |
CIE-LUV | 47.439, -16.188, -43.001 |
Hunter-Lab | 40.443, -0.854, -24.523 |
Binary | 01010001, 01110010, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5172a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5172a1
This text has a font color of #5172a1.
<span style="color:#5172a1;">Text here</span>
#5172a1 background color
This paragraph has a background color of #5172a1.
<p style="background-color:#5172a1;">Content here</p>
#5172a1 border color
This element has a border color of #5172a1.
<div style="border:1px solid #5172a1;">Content here</div>
CSS codes
.text {color:#5172a1;}
.background {background-color:#5172a1;}
.border {border:1px solid #5172a1;}
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, #020304 is the darkest color, while #f6f8fb is the lightest one.
-
#020304
#020304
rgb(2,3,4)
-
#090c11
#090c11
rgb(9,12,17)
-
#0f161f
#0f161f
rgb(15,22,31)
-
#161f2c
#161f2c
rgb(22,31,44)
-
#1c2839
#1c2839
rgb(28,40,57)
-
#233146
#233146
rgb(35,49,70)
-
#2a3b53
#2a3b53
rgb(42,59,83)
-
#304460
#304460
rgb(48,68,96)
-
#374d6d
#374d6d
rgb(55,77,109)
-
#3d567a
#3d567a
rgb(61,86,122)
-
#446087
#446087
rgb(68,96,135)
-
#4a6994
#4a6994
rgb(74,105,148)
-
#5172a1
#5172a1
rgb(81,114,161)
Shade Color Variation
-
#5a7cac
#5a7cac
rgb(90,124,172)
-
#6786b2
#6786b2
rgb(103,134,178)
-
#7490b9
#7490b9
rgb(116,144,185)
-
#819bc0
#819bc0
rgb(129,155,192)
-
#8ea5c6
#8ea5c6
rgb(142,165,198)
-
#9bafcd
#9bafcd
rgb(155,175,205)
-
#a8bad3
#a8bad3
rgb(168,186,211)
-
#b5c4da
#b5c4da
rgb(181,196,218)
-
#c2cfe0
#c2cfe0
rgb(194,207,224)
-
#cfd9e7
#cfd9e7
rgb(207,217,231)
-
#dce3ee
#dce3ee
rgb(220,227,238)
-
#e9eef4
#e9eef4
rgb(233,238,244)
-
#f6f8fb
#f6f8fb
rgb(246,248,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #76797c is the less saturated color, while #0765eb is the most saturated one.
-
#76797c
#76797c
rgb(118,121,124)
-
#6d7785
#6d7785
rgb(109,119,133)
-
#64758e
#64758e
rgb(100,117,142)
-
#5a7498
#5a7498
rgb(90,116,152)
-
#5172a1
#5172a1
rgb(81,114,161)
-
#4870aa
#4870aa
rgb(72,112,170)
-
#3e6fb4
#3e6fb4
rgb(62,111,180)
-
#356dbd
#356dbd
rgb(53,109,189)
-
#2c6bc6
#2c6bc6
rgb(44,107,198)
-
#226ad0
#226ad0
rgb(34,106,208)
-
#1968d9
#1968d9
rgb(25,104,217)
-
#1067e2
#1067e2
rgb(16,103,226)
-
#0765eb
#0765eb
rgb(7,101,235)
Tone Color Variation
Below, you can see how #5172a1 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