#2228a1 hex color
In a RGB color space, hex #2228a1 is composed of 13.3% red, 15.7% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 78.9% cyan, 75.2% magenta, 0% yellow and 36.9% black. It has a hue angle of 237.2 degrees, a saturation of 65.1% and a lightness of 38.2%. #2228a1 color hex could be obtained by blending #4450ff with #000043. Closest websafe color is: #333399.
-
- R 13
- G 16
- B 63
RGB color chart
-
- C 79
- M 75
- Y 0
- K 37
CMYK color chart
● #2228a1 color description : Dark blue.
The hexadecimal color #2228a1 has RGB values of R:34, G:40, B:161 and CMYK values of C:0.79, M:0.75, Y:0, K:0.37. Its decimal value is 2238625.
Hex triplet | 2228a1 | #2228a1 |
---|---|---|
RGB Decimal | 34, 40, 161 | rgb(34,40,161) |
RGB Percent | 13.3, 15.7, 63.1 | rgb(13.3%,15.7%,63.1%) |
CMYK | 79, 75, 0, 37 | |
HSL | 237.2°, 65.1, 38.2 | hsl(237.2,65.1%,38.2%) |
HSV (or HSB) | 237.2°, 78.9, 63.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.046, 40.824, -65.127 |
---|---|
XYZ | 7.85, 4.43, 34.158 |
xyY | 0.169, 0.095, 4.43 |
CIE-LCH | 25.046, 76.864, 302.081 |
CIE-LUV | 25.046, -6.581, -79.049 |
Hunter-Lab | 21.048, 29.739, -81.483 |
Binary | 00100010, 00101000, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2228a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2228a1
This text has a font color of #2228a1.
<span style="color:#2228a1;">Text here</span>
#2228a1 background color
This paragraph has a background color of #2228a1.
<p style="background-color:#2228a1;">Content here</p>
#2228a1 border color
This element has a border color of #2228a1.
<div style="border:1px solid #2228a1;">Content here</div>
CSS codes
.text {color:#2228a1;}
.background {background-color:#2228a1;}
.border {border:1px solid #2228a1;}
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, #03040f is the darkest color, while #fefeff is the lightest one.
-
#03040f
#03040f
rgb(3,4,15)
-
#07081f
#07081f
rgb(7,8,31)
-
#0a0c30
#0a0c30
rgb(10,12,48)
-
#0d1040
#0d1040
rgb(13,16,64)
-
#111450
#111450
rgb(17,20,80)
-
#141860
#141860
rgb(20,24,96)
-
#181c70
#181c70
rgb(24,28,112)
-
#1b2081
#1b2081
rgb(27,32,129)
-
#1f2491
#1f2491
rgb(31,36,145)
-
#2228a1
#2228a1
rgb(34,40,161)
-
#252cb1
#252cb1
rgb(37,44,177)
-
#2930c1
#2930c1
rgb(41,48,193)
-
#2c34d2
#2c34d2
rgb(44,52,210)
Shade Color Variation
-
#3c43d6
#3c43d6
rgb(60,67,214)
-
#4c53d9
#4c53d9
rgb(76,83,217)
-
#5c62dd
#5c62dd
rgb(92,98,221)
-
#6c72e0
#6c72e0
rgb(108,114,224)
-
#7c81e3
#7c81e3
rgb(124,129,227)
-
#8d91e7
#8d91e7
rgb(141,145,231)
-
#9da1ea
#9da1ea
rgb(157,161,234)
-
#adb0ee
#adb0ee
rgb(173,176,238)
-
#bdc0f1
#bdc0f1
rgb(189,192,241)
-
#cdcff5
#cdcff5
rgb(205,207,245)
-
#dedff8
#dedff8
rgb(222,223,248)
-
#eeeefb
#eeeefb
rgb(238,238,251)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5e5e65 is the less saturated color, while #040dbf is the most saturated one.
-
#5e5e65
#5e5e65
rgb(94,94,101)
-
#57586d
#57586d
rgb(87,88,109)
-
#4f5174
#4f5174
rgb(79,81,116)
-
#484a7c
#484a7c
rgb(72,74,124)
-
#404383
#404383
rgb(64,67,131)
-
#393c8b
#393c8b
rgb(57,60,139)
-
#313692
#313692
rgb(49,54,146)
-
#2a2f9a
#2a2f9a
rgb(42,47,154)
-
#2228a1
#2228a1
rgb(34,40,161)
-
#1b21a9
#1b21a9
rgb(27,33,169)
-
#131ab0
#131ab0
rgb(19,26,176)
-
#0c14b8
#0c14b8
rgb(12,20,184)
-
#040dbf
#040dbf
rgb(4,13,191)
Tone Color Variation
Below, you can see how #2228a1 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