#21257c hex color
In a RGB color space, hex #21257c is composed of 12.9% red, 14.5% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 73.4% cyan, 70.2% magenta, 0% yellow and 51.4% black. It has a hue angle of 237.4 degrees, a saturation of 58% and a lightness of 30.8%. #21257c color hex could be obtained by blending #424af8 with #000000. Closest websafe color is: #333366.
-
- R 13
- G 15
- B 49
RGB color chart
-
- C 73
- M 70
- Y 0
- K 51
CMYK color chart
● #21257c color description : Dark blue.
The hexadecimal color #21257c has RGB values of R:33, G:37, B:124 and CMYK values of C:0.73, M:0.7, Y:0, K:0.51. Its decimal value is 2172284.
Hex triplet | 21257c | #21257c |
---|---|---|
RGB Decimal | 33, 37, 124 | rgb(33,37,124) |
RGB Percent | 12.9, 14.5, 48.6 | rgb(12.9%,14.5%,48.6%) |
CMYK | 73, 70, 0, 51 | |
HSL | 237.4°, 58, 30.8 | hsl(237.4,58%,30.8%) |
HSV (or HSB) | 237.4°, 73.4, 48.6 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 20.446, 29.327, -49.717 |
---|---|
XYZ | 4.926, 3.101, 19.407 |
xyY | 0.18, 0.113, 3.101 |
CIE-LCH | 20.446, 57.722, 300.536 |
CIE-LUV | 20.446, -4.828, -56.83 |
Hunter-Lab | 17.611, 19.111, -53.008 |
Binary | 00100001, 00100101, 01111100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #21257c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #21257c
This text has a font color of #21257c.
<span style="color:#21257c;">Text here</span>
#21257c background color
This paragraph has a background color of #21257c.
<p style="background-color:#21257c;">Content here</p>
#21257c border color
This element has a border color of #21257c.
<div style="border:1px solid #21257c;">Content here</div>
CSS codes
.text {color:#21257c;}
.background {background-color:#21257c;}
.border {border:1px solid #21257c;}
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, #000000 is the darkest color, while #f0f0fb is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#040510
#040510
rgb(4,5,16)
-
#08091f
#08091f
rgb(8,9,31)
-
#0c0e2f
#0c0e2f
rgb(12,14,47)
-
#11133e
#11133e
rgb(17,19,62)
-
#15174e
#15174e
rgb(21,23,78)
-
#191c5d
#191c5d
rgb(25,28,93)
-
#1d206d
#1d206d
rgb(29,32,109)
-
#21257c
#21257c
rgb(33,37,124)
-
#252a8b
#252a8b
rgb(37,42,139)
-
#292e9b
#292e9b
rgb(41,46,155)
-
#2d33aa
#2d33aa
rgb(45,51,170)
-
#3137ba
#3137ba
rgb(49,55,186)
Shade Color Variation
-
#363cc9
#363cc9
rgb(54,60,201)
-
#454bce
#454bce
rgb(69,75,206)
-
#555ad2
#555ad2
rgb(85,90,210)
-
#6469d6
#6469d6
rgb(100,105,214)
-
#7478da
#7478da
rgb(116,120,218)
-
#8387de
#8387de
rgb(131,135,222)
-
#9396e2
#9396e2
rgb(147,150,226)
-
#a2a5e6
#a2a5e6
rgb(162,165,230)
-
#b2b4ea
#b2b4ea
rgb(178,180,234)
-
#c1c3ef
#c1c3ef
rgb(193,195,239)
-
#d1d2f3
#d1d2f3
rgb(209,210,243)
-
#e0e1f7
#e0e1f7
rgb(224,225,247)
-
#f0f0fb
#f0f0fb
rgb(240,240,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b4c52 is the less saturated color, while #03099a is the most saturated one.
-
#4b4c52
#4b4c52
rgb(75,76,82)
-
#454658
#454658
rgb(69,70,88)
-
#3f415e
#3f415e
rgb(63,65,94)
-
#393b64
#393b64
rgb(57,59,100)
-
#33366a
#33366a
rgb(51,54,106)
-
#2d3070
#2d3070
rgb(45,48,112)
-
#272b76
#272b76
rgb(39,43,118)
-
#21257c
#21257c
rgb(33,37,124)
-
#1b1f82
#1b1f82
rgb(27,31,130)
-
#151a88
#151a88
rgb(21,26,136)
-
#0f148e
#0f148e
rgb(15,20,142)
-
#090f94
#090f94
rgb(9,15,148)
-
#03099a
#03099a
rgb(3,9,154)
Tone Color Variation
Below, you can see how #21257c 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