#172c42 hex color
In a RGB color space, hex #172c42 is composed of 9% red, 17.3% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 65.2% cyan, 33.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 210.7 degrees, a saturation of 48.3% and a lightness of 17.5%. #172c42 color hex could be obtained by blending #2e5884 with #000000. Closest websafe color is: #003333.
-
- R 9
- G 17
- B 26
RGB color chart
-
- C 65
- M 33
- Y 0
- K 74
CMYK color chart
● #172c42 color description : Very dark blue.
The hexadecimal color #172c42 has RGB values of R:23, G:44, B:66 and CMYK values of C:0.65, M:0.33, Y:0, K:0.74. Its decimal value is 1518658.
Hex triplet | 172c42 | #172c42 |
---|---|---|
RGB Decimal | 23, 44, 66 | rgb(23,44,66) |
RGB Percent | 9, 17.3, 25.9 | rgb(9%,17.3%,25.9%) |
CMYK | 65, 33, 0, 74 | |
HSL | 210.7°, 48.3, 17.5 | hsl(210.7,48.3%,17.5%) |
HSV (or HSB) | 210.7°, 65.2, 25.9 | |
Web Safe | 003333 | #003333 |
CIE-LAB | 17.352, -0.465, -16.406 |
---|---|
XYZ | 2.237, 2.377, 5.495 |
xyY | 0.221, 0.235, 2.377 |
CIE-LCH | 17.352, 16.412, 268.377 |
CIE-LUV | 17.352, -7.502, -16.902 |
Hunter-Lab | 15.417, -1.076, -10.341 |
Binary | 00010111, 00101100, 01000010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #172c42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #172c42
This text has a font color of #172c42.
<span style="color:#172c42;">Text here</span>
#172c42 background color
This paragraph has a background color of #172c42.
<p style="background-color:#172c42;">Content here</p>
#172c42 border color
This element has a border color of #172c42.
<div style="border:1px solid #172c42;">Content here</div>
CSS codes
.text {color:#172c42;}
.background {background-color:#172c42;}
.border {border:1px solid #172c42;}
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, #030508 is the darkest color, while #f8fafd is the lightest one.
-
#030508
#030508
rgb(3,5,8)
-
#080f16
#080f16
rgb(8,15,22)
-
#0d1925
#0d1925
rgb(13,25,37)
-
#122233
#122233
rgb(18,34,51)
-
#172c42
#172c42
rgb(23,44,66)
-
#1c3651
#1c3651
rgb(28,54,81)
-
#213f5f
#213f5f
rgb(33,63,95)
-
#26496e
#26496e
rgb(38,73,110)
-
#2b537c
#2b537c
rgb(43,83,124)
-
#305c8b
#305c8b
rgb(48,92,139)
-
#356699
#356699
rgb(53,102,153)
-
#3a70a8
#3a70a8
rgb(58,112,168)
-
#407ab6
#407ab6
rgb(64,122,182)
Shade Color Variation
-
#4a83c0
#4a83c0
rgb(74,131,192)
-
#588dc5
#588dc5
rgb(88,141,197)
-
#6797ca
#6797ca
rgb(103,151,202)
-
#75a1cf
#75a1cf
rgb(117,161,207)
-
#84abd4
#84abd4
rgb(132,171,212)
-
#92b5d9
#92b5d9
rgb(146,181,217)
-
#a1bfde
#a1bfde
rgb(161,191,222)
-
#b0c9e3
#b0c9e3
rgb(176,201,227)
-
#bed3e8
#bed3e8
rgb(190,211,232)
-
#cddded
#cddded
rgb(205,221,237)
-
#dbe7f3
#dbe7f3
rgb(219,231,243)
-
#eaf0f8
#eaf0f8
rgb(234,240,248)
-
#f8fafd
#f8fafd
rgb(248,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2c2c2d is the less saturated color, while #022c57 is the most saturated one.
-
#2c2c2d
#2c2c2d
rgb(44,44,45)
-
#282c31
#282c31
rgb(40,44,49)
-
#252c34
#252c34
rgb(37,44,52)
-
#212c38
#212c38
rgb(33,44,56)
-
#1e2c3b
#1e2c3b
rgb(30,44,59)
-
#1a2c3f
#1a2c3f
rgb(26,44,63)
-
#172c42
#172c42
rgb(23,44,66)
-
#142c45
#142c45
rgb(20,44,69)
-
#102c49
#102c49
rgb(16,44,73)
-
#0d2c4c
#0d2c4c
rgb(13,44,76)
-
#092c50
#092c50
rgb(9,44,80)
-
#062c53
#062c53
rgb(6,44,83)
-
#022c57
#022c57
rgb(2,44,87)
Tone Color Variation
Below, you can see how #172c42 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