#1f21b1 hex color
In a RGB color space, hex #1f21b1 is composed of 12.2% red, 12.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 82.5% cyan, 81.4% magenta, 0% yellow and 30.6% black. It has a hue angle of 239.2 degrees, a saturation of 70.2% and a lightness of 40.8%. #1f21b1 color hex could be obtained by blending #3e42ff with #000063. Closest websafe color is: #333399.
-
- R 12
- G 13
- B 69
RGB color chart
-
- C 82
- M 81
- Y 0
- K 31
CMYK color chart
● #1f21b1 color description : Dark blue.
The hexadecimal color #1f21b1 has RGB values of R:31, G:33, B:177 and CMYK values of C:0.82, M:0.81, Y:0, K:0.31. Its decimal value is 2040241.
Hex triplet | 1f21b1 | #1f21b1 |
---|---|---|
RGB Decimal | 31, 33, 177 | rgb(31,33,177) |
RGB Percent | 12.2, 12.9, 69.4 | rgb(12.2%,12.9%,69.4%) |
CMYK | 82, 81, 0, 31 | |
HSL | 239.2°, 70.2, 40.8 | hsl(239.2,70.2%,40.8%) |
HSV (or HSB) | 239.2°, 82.5, 69.4 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.42, 49.724, -74.168 |
---|---|
XYZ | 9.043, 4.553, 41.995 |
xyY | 0.163, 0.082, 4.553 |
CIE-LCH | 25.42, 89.293, 303.839 |
CIE-LUV | 25.42, -6.586, -88.171 |
Hunter-Lab | 21.337, 38.312, -101.756 |
Binary | 00011111, 00100001, 10110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f21b1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f21b1
This text has a font color of #1f21b1.
<span style="color:#1f21b1;">Text here</span>
#1f21b1 background color
This paragraph has a background color of #1f21b1.
<p style="background-color:#1f21b1;">Content here</p>
#1f21b1 border color
This element has a border color of #1f21b1.
<div style="border:1px solid #1f21b1;">Content here</div>
CSS codes
.text {color:#1f21b1;}
.background {background-color:#1f21b1;}
.border {border:1px solid #1f21b1;}
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, #02020a is the darkest color, while #f8f8fe is the lightest one.
-
#02020a
#02020a
rgb(2,2,10)
-
#05051b
#05051b
rgb(5,5,27)
-
#08082b
#08082b
rgb(8,8,43)
-
#0b0b3c
#0b0b3c
rgb(11,11,60)
-
#0d0e4d
#0d0e4d
rgb(13,14,77)
-
#10115e
#10115e
rgb(16,17,94)
-
#13156e
#13156e
rgb(19,21,110)
-
#16187f
#16187f
rgb(22,24,127)
-
#191b90
#191b90
rgb(25,27,144)
-
#1c1ea0
#1c1ea0
rgb(28,30,160)
-
#1f21b1
#1f21b1
rgb(31,33,177)
-
#2224c2
#2224c2
rgb(34,36,194)
-
#2527d2
#2527d2
rgb(37,39,210)
Shade Color Variation
-
#3032db
#3032db
rgb(48,50,219)
-
#4143de
#4143de
rgb(65,67,222)
-
#5153e1
#5153e1
rgb(81,83,225)
-
#6264e4
#6264e4
rgb(98,100,228)
-
#7374e6
#7374e6
rgb(115,116,230)
-
#8485e9
#8485e9
rgb(132,133,233)
-
#9495ec
#9495ec
rgb(148,149,236)
-
#a5a6ef
#a5a6ef
rgb(165,166,239)
-
#b6b6f2
#b6b6f2
rgb(182,182,242)
-
#c6c7f5
#c6c7f5
rgb(198,199,245)
-
#d7d7f8
#d7d7f8
rgb(215,215,248)
-
#e8e8fb
#e8e8fb
rgb(232,232,251)
-
#f8f8fe
#f8f8fe
rgb(248,248,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #676769 is the less saturated color, while #070ac9 is the most saturated one.
-
#676769
#676769
rgb(103,103,105)
-
#5f5f71
#5f5f71
rgb(95,95,113)
-
#575779
#575779
rgb(87,87,121)
-
#4f5081
#4f5081
rgb(79,80,129)
-
#474889
#474889
rgb(71,72,137)
-
#3f4091
#3f4091
rgb(63,64,145)
-
#373899
#373899
rgb(55,56,153)
-
#2f31a1
#2f31a1
rgb(47,49,161)
-
#2729a9
#2729a9
rgb(39,41,169)
-
#1f21b1
#1f21b1
rgb(31,33,177)
-
#1719b9
#1719b9
rgb(23,25,185)
-
#0f11c1
#0f11c1
rgb(15,17,193)
-
#070ac9
#070ac9
rgb(7,10,201)
Tone Color Variation
Below, you can see how #1f21b1 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