#0c21c6 hex color
In a RGB color space, hex #0c21c6 is composed of 4.7% red, 12.9% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 83.3% magenta, 0% yellow and 22.4% black. It has a hue angle of 233.2 degrees, a saturation of 88.6% and a lightness of 41.2%. #0c21c6 color hex could be obtained by blending #1842ff with #00008d. Closest websafe color is: #0033cc.
-
- R 5
- G 13
- B 78
RGB color chart
-
- C 94
- M 83
- Y 0
- K 22
CMYK color chart
● #0c21c6 color description : Strong blue.
The hexadecimal color #0c21c6 has RGB values of R:12, G:33, B:198 and CMYK values of C:0.94, M:0.83, Y:0, K:0.22. Its decimal value is 795078.
Hex triplet | 0c21c6 | #0c21c6 |
---|---|---|
RGB Decimal | 12, 33, 198 | rgb(12,33,198) |
RGB Percent | 4.7, 12.9, 77.6 | rgb(4.7%,12.9%,77.6%) |
CMYK | 94, 83, 0, 22 | |
HSL | 233.2°, 88.6, 41.2 | hsl(233.2,88.6%,41.2%) |
HSV (or HSB) | 233.2°, 93.9, 77.6 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 27.414, 55.691, -83.322 |
---|---|
XYZ | 10.886, 5.242, 53.861 |
xyY | 0.156, 0.075, 5.242 |
CIE-LCH | 27.414, 100.22, 303.758 |
CIE-LUV | 27.414, -8.703, -99.946 |
Hunter-Lab | 22.896, 44.805, -123.448 |
Binary | 00001100, 00100001, 11000110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c21c6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c21c6
This text has a font color of #0c21c6.
<span style="color:#0c21c6;">Text here</span>
#0c21c6 background color
This paragraph has a background color of #0c21c6.
<p style="background-color:#0c21c6;">Content here</p>
#0c21c6 border color
This element has a border color of #0c21c6.
<div style="border:1px solid #0c21c6;">Content here</div>
CSS codes
.text {color:#0c21c6;}
.background {background-color:#0c21c6;}
.border {border:1px solid #0c21c6;}
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, #01020d is the darkest color, while #fafaff is the lightest one.
-
#01020d
#01020d
rgb(1,2,13)
-
#020520
#020520
rgb(2,5,32)
-
#030832
#030832
rgb(3,8,50)
-
#040b45
#040b45
rgb(4,11,69)
-
#050f57
#050f57
rgb(5,15,87)
-
#06126a
#06126a
rgb(6,18,106)
-
#08157c
#08157c
rgb(8,21,124)
-
#09188f
#09188f
rgb(9,24,143)
-
#0a1ba1
#0a1ba1
rgb(10,27,161)
-
#0b1eb4
#0b1eb4
rgb(11,30,180)
-
#0c21c6
#0c21c6
rgb(12,33,198)
-
#0d24d8
#0d24d8
rgb(13,36,216)
-
#0e27eb
#0e27eb
rgb(14,39,235)
Shade Color Variation
-
#1c34f1
#1c34f1
rgb(28,52,241)
-
#2e44f2
#2e44f2
rgb(46,68,242)
-
#4155f3
#4155f3
rgb(65,85,243)
-
#5365f5
#5365f5
rgb(83,101,245)
-
#6676f6
#6676f6
rgb(102,118,246)
-
#7886f7
#7886f7
rgb(120,134,247)
-
#8b97f8
#8b97f8
rgb(139,151,248)
-
#9da7f9
#9da7f9
rgb(157,167,249)
-
#b0b8fa
#b0b8fa
rgb(176,184,250)
-
#c2c9fb
#c2c9fb
rgb(194,201,251)
-
#d5d9fc
#d5d9fc
rgb(213,217,252)
-
#e7eafe
#e7eafe
rgb(231,234,254)
-
#fafaff
#fafaff
rgb(250,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #65666d is the less saturated color, while #041bce is the most saturated one.
-
#65666d
#65666d
rgb(101,102,109)
-
#5d6075
#5d6075
rgb(93,96,117)
-
#55597d
#55597d
rgb(85,89,125)
-
#4d5385
#4d5385
rgb(77,83,133)
-
#454d8d
#454d8d
rgb(69,77,141)
-
#3c4796
#3c4796
rgb(60,71,150)
-
#34409e
#34409e
rgb(52,64,158)
-
#2c3aa6
#2c3aa6
rgb(44,58,166)
-
#2434ae
#2434ae
rgb(36,52,174)
-
#1c2eb6
#1c2eb6
rgb(28,46,182)
-
#1427be
#1427be
rgb(20,39,190)
-
#0c21c6
#0c21c6
rgb(12,33,198)
-
#041bce
#041bce
rgb(4,27,206)
Tone Color Variation
Below, you can see how #0c21c6 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