#0c0cac hex color
In a RGB color space, hex #0c0cac is composed of 4.7% red, 4.7% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 93% magenta, 0% yellow and 32.5% black. It has a hue angle of 240 degrees, a saturation of 87% and a lightness of 36.1%. #0c0cac color hex could be obtained by blending #1818ff with #000059. Closest websafe color is: #000099.
-
- R 5
- G 5
- B 67
RGB color chart
-
- C 93
- M 93
- Y 0
- K 33
CMYK color chart
● #0c0cac color description : Dark blue.
The hexadecimal color #0c0cac has RGB values of R:12, G:12, B:172 and CMYK values of C:0.93, M:0.93, Y:0, K:0.33. Its decimal value is 789676.
Hex triplet | 0c0cac | #0c0cac |
---|---|---|
RGB Decimal | 12, 12, 172 | rgb(12,12,172) |
RGB Percent | 4.7, 4.7, 67.5 | rgb(4.7%,4.7%,67.5%) |
CMYK | 93, 93, 0, 33 | |
HSL | 240°, 87, 36.1 | hsl(240,87%,36.1%) |
HSV (or HSB) | 240°, 93, 67.5 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 21.279, 55.925, -78.078 |
---|---|
XYZ | 7.728, 3.319, 39.261 |
xyY | 0.154, 0.066, 3.319 |
CIE-LCH | 21.279, 96.041, 305.613 |
CIE-LUV | 21.279, -5.947, -82.415 |
Hunter-Lab | 18.218, 43.836, -115.018 |
Binary | 00001100, 00001100, 10101100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c0cac. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0cac
This text has a font color of #0c0cac.
<span style="color:#0c0cac;">Text here</span>
#0c0cac background color
This paragraph has a background color of #0c0cac.
<p style="background-color:#0c0cac;">Content here</p>
#0c0cac border color
This element has a border color of #0c0cac.
<div style="border:1px solid #0c0cac;">Content here</div>
CSS codes
.text {color:#0c0cac;}
.background {background-color:#0c0cac;}
.border {border:1px solid #0c0cac;}
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, #000007 is the darkest color, while #f4f4fe is the lightest one.
-
#000007
#000007
rgb(0,0,7)
-
#020219
#020219
rgb(2,2,25)
-
#03032c
#03032c
rgb(3,3,44)
-
#04043e
#04043e
rgb(4,4,62)
-
#060650
#060650
rgb(6,6,80)
-
#070763
#070763
rgb(7,7,99)
-
#080875
#080875
rgb(8,8,117)
-
#090987
#090987
rgb(9,9,135)
-
#0b0b9a
#0b0b9a
rgb(11,11,154)
-
#0c0cac
#0c0cac
rgb(12,12,172)
-
#0d0dbe
#0d0dbe
rgb(13,13,190)
-
#0f0fd1
#0f0fd1
rgb(15,15,209)
-
#1010e3
#1010e3
rgb(16,16,227)
Shade Color Variation
-
#1818ef
#1818ef
rgb(24,24,239)
-
#2a2af0
#2a2af0
rgb(42,42,240)
-
#3c3cf1
#3c3cf1
rgb(60,60,241)
-
#4f4ff3
#4f4ff3
rgb(79,79,243)
-
#6161f4
#6161f4
rgb(97,97,244)
-
#7373f5
#7373f5
rgb(115,115,245)
-
#8686f7
#8686f7
rgb(134,134,247)
-
#9898f8
#9898f8
rgb(152,152,248)
-
#aaaaf9
#aaaaf9
rgb(170,170,249)
-
#bdbdfa
#bdbdfa
rgb(189,189,250)
-
#cfcffc
#cfcffc
rgb(207,207,252)
-
#e1e1fd
#e1e1fd
rgb(225,225,253)
-
#f4f4fe
#f4f4fe
rgb(244,244,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a5a5e is the less saturated color, while #0505b3 is the most saturated one.
-
#5a5a5e
#5a5a5e
rgb(90,90,94)
-
#535365
#535365
rgb(83,83,101)
-
#4c4c6c
#4c4c6c
rgb(76,76,108)
-
#454573
#454573
rgb(69,69,115)
-
#3e3e7a
#3e3e7a
rgb(62,62,122)
-
#363682
#363682
rgb(54,54,130)
-
#2f2f89
#2f2f89
rgb(47,47,137)
-
#282890
#282890
rgb(40,40,144)
-
#212197
#212197
rgb(33,33,151)
-
#1a1a9e
#1a1a9e
rgb(26,26,158)
-
#1313a5
#1313a5
rgb(19,19,165)
-
#0c0cac
#0c0cac
rgb(12,12,172)
-
#0505b3
#0505b3
rgb(5,5,179)
Tone Color Variation
Below, you can see how #0c0cac 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