#171540 hex color
In a RGB color space, hex #171540 is composed of 9% red, 8.2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 64.1% cyan, 67.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 242.8 degrees, a saturation of 50.6% and a lightness of 16.7%. #171540 color hex could be obtained by blending #2e2a80 with #000000. Closest websafe color is: #000033.
-
- R 9
- G 8
- B 25
RGB color chart
-
- C 64
- M 67
- Y 0
- K 75
CMYK color chart
● #171540 color description : Very dark blue.
The hexadecimal color #171540 has RGB values of R:23, G:21, B:64 and CMYK values of C:0.64, M:0.67, Y:0, K:0.75. Its decimal value is 1512768.
Hex triplet | 171540 | #171540 |
---|---|---|
RGB Decimal | 23, 21, 64 | rgb(23,21,64) |
RGB Percent | 9, 8.2, 25.1 | rgb(9%,8.2%,25.1%) |
CMYK | 64, 67, 0, 75 | |
HSL | 242.8°, 50.6, 16.7 | hsl(242.8,50.6%,16.7%) |
HSV (or HSB) | 242.8°, 67.2, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 9.709, 15.893, -27.193 |
---|---|
XYZ | 1.547, 1.089, 4.979 |
xyY | 0.203, 0.143, 1.089 |
CIE-LCH | 9.709, 31.497, 300.303 |
CIE-LUV | 9.709, -1.172, -21.424 |
Hunter-Lab | 10.434, 8.203, -20.989 |
Binary | 00010111, 00010101, 01000000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #171540. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #171540
This text has a font color of #171540.
<span style="color:#171540;">Text here</span>
#171540 background color
This paragraph has a background color of #171540.
<p style="background-color:#171540;">Content here</p>
#171540 border color
This element has a border color of #171540.
<div style="border:1px solid #171540;">Content here</div>
CSS codes
.text {color:#171540;}
.background {background-color:#171540;}
.border {border:1px solid #171540;}
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 #f5f5fc is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#070614
#070614
rgb(7,6,20)
-
#0c0b22
#0c0b22
rgb(12,11,34)
-
#121031
#121031
rgb(18,16,49)
-
#171540
#171540
rgb(23,21,64)
-
#1c1a4f
#1c1a4f
rgb(28,26,79)
-
#221f5e
#221f5e
rgb(34,31,94)
-
#27246c
#27246c
rgb(39,36,108)
-
#2c287b
#2c287b
rgb(44,40,123)
-
#322d8a
#322d8a
rgb(50,45,138)
-
#373299
#373299
rgb(55,50,153)
-
#3c37a7
#3c37a7
rgb(60,55,167)
-
#413cb6
#413cb6
rgb(65,60,182)
Shade Color Variation
-
#4a44c2
#4a44c2
rgb(74,68,194)
-
#5853c6
#5853c6
rgb(88,83,198)
-
#6661cb
#6661cb
rgb(102,97,203)
-
#7570d0
#7570d0
rgb(117,112,208)
-
#837fd5
#837fd5
rgb(131,127,213)
-
#918eda
#918eda
rgb(145,142,218)
-
#a09ddf
#a09ddf
rgb(160,157,223)
-
#aeabe4
#aeabe4
rgb(174,171,228)
-
#bcbae8
#bcbae8
rgb(188,186,232)
-
#cbc9ed
#cbc9ed
rgb(203,201,237)
-
#d9d8f2
#d9d8f2
rgb(217,216,242)
-
#e7e6f7
#e7e6f7
rgb(231,230,247)
-
#f5f5fc
#f5f5fc
rgb(245,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #29292c is the less saturated color, while #050154 is the most saturated one.
-
#29292c
#29292c
rgb(41,41,44)
-
#262530
#262530
rgb(38,37,48)
-
#232233
#232233
rgb(35,34,51)
-
#201f36
#201f36
rgb(32,31,54)
-
#1d1c39
#1d1c39
rgb(29,28,57)
-
#1a183d
#1a183d
rgb(26,24,61)
-
#171540
#171540
rgb(23,21,64)
-
#141243
#141243
rgb(20,18,67)
-
#110e47
#110e47
rgb(17,14,71)
-
#0e0b4a
#0e0b4a
rgb(14,11,74)
-
#0b084d
#0b084d
rgb(11,8,77)
-
#080550
#080550
rgb(8,5,80)
-
#050154
#050154
rgb(5,1,84)
Tone Color Variation
Below, you can see how #171540 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