#0c21a1 hex color
In a RGB color space, hex #0c21a1 is composed of 4.7% red, 12.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 92.5% cyan, 79.5% magenta, 0% yellow and 36.9% black. It has a hue angle of 231.5 degrees, a saturation of 86.1% and a lightness of 33.9%. #0c21a1 color hex could be obtained by blending #1842ff with #000043. Closest websafe color is: #003399.
-
- R 5
- G 13
- B 63
RGB color chart
-
- C 93
- M 80
- Y 0
- K 37
CMYK color chart
● #0c21a1 color description : Dark blue.
The hexadecimal color #0c21a1 has RGB values of R:12, G:33, B:161 and CMYK values of C:0.93, M:0.8, Y:0, K:0.37. Its decimal value is 795041.
Hex triplet | 0c21a1 | #0c21a1 |
---|---|---|
RGB Decimal | 12, 33, 161 | rgb(12,33,161) |
RGB Percent | 4.7, 12.9, 63.1 | rgb(4.7%,12.9%,63.1%) |
CMYK | 93, 80, 0, 37 | |
HSL | 231.5°, 86.1, 33.9 | hsl(231.5,86.1%,33.9%) |
HSV (or HSB) | 231.5°, 92.5, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 22.787, 43.658, -68.894 |
---|---|
XYZ | 7.127, 3.739, 34.062 |
xyY | 0.159, 0.083, 3.739 |
CIE-LCH | 22.787, 81.562, 302.362 |
CIE-LUV | 22.787, -7.545, -78.473 |
Hunter-Lab | 19.335, 31.96, -90.914 |
Binary | 00001100, 00100001, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c21a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c21a1
This text has a font color of #0c21a1.
<span style="color:#0c21a1;">Text here</span>
#0c21a1 background color
This paragraph has a background color of #0c21a1.
<p style="background-color:#0c21a1;">Content here</p>
#0c21a1 border color
This element has a border color of #0c21a1.
<div style="border:1px solid #0c21a1;">Content here</div>
CSS codes
.text {color:#0c21a1;}
.background {background-color:#0c21a1;}
.border {border:1px solid #0c21a1;}
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, #01030f is the darkest color, while #fcfcff is the lightest one.
-
#01030f
#01030f
rgb(1,3,15)
-
#020721
#020721
rgb(2,7,33)
-
#040b33
#040b33
rgb(4,11,51)
-
#050e46
#050e46
rgb(5,14,70)
-
#071258
#071258
rgb(7,18,88)
-
#08166a
#08166a
rgb(8,22,106)
-
#091a7c
#091a7c
rgb(9,26,124)
-
#0b1d8f
#0b1d8f
rgb(11,29,143)
-
#0c21a1
#0c21a1
rgb(12,33,161)
-
#0d25b3
#0d25b3
rgb(13,37,179)
-
#0f28c6
#0f28c6
rgb(15,40,198)
-
#102cd8
#102cd8
rgb(16,44,216)
-
#1130ea
#1130ea
rgb(17,48,234)
Shade Color Variation
-
#213eee
#213eee
rgb(33,62,238)
-
#334ef0
#334ef0
rgb(51,78,240)
-
#455df1
#455df1
rgb(69,93,241)
-
#576df3
#576df3
rgb(87,109,243)
-
#6a7df4
#6a7df4
rgb(106,125,244)
-
#7c8df5
#7c8df5
rgb(124,141,245)
-
#8e9df7
#8e9df7
rgb(142,157,247)
-
#a0adf8
#a0adf8
rgb(160,173,248)
-
#b3bdf9
#b3bdf9
rgb(179,189,249)
-
#c5cdfb
#c5cdfb
rgb(197,205,251)
-
#d7dcfc
#d7dcfc
rgb(215,220,252)
-
#e9ecfd
#e9ecfd
rgb(233,236,253)
-
#fcfcff
#fcfcff
rgb(252,252,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555658 is the less saturated color, while #051ca8 is the most saturated one.
-
#555658
#555658
rgb(85,86,88)
-
#4f515e
#4f515e
rgb(79,81,94)
-
#484c65
#484c65
rgb(72,76,101)
-
#41476c
#41476c
rgb(65,71,108)
-
#3b4272
#3b4272
rgb(59,66,114)
-
#343e79
#343e79
rgb(52,62,121)
-
#2d3980
#2d3980
rgb(45,57,128)
-
#273486
#273486
rgb(39,52,134)
-
#202f8d
#202f8d
rgb(32,47,141)
-
#192b94
#192b94
rgb(25,43,148)
-
#13269a
#13269a
rgb(19,38,154)
-
#0c21a1
#0c21a1
rgb(12,33,161)
-
#051ca8
#051ca8
rgb(5,28,168)
Tone Color Variation
Below, you can see how #0c21a1 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