#0c0c2a hex color
In a RGB color space, hex #0c0c2a is composed of 4.7% red, 4.7% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 71.4% cyan, 71.4% magenta, 0% yellow and 83.5% black. It has a hue angle of 240 degrees, a saturation of 55.6% and a lightness of 10.6%. #0c0c2a color hex could be obtained by blending #181854 with #000000. Closest websafe color is: #000033.
-
- R 5
- G 5
- B 16
RGB color chart
-
- C 71
- M 71
- Y 0
- K 84
CMYK color chart
● #0c0c2a color description : Very dark (mostly black) blue.
The hexadecimal color #0c0c2a has RGB values of R:12, G:12, B:42 and CMYK values of C:0.71, M:0.71, Y:0, K:0.84. Its decimal value is 789546.
Hex triplet | 0c0c2a | #0c0c2a |
---|---|---|
RGB Decimal | 12, 12, 42 | rgb(12,12,42) |
RGB Percent | 4.7, 4.7, 16.5 | rgb(4.7%,4.7%,16.5%) |
CMYK | 71, 71, 0, 84 | |
HSL | 240°, 55.6, 10.6 | hsl(240,55.6%,10.6%) |
HSV (or HSB) | 240°, 71.4, 16.5 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.591, 8.924, -19.394 |
---|---|
XYZ | 0.701, 0.508, 2.252 |
xyY | 0.203, 0.147, 0.508 |
CIE-LCH | 4.591, 21.349, 294.71 |
CIE-LUV | 4.591, -0.711, -9.847 |
Hunter-Lab | 7.129, 5.074, -13.735 |
Binary | 00001100, 00001100, 00101010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0c0c2a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0c2a
This text has a font color of #0c0c2a.
<span style="color:#0c0c2a;">Text here</span>
#0c0c2a background color
This paragraph has a background color of #0c0c2a.
<p style="background-color:#0c0c2a;">Content here</p>
#0c0c2a border color
This element has a border color of #0c0c2a.
<div style="border:1px solid #0c0c2a;">Content here</div>
CSS codes
.text {color:#0c0c2a;}
.background {background-color:#0c0c2a;}
.border {border:1px solid #0c0c2a;}
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, #03030b is the darkest color, while #fbfbfe is the lightest one.
-
#03030b
#03030b
rgb(3,3,11)
-
#08081b
#08081b
rgb(8,8,27)
-
#0c0c2a
#0c0c2a
rgb(12,12,42)
-
#101039
#101039
rgb(16,16,57)
-
#151549
#151549
rgb(21,21,73)
-
#191958
#191958
rgb(25,25,88)
-
#1d1d67
#1d1d67
rgb(29,29,103)
-
#222276
#222276
rgb(34,34,118)
-
#262686
#262686
rgb(38,38,134)
-
#2b2b95
#2b2b95
rgb(43,43,149)
-
#2f2fa4
#2f2fa4
rgb(47,47,164)
-
#3333b3
#3333b3
rgb(51,51,179)
-
#3838c3
#3838c3
rgb(56,56,195)
Shade Color Variation
-
#4444ca
#4444ca
rgb(68,68,202)
-
#5353ce
#5353ce
rgb(83,83,206)
-
#6363d2
#6363d2
rgb(99,99,210)
-
#7272d7
#7272d7
rgb(114,114,215)
-
#8181db
#8181db
rgb(129,129,219)
-
#9090df
#9090df
rgb(144,144,223)
-
#a0a0e4
#a0a0e4
rgb(160,160,228)
-
#afafe8
#afafe8
rgb(175,175,232)
-
#bebeec
#bebeec
rgb(190,190,236)
-
#cdcdf1
#cdcdf1
rgb(205,205,241)
-
#ddddf5
#ddddf5
rgb(221,221,245)
-
#ececfa
#ececfa
rgb(236,236,250)
-
#fbfbfe
#fbfbfe
rgb(251,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #1b1b1b is the less saturated color, while #020234 is the most saturated one.
-
#1b1b1b
#1b1b1b
rgb(27,27,27)
-
#18181e
#18181e
rgb(24,24,30)
-
#161620
#161620
rgb(22,22,32)
-
#141422
#141422
rgb(20,20,34)
-
#121224
#121224
rgb(18,18,36)
-
#101026
#101026
rgb(16,16,38)
-
#0e0e28
#0e0e28
rgb(14,14,40)
-
#0c0c2a
#0c0c2a
rgb(12,12,42)
-
#0a0a2c
#0a0a2c
rgb(10,10,44)
-
#08082e
#08082e
rgb(8,8,46)
-
#060630
#060630
rgb(6,6,48)
-
#040432
#040432
rgb(4,4,50)
-
#020234
#020234
rgb(2,2,52)
Tone Color Variation
Below, you can see how #0c0c2a 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