#0c0c2c hex color
In a RGB color space, hex #0c0c2c is composed of 4.7% red, 4.7% green and 17.3% blue. Whereas in a CMYK color space, it is composed of 72.7% cyan, 72.7% magenta, 0% yellow and 82.7% black. It has a hue angle of 240 degrees, a saturation of 57.1% and a lightness of 11%. #0c0c2c color hex could be obtained by blending #181858 with #000000. Closest websafe color is: #000033.
-
- R 5
- G 5
- B 17
RGB color chart
-
- C 73
- M 73
- Y 0
- K 83
CMYK color chart
● #0c0c2c color description : Very dark (mostly black) blue.
The hexadecimal color #0c0c2c has RGB values of R:12, G:12, B:44 and CMYK values of C:0.73, M:0.73, Y:0, K:0.83. Its decimal value is 789548.
Hex triplet | 0c0c2c | #0c0c2c |
---|---|---|
RGB Decimal | 12, 12, 44 | rgb(12,12,44) |
RGB Percent | 4.7, 4.7, 17.3 | rgb(4.7%,4.7%,17.3%) |
CMYK | 73, 73, 0, 83 | |
HSL | 240°, 57.1, 11 | hsl(240,57.1%,11%) |
HSV (or HSB) | 240°, 72.7, 17.3 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.724, 9.856, -20.693 |
---|---|
XYZ | 0.738, 0.523, 2.445 |
xyY | 0.199, 0.141, 0.523 |
CIE-LCH | 4.724, 22.92, 295.468 |
CIE-LUV | 4.724, -0.765, -10.601 |
Hunter-Lab | 7.231, 5.553, -14.983 |
Binary | 00001100, 00001100, 00101100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0c0c2c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0c2c
This text has a font color of #0c0c2c.
<span style="color:#0c0c2c;">Text here</span>
#0c0c2c background color
This paragraph has a background color of #0c0c2c.
<p style="background-color:#0c0c2c;">Content here</p>
#0c0c2c border color
This element has a border color of #0c0c2c.
<div style="border:1px solid #0c0c2c;">Content here</div>
CSS codes
.text {color:#0c0c2c;}
.background {background-color:#0c0c2c;}
.border {border:1px solid #0c0c2c;}
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, #04040d is the darkest color, while #fdfdfe is the lightest one.
-
#04040d
#04040d
rgb(4,4,13)
-
#08081d
#08081d
rgb(8,8,29)
-
#0c0c2c
#0c0c2c
rgb(12,12,44)
-
#10103b
#10103b
rgb(16,16,59)
-
#14144b
#14144b
rgb(20,20,75)
-
#19195a
#19195a
rgb(25,25,90)
-
#1d1d6a
#1d1d6a
rgb(29,29,106)
-
#212179
#212179
rgb(33,33,121)
-
#252588
#252588
rgb(37,37,136)
-
#292998
#292998
rgb(41,41,152)
-
#2e2ea7
#2e2ea7
rgb(46,46,167)
-
#3232b7
#3232b7
rgb(50,50,183)
-
#3636c6
#3636c6
rgb(54,54,198)
Shade Color Variation
-
#4444cc
#4444cc
rgb(68,68,204)
-
#5353d0
#5353d0
rgb(83,83,208)
-
#6363d4
#6363d4
rgb(99,99,212)
-
#7272d9
#7272d9
rgb(114,114,217)
-
#8181dd
#8181dd
rgb(129,129,221)
-
#9191e1
#9191e1
rgb(145,145,225)
-
#a0a0e5
#a0a0e5
rgb(160,160,229)
-
#b0b0e9
#b0b0e9
rgb(176,176,233)
-
#bfbfee
#bfbfee
rgb(191,191,238)
-
#cfcff2
#cfcff2
rgb(207,207,242)
-
#dedef6
#dedef6
rgb(222,222,246)
-
#ededfa
#ededfa
rgb(237,237,250)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #1b1b1d is the less saturated color, while #010137 is the most saturated one.
-
#1b1b1d
#1b1b1d
rgb(27,27,29)
-
#19191f
#19191f
rgb(25,25,31)
-
#171721
#171721
rgb(23,23,33)
-
#151523
#151523
rgb(21,21,35)
-
#121226
#121226
rgb(18,18,38)
-
#101028
#101028
rgb(16,16,40)
-
#0e0e2a
#0e0e2a
rgb(14,14,42)
-
#0c0c2c
#0c0c2c
rgb(12,12,44)
-
#0a0a2e
#0a0a2e
rgb(10,10,46)
-
#080830
#080830
rgb(8,8,48)
-
#060632
#060632
rgb(6,6,50)
-
#030335
#030335
rgb(3,3,53)
-
#010137
#010137
rgb(1,1,55)
Tone Color Variation
Below, you can see how #0c0c2c 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