#1f21cc hex color
In a RGB color space, hex #1f21cc is composed of 12.2% red, 12.9% green and 80% blue. Whereas in a CMYK color space, it is composed of 84.8% cyan, 83.8% magenta, 0% yellow and 20% black. It has a hue angle of 239.3 degrees, a saturation of 73.6% and a lightness of 46.1%. #1f21cc color hex could be obtained by blending #3e42ff with #000099. Closest websafe color is: #3333cc.
-
- R 12
- G 13
- B 80
RGB color chart
-
- C 85
- M 84
- Y 0
- K 20
CMYK color chart
● #1f21cc color description : Strong blue.
The hexadecimal color #1f21cc has RGB values of R:31, G:33, B:204 and CMYK values of C:0.85, M:0.84, Y:0, K:0.2. Its decimal value is 2040268.
Hex triplet | 1f21cc | #1f21cc |
---|---|---|
RGB Decimal | 31, 33, 204 | rgb(31,33,204) |
RGB Percent | 12.2, 12.9, 80 | rgb(12.2%,12.9%,80%) |
CMYK | 85, 84, 0, 20 | |
HSL | 239.3°, 73.6, 46.1 | hsl(239.3,73.6%,46.1%) |
HSV (or HSB) | 239.3°, 84.8, 80 | |
Web Safe | 3333cc | #3333cc |
CIE-LAB | 28.741, 58.024, -84.611 |
---|---|
XYZ | 12.006, 5.738, 57.598 |
xyY | 0.159, 0.076, 5.738 |
CIE-LCH | 28.741, 102.595, 304.441 |
CIE-LUV | 28.741, -7.676, -103.754 |
Hunter-Lab | 23.954, 47.547, -125.799 |
Binary | 00011111, 00100001, 11001100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f21cc. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f21cc
This text has a font color of #1f21cc.
<span style="color:#1f21cc;">Text here</span>
#1f21cc background color
This paragraph has a background color of #1f21cc.
<p style="background-color:#1f21cc;">Content here</p>
#1f21cc border color
This element has a border color of #1f21cc.
<div style="border:1px solid #1f21cc;">Content here</div>
CSS codes
.text {color:#1f21cc;}
.background {background-color:#1f21cc;}
.border {border:1px solid #1f21cc;}
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, #030311 is the darkest color, while #ffffff is the lightest one.
-
#030311
#030311
rgb(3,3,17)
-
#050522
#050522
rgb(5,5,34)
-
#080833
#080833
rgb(8,8,51)
-
#0a0b44
#0a0b44
rgb(10,11,68)
-
#0d0e55
#0d0e55
rgb(13,14,85)
-
#0f1066
#0f1066
rgb(15,16,102)
-
#121377
#121377
rgb(18,19,119)
-
#151688
#151688
rgb(21,22,136)
-
#171999
#171999
rgb(23,25,153)
-
#1a1baa
#1a1baa
rgb(26,27,170)
-
#1c1ebb
#1c1ebb
rgb(28,30,187)
-
#1f21cc
#1f21cc
rgb(31,33,204)
-
#2224dd
#2224dd
rgb(34,36,221)
Shade Color Variation
-
#3234e0
#3234e0
rgb(50,52,224)
-
#4345e2
#4345e2
rgb(67,69,226)
-
#5456e5
#5456e5
rgb(84,86,229)
-
#6567e8
#6567e8
rgb(101,103,232)
-
#7678ea
#7678ea
rgb(118,120,234)
-
#8789ed
#8789ed
rgb(135,137,237)
-
#989aef
#989aef
rgb(152,154,239)
-
#aaaaf2
#aaaaf2
rgb(170,170,242)
-
#bbbbf5
#bbbbf5
rgb(187,187,245)
-
#ccccf7
#ccccf7
rgb(204,204,247)
-
#ddddfa
#ddddfa
rgb(221,221,250)
-
#eeeefc
#eeeefc
rgb(238,238,252)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #70707b is the less saturated color, while #0407e7 is the most saturated one.
-
#70707b
#70707b
rgb(112,112,123)
-
#676884
#676884
rgb(103,104,132)
-
#5e5f8d
#5e5f8d
rgb(94,95,141)
-
#555696
#555696
rgb(85,86,150)
-
#4c4d9f
#4c4d9f
rgb(76,77,159)
-
#4344a8
#4344a8
rgb(67,68,168)
-
#3a3bb1
#3a3bb1
rgb(58,59,177)
-
#3133ba
#3133ba
rgb(49,51,186)
-
#282ac3
#282ac3
rgb(40,42,195)
-
#1f21cc
#1f21cc
rgb(31,33,204)
-
#1618d5
#1618d5
rgb(22,24,213)
-
#0d0fde
#0d0fde
rgb(13,15,222)
-
#0407e7
#0407e7
rgb(4,7,231)
Tone Color Variation
Below, you can see how #1f21cc 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