#0c0fa9 hex color
In a RGB color space, hex #0c0fa9 is composed of 4.7% red, 5.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 92.9% cyan, 91.1% magenta, 0% yellow and 33.7% black. It has a hue angle of 238.9 degrees, a saturation of 86.7% and a lightness of 35.5%. #0c0fa9 color hex could be obtained by blending #181eff with #000053. Closest websafe color is: #000099.
-
- R 5
- G 6
- B 66
RGB color chart
-
- C 93
- M 91
- Y 0
- K 34
CMYK color chart
● #0c0fa9 color description : Dark blue.
The hexadecimal color #0c0fa9 has RGB values of R:12, G:15, B:169 and CMYK values of C:0.93, M:0.91, Y:0, K:0.34. Its decimal value is 790441.
Hex triplet | 0c0fa9 | #0c0fa9 |
---|---|---|
RGB Decimal | 12, 15, 169 | rgb(12,15,169) |
RGB Percent | 4.7, 5.9, 66.3 | rgb(4.7%,5.9%,66.3%) |
CMYK | 93, 91, 0, 34 | |
HSL | 238.9°, 86.7, 35.5 | hsl(238.9,86.7%,35.5%) |
HSV (or HSB) | 238.9°, 92.9, 66.3 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 21.146, 54.178, -76.485 |
---|---|
XYZ | 7.482, 3.284, 37.773 |
xyY | 0.154, 0.068, 3.284 |
CIE-LCH | 21.146, 93.729, 305.311 |
CIE-LUV | 21.146, -6.005, -80.973 |
Hunter-Lab | 18.121, 41.992, -110.904 |
Binary | 00001100, 00001111, 10101001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c0fa9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0fa9
This text has a font color of #0c0fa9.
<span style="color:#0c0fa9;">Text here</span>
#0c0fa9 background color
This paragraph has a background color of #0c0fa9.
<p style="background-color:#0c0fa9;">Content here</p>
#0c0fa9 border color
This element has a border color of #0c0fa9.
<div style="border:1px solid #0c0fa9;">Content here</div>
CSS codes
.text {color:#0c0fa9;}
.background {background-color:#0c0fa9;}
.border {border:1px solid #0c0fa9;}
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, #000004 is the darkest color, while #f1f1fe is the lightest one.
-
#000004
#000004
rgb(0,0,4)
-
#020216
#020216
rgb(2,2,22)
-
#030429
#030429
rgb(3,4,41)
-
#04053b
#04053b
rgb(4,5,59)
-
#05074d
#05074d
rgb(5,7,77)
-
#070860
#070860
rgb(7,8,96)
-
#080a72
#080a72
rgb(8,10,114)
-
#090c84
#090c84
rgb(9,12,132)
-
#0b0d97
#0b0d97
rgb(11,13,151)
-
#0c0fa9
#0c0fa9
rgb(12,15,169)
-
#0d11bb
#0d11bb
rgb(13,17,187)
-
#0f12ce
#0f12ce
rgb(15,18,206)
-
#1014e0
#1014e0
rgb(16,20,224)
Shade Color Variation
-
#1519ee
#1519ee
rgb(21,25,238)
-
#272bf0
#272bf0
rgb(39,43,240)
-
#3a3df1
#3a3df1
rgb(58,61,241)
-
#4c4ff2
#4c4ff2
rgb(76,79,242)
-
#5e61f4
#5e61f4
rgb(94,97,244)
-
#7173f5
#7173f5
rgb(113,115,245)
-
#8385f6
#8385f6
rgb(131,133,246)
-
#9597f7
#9597f7
rgb(149,151,247)
-
#a8a9f9
#a8a9f9
rgb(168,169,249)
-
#babbfa
#babbfa
rgb(186,187,250)
-
#cccdfb
#cccdfb
rgb(204,205,251)
-
#dfdffd
#dfdffd
rgb(223,223,253)
-
#f1f1fe
#f1f1fe
rgb(241,241,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #59595c is the less saturated color, while #0508b0 is the most saturated one.
-
#59595c
#59595c
rgb(89,89,92)
-
#525263
#525263
rgb(82,82,99)
-
#4b4b6a
#4b4b6a
rgb(75,75,106)
-
#444571
#444571
rgb(68,69,113)
-
#3d3e78
#3d3e78
rgb(61,62,120)
-
#36377f
#36377f
rgb(54,55,127)
-
#2f3086
#2f3086
rgb(47,48,134)
-
#282a8d
#282a8d
rgb(40,42,141)
-
#212394
#212394
rgb(33,35,148)
-
#1a1c9b
#1a1c9b
rgb(26,28,155)
-
#1316a2
#1316a2
rgb(19,22,162)
-
#0c0fa9
#0c0fa9
rgb(12,15,169)
-
#0508b0
#0508b0
rgb(5,8,176)
Tone Color Variation
Below, you can see how #0c0fa9 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