#21157d hex color
In a RGB color space, hex #21157d is composed of 12.9% red, 8.2% green and 49% blue. Whereas in a CMYK color space, it is composed of 73.6% cyan, 83.2% magenta, 0% yellow and 51% black. It has a hue angle of 246.9 degrees, a saturation of 71.2% and a lightness of 28.6%. #21157d color hex could be obtained by blending #422afa with #000000. Closest websafe color is: #330066.
-
- R 13
- G 8
- B 49
RGB color chart
-
- C 74
- M 83
- Y 0
- K 51
CMYK color chart
● #21157d color description : Dark blue.
The hexadecimal color #21157d has RGB values of R:33, G:21, B:125 and CMYK values of C:0.74, M:0.83, Y:0, K:0.51. Its decimal value is 2168189.
Hex triplet | 21157d | #21157d |
---|---|---|
RGB Decimal | 33, 21, 125 | rgb(33,21,125) |
RGB Percent | 12.9, 8.2, 49 | rgb(12.9%,8.2%,49%) |
CMYK | 74, 83, 0, 51 | |
HSL | 246.9°, 71.2, 28.6 | hsl(246.9,71.2%,28.6%) |
HSV (or HSB) | 246.9°, 83.2, 49 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 17.179, 39.148, -55.74 |
---|---|
XYZ | 4.596, 2.34, 19.61 |
xyY | 0.173, 0.088, 2.34 |
CIE-LCH | 17.179, 68.114, 305.082 |
CIE-LUV | 17.179, -2.511, -56.857 |
Hunter-Lab | 15.297, 26.863, -65.298 |
Binary | 00100001, 00010101, 01111101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #21157d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #21157d
This text has a font color of #21157d.
<span style="color:#21157d;">Text here</span>
#21157d background color
This paragraph has a background color of #21157d.
<p style="background-color:#21157d;">Content here</p>
#21157d border color
This element has a border color of #21157d.
<div style="border:1px solid #21157d;">Content here</div>
CSS codes
.text {color:#21157d;}
.background {background-color:#21157d;}
.border {border:1px solid #21157d;}
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, #020107 is the darkest color, while #f7f6fd is the lightest one.
-
#020107
#020107
rgb(2,1,7)
-
#060418
#060418
rgb(6,4,24)
-
#0b0729
#0b0729
rgb(11,7,41)
-
#0f0a3a
#0f0a3a
rgb(15,10,58)
-
#140d4b
#140d4b
rgb(20,13,75)
-
#180f5b
#180f5b
rgb(24,15,91)
-
#1d126c
#1d126c
rgb(29,18,108)
-
#21157d
#21157d
rgb(33,21,125)
-
#25188e
#25188e
rgb(37,24,142)
-
#2a1b9f
#2a1b9f
rgb(42,27,159)
-
#2e1daf
#2e1daf
rgb(46,29,175)
-
#3320c0
#3320c0
rgb(51,32,192)
-
#3723d1
#3723d1
rgb(55,35,209)
Shade Color Variation
-
#402cdc
#402cdc
rgb(64,44,220)
-
#503dde
#503dde
rgb(80,61,222)
-
#5f4ee1
#5f4ee1
rgb(95,78,225)
-
#6e5fe4
#6e5fe4
rgb(110,95,228)
-
#7d6fe7
#7d6fe7
rgb(125,111,231)
-
#8c80ea
#8c80ea
rgb(140,128,234)
-
#9b91ed
#9b91ed
rgb(155,145,237)
-
#aba2ef
#aba2ef
rgb(171,162,239)
-
#bab2f2
#bab2f2
rgb(186,178,242)
-
#c9c3f5
#c9c3f5
rgb(201,195,245)
-
#d8d4f8
#d8d4f8
rgb(216,212,248)
-
#e7e5fb
#e7e5fb
rgb(231,229,251)
-
#f7f6fd
#f7f6fd
rgb(247,246,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #48484a is the less saturated color, while #14048e is the most saturated one.
-
#48484a
#48484a
rgb(72,72,74)
-
#444250
#444250
rgb(68,66,80)
-
#3f3c56
#3f3c56
rgb(63,60,86)
-
#3b375b
#3b375b
rgb(59,55,91)
-
#373161
#373161
rgb(55,49,97)
-
#322b67
#322b67
rgb(50,43,103)
-
#2e266c
#2e266c
rgb(46,38,108)
-
#2a2072
#2a2072
rgb(42,32,114)
-
#251b77
#251b77
rgb(37,27,119)
-
#21157d
#21157d
rgb(33,21,125)
-
#1d0f83
#1d0f83
rgb(29,15,131)
-
#180a88
#180a88
rgb(24,10,136)
-
#14048e
#14048e
rgb(20,4,142)
Tone Color Variation
Below, you can see how #21157d 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