#170c40 hex color
In a RGB color space, hex #170c40 is composed of 9% red, 4.7% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 64.1% cyan, 81.3% magenta, 0% yellow and 74.9% black. It has a hue angle of 252.7 degrees, a saturation of 68.4% and a lightness of 14.9%. #170c40 color hex could be obtained by blending #2e1880 with #000000. Closest websafe color is: #000033.
-
- R 9
- G 5
- B 25
RGB color chart
-
- C 64
- M 81
- Y 0
- K 75
CMYK color chart
● #170c40 color description : Very dark blue.
The hexadecimal color #170c40 has RGB values of R:23, G:12, B:64 and CMYK values of C:0.64, M:0.81, Y:0, K:0.75. Its decimal value is 1510464.
Hex triplet | 170c40 | #170c40 |
---|---|---|
RGB Decimal | 23, 12, 64 | rgb(23,12,64) |
RGB Percent | 9, 4.7, 25.1 | rgb(9%,4.7%,25.1%) |
CMYK | 64, 81, 0, 75 | |
HSL | 252.7°, 68.4, 14.9 | hsl(252.7,68.4%,14.9%) |
HSV (or HSB) | 252.7°, 81.3, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 7.364, 22.152, -31.017 |
---|---|
XYZ | 1.41, 0.815, 4.933 |
xyY | 0.197, 0.114, 0.815 |
CIE-LCH | 7.364, 38.115, 305.533 |
CIE-LUV | 7.364, 0.047, -20.136 |
Hunter-Lab | 9.029, 12.076, -26.075 |
Binary | 00010111, 00001100, 01000000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #170c40. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #170c40
This text has a font color of #170c40.
<span style="color:#170c40;">Text here</span>
#170c40 background color
This paragraph has a background color of #170c40.
<p style="background-color:#170c40;">Content here</p>
#170c40 border color
This element has a border color of #170c40.
<div style="border:1px solid #170c40;">Content here</div>
CSS codes
.text {color:#170c40;}
.background {background-color:#170c40;}
.border {border:1px solid #170c40;}
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, #05030e is the darkest color, while #fdfdff is the lightest one.
-
#05030e
#05030e
rgb(5,3,14)
-
#0b061f
#0b061f
rgb(11,6,31)
-
#11092f
#11092f
rgb(17,9,47)
-
#170c40
#170c40
rgb(23,12,64)
-
#1d0f51
#1d0f51
rgb(29,15,81)
-
#231261
#231261
rgb(35,18,97)
-
#291572
#291572
rgb(41,21,114)
-
#2f1882
#2f1882
rgb(47,24,130)
-
#351b93
#351b93
rgb(53,27,147)
-
#3b1fa3
#3b1fa3
rgb(59,31,163)
-
#4122b4
#4122b4
rgb(65,34,180)
-
#4625c4
#4625c4
rgb(70,37,196)
-
#4c28d5
#4c28d5
rgb(76,40,213)
Shade Color Variation
-
#5937d9
#5937d9
rgb(89,55,217)
-
#6747dd
#6747dd
rgb(103,71,221)
-
#7458e0
#7458e0
rgb(116,88,224)
-
#8268e3
#8268e3
rgb(130,104,227)
-
#9079e6
#9079e6
rgb(144,121,230)
-
#9e89e9
#9e89e9
rgb(158,137,233)
-
#ab9aec
#ab9aec
rgb(171,154,236)
-
#b9aaef
#b9aaef
rgb(185,170,239)
-
#c7bbf2
#c7bbf2
rgb(199,187,242)
-
#d4cbf5
#d4cbf5
rgb(212,203,245)
-
#e2dcf8
#e2dcf8
rgb(226,220,248)
-
#f0ecfc
#f0ecfc
rgb(240,236,252)
-
#fdfdff
#fdfdff
rgb(253,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #242329 is the less saturated color, while #10004c is the most saturated one.
-
#242329
#242329
rgb(36,35,41)
-
#23202c
#23202c
rgb(35,32,44)
-
#211e2e
#211e2e
rgb(33,30,46)
-
#1f1b31
#1f1b31
rgb(31,27,49)
-
#1e1834
#1e1834
rgb(30,24,52)
-
#1c1537
#1c1537
rgb(28,21,55)
-
#1a123a
#1a123a
rgb(26,18,58)
-
#190f3d
#190f3d
rgb(25,15,61)
-
#170c40
#170c40
rgb(23,12,64)
-
#150943
#150943
rgb(21,9,67)
-
#140646
#140646
rgb(20,6,70)
-
#120349
#120349
rgb(18,3,73)
-
#10004c
#10004c
rgb(16,0,76)
Tone Color Variation
Below, you can see how #170c40 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