#21228b hex color
In a RGB color space, hex #21228b is composed of 12.9% red, 13.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 76.3% cyan, 75.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 239.4 degrees, a saturation of 61.6% and a lightness of 33.7%. #21228b color hex could be obtained by blending #4244ff with #000017. Closest websafe color is: #333399.
-
- R 13
- G 13
- B 55
RGB color chart
-
- C 76
- M 76
- Y 0
- K 45
CMYK color chart
● #21228b color description : Dark blue.
The hexadecimal color #21228b has RGB values of R:33, G:34, B:139 and CMYK values of C:0.76, M:0.76, Y:0, K:0.45. Its decimal value is 2171531.
Hex triplet | 21228b | #21228b |
---|---|---|
RGB Decimal | 33, 34, 139 | rgb(33,34,139) |
RGB Percent | 12.9, 13.3, 54.5 | rgb(12.9%,13.3%,54.5%) |
CMYK | 76, 76, 0, 45 | |
HSL | 239.4°, 61.6, 33.7 | hsl(239.4,61.6%,33.7%) |
HSV (or HSB) | 239.4°, 76.3, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 21.324, 36.629, -57.722 |
---|---|
XYZ | 5.859, 3.331, 24.759 |
xyY | 0.173, 0.098, 3.331 |
CIE-LCH | 21.324, 68.363, 302.399 |
CIE-LUV | 21.324, -4.912, -65.949 |
Hunter-Lab | 18.251, 25.357, -67.654 |
Binary | 00100001, 00100010, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #21228b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #21228b
This text has a font color of #21228b.
<span style="color:#21228b;">Text here</span>
#21228b background color
This paragraph has a background color of #21228b.
<p style="background-color:#21228b;">Content here</p>
#21228b border color
This element has a border color of #21228b.
<div style="border:1px solid #21228b;">Content here</div>
CSS codes
.text {color:#21228b;}
.background {background-color:#21228b;}
.border {border:1px solid #21228b;}
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, #03030c is the darkest color, while #fbfbfe is the lightest one.
-
#03030c
#03030c
rgb(3,3,12)
-
#07071c
#07071c
rgb(7,7,28)
-
#0a0b2c
#0a0b2c
rgb(10,11,44)
-
#0e0f3c
#0e0f3c
rgb(14,15,60)
-
#12124c
#12124c
rgb(18,18,76)
-
#16165b
#16165b
rgb(22,22,91)
-
#191a6b
#191a6b
rgb(25,26,107)
-
#1d1e7b
#1d1e7b
rgb(29,30,123)
-
#21228b
#21228b
rgb(33,34,139)
-
#25269b
#25269b
rgb(37,38,155)
-
#292aab
#292aab
rgb(41,42,171)
-
#2c2ebb
#2c2ebb
rgb(44,46,187)
-
#3032ca
#3032ca
rgb(48,50,202)
Shade Color Variation
-
#3d3fd1
#3d3fd1
rgb(61,63,209)
-
#4d4ed5
#4d4ed5
rgb(77,78,213)
-
#5d5ed8
#5d5ed8
rgb(93,94,216)
-
#6d6edc
#6d6edc
rgb(109,110,220)
-
#7d7de0
#7d7de0
rgb(125,125,224)
-
#8c8de4
#8c8de4
rgb(140,141,228)
-
#9c9de8
#9c9de8
rgb(156,157,232)
-
#acadeb
#acadeb
rgb(172,173,235)
-
#bcbcef
#bcbcef
rgb(188,188,239)
-
#ccccf3
#ccccf3
rgb(204,204,243)
-
#dcdcf7
#dcdcf7
rgb(220,220,247)
-
#ebecfa
#ebecfa
rgb(235,236,250)
-
#fbfbfe
#fbfbfe
rgb(251,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #565656 is the less saturated color, while #0708a5 is the most saturated one.
-
#565656
#565656
rgb(86,86,86)
-
#4f4f5d
#4f4f5d
rgb(79,79,93)
-
#494963
#494963
rgb(73,73,99)
-
#42426a
#42426a
rgb(66,66,106)
-
#3b3c71
#3b3c71
rgb(59,60,113)
-
#353577
#353577
rgb(53,53,119)
-
#2e2f7e
#2e2f7e
rgb(46,47,126)
-
#282884
#282884
rgb(40,40,132)
-
#21228b
#21228b
rgb(33,34,139)
-
#1a1c92
#1a1c92
rgb(26,28,146)
-
#141598
#141598
rgb(20,21,152)
-
#0d0f9f
#0d0f9f
rgb(13,15,159)
-
#0708a5
#0708a5
rgb(7,8,165)
Tone Color Variation
Below, you can see how #21228b 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