#0c04a7 hex color
In a RGB color space, hex #0c04a7 is composed of 4.7% red, 1.6% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 92.8% cyan, 97.6% magenta, 0% yellow and 34.5% black. It has a hue angle of 242.9 degrees, a saturation of 95.3% and a lightness of 33.5%. #0c04a7 color hex could be obtained by blending #1808ff with #00004f. Closest websafe color is: #000099.
-
- R 5
- G 2
- B 65
RGB color chart
-
- C 93
- M 98
- Y 0
- K 35
CMYK color chart
● #0c04a7 color description : Dark blue.
The hexadecimal color #0c04a7 has RGB values of R:12, G:4, B:167 and CMYK values of C:0.93, M:0.98, Y:0, K:0.35. Its decimal value is 787623.
Hex triplet | 0c04a7 | #0c04a7 |
---|---|---|
RGB Decimal | 12, 4, 167 | rgb(12,4,167) |
RGB Percent | 4.7, 1.6, 65.5 | rgb(4.7%,1.6%,65.5%) |
CMYK | 93, 98, 0, 35 | |
HSL | 242.9°, 95.3, 33.5 | hsl(242.9,95.3%,33.5%) |
HSV (or HSB) | 242.9°, 97.6, 65.5 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 19.861, 56.682, -77.421 |
---|---|
XYZ | 7.169, 2.954, 36.75 |
xyY | 0.153, 0.063, 2.954 |
CIE-LCH | 19.861, 95.952, 306.209 |
CIE-LUV | 19.861, -5.304, -78.471 |
Hunter-Lab | 17.189, 44.365, -114.731 |
Binary | 00001100, 00000100, 10100111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0c04a7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c04a7
This text has a font color of #0c04a7.
<span style="color:#0c04a7;">Text here</span>
#0c04a7 background color
This paragraph has a background color of #0c04a7.
<p style="background-color:#0c04a7;">Content here</p>
#0c04a7 border color
This element has a border color of #0c04a7.
<div style="border:1px solid #0c04a7;">Content here</div>
CSS codes
.text {color:#0c04a7;}
.background {background-color:#0c04a7;}
.border {border:1px solid #0c04a7;}
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, #01000e is the darkest color, while #fafaff is the lightest one.
-
#01000e
#01000e
rgb(1,0,14)
-
#020121
#020121
rgb(2,1,33)
-
#040134
#040134
rgb(4,1,52)
-
#050247
#050247
rgb(5,2,71)
-
#06025a
#06025a
rgb(6,2,90)
-
#08036e
#08036e
rgb(8,3,110)
-
#090381
#090381
rgb(9,3,129)
-
#0b0494
#0b0494
rgb(11,4,148)
-
#0c04a7
#0c04a7
rgb(12,4,167)
-
#0d04ba
#0d04ba
rgb(13,4,186)
-
#0f05cd
#0f05cd
rgb(15,5,205)
-
#1005e0
#1005e0
rgb(16,5,224)
-
#1206f4
#1206f4
rgb(18,6,244)
Shade Color Variation
-
#1f14f9
#1f14f9
rgb(31,20,249)
-
#3127fa
#3127fa
rgb(49,39,250)
-
#433afa
#433afa
rgb(67,58,250)
-
#564dfb
#564dfb
rgb(86,77,251)
-
#6860fb
#6860fb
rgb(104,96,251)
-
#7a73fc
#7a73fc
rgb(122,115,252)
-
#8c87fc
#8c87fc
rgb(140,135,252)
-
#9f9afd
#9f9afd
rgb(159,154,253)
-
#b1adfd
#b1adfd
rgb(177,173,253)
-
#c3c0fd
#c3c0fd
rgb(195,192,253)
-
#d5d3fe
#d5d3fe
rgb(213,211,254)
-
#e8e6fe
#e8e6fe
rgb(232,230,254)
-
#fafaff
#fafaff
rgb(250,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #535358 is the less saturated color, while #0c04a7 is the most saturated one.
-
#535358
#535358
rgb(83,83,88)
-
#4d4c5f
#4d4c5f
rgb(77,76,95)
-
#474665
#474665
rgb(71,70,101)
-
#413f6c
#413f6c
rgb(65,63,108)
-
#3b3972
#3b3972
rgb(59,57,114)
-
#363279
#363279
rgb(54,50,121)
-
#302b80
#302b80
rgb(48,43,128)
-
#2a2586
#2a2586
rgb(42,37,134)
-
#241e8d
#241e8d
rgb(36,30,141)
-
#1e1893
#1e1893
rgb(30,24,147)
-
#18119a
#18119a
rgb(24,17,154)
-
#120ba0
#120ba0
rgb(18,11,160)
-
#0c04a7
#0c04a7
rgb(12,4,167)
Tone Color Variation
Below, you can see how #0c04a7 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