#0c42a3 hex color
In a RGB color space, hex #0c42a3 is composed of 4.7% red, 25.9% green and 63.9% blue. Whereas in a CMYK color space, it is composed of 92.6% cyan, 59.5% magenta, 0% yellow and 36.1% black. It has a hue angle of 218.5 degrees, a saturation of 86.3% and a lightness of 34.3%. #0c42a3 color hex could be obtained by blending #1884ff with #000047. Closest websafe color is: #003399.
-
- R 5
- G 26
- B 64
RGB color chart
-
- C 93
- M 60
- Y 0
- K 36
CMYK color chart
● #0c42a3 color description : Dark blue.
The hexadecimal color #0c42a3 has RGB values of R:12, G:66, B:163 and CMYK values of C:0.93, M:0.6, Y:0, K:0.36. Its decimal value is 803491.
Hex triplet | 0c42a3 | #0c42a3 |
---|---|---|
RGB Decimal | 12, 66, 163 | rgb(12,66,163) |
RGB Percent | 4.7, 25.9, 63.9 | rgb(4.7%,25.9%,63.9%) |
CMYK | 93, 60, 0, 36 | |
HSL | 218.5°, 86.3, 34.3 | hsl(218.5,86.3%,34.3%) |
HSV (or HSB) | 218.5°, 92.6, 63.9 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.921, 23.168, -56.711 |
---|---|
XYZ | 8.709, 6.618, 35.467 |
xyY | 0.171, 0.13, 6.618 |
CIE-LCH | 30.921, 61.261, 292.222 |
CIE-LUV | 30.921, -14.206, -76.576 |
Hunter-Lab | 25.726, 15.409, -63.732 |
Binary | 00001100, 01000010, 10100011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c42a3. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c42a3
This text has a font color of #0c42a3.
<span style="color:#0c42a3;">Text here</span>
#0c42a3 background color
This paragraph has a background color of #0c42a3.
<p style="background-color:#0c42a3;">Content here</p>
#0c42a3 border color
This element has a border color of #0c42a3.
<div style="border:1px solid #0c42a3;">Content here</div>
CSS codes
.text {color:#0c42a3;}
.background {background-color:#0c42a3;}
.border {border:1px solid #0c42a3;}
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, #010711 is the darkest color, while #fefeff is the lightest one.
-
#010711
#010711
rgb(1,7,17)
-
#030e23
#030e23
rgb(3,14,35)
-
#041635
#041635
rgb(4,22,53)
-
#051d48
#051d48
rgb(5,29,72)
-
#07245a
#07245a
rgb(7,36,90)
-
#082c6c
#082c6c
rgb(8,44,108)
-
#09337e
#09337e
rgb(9,51,126)
-
#0b3b91
#0b3b91
rgb(11,59,145)
-
#0c42a3
#0c42a3
rgb(12,66,163)
-
#0d49b5
#0d49b5
rgb(13,73,181)
-
#0f51c8
#0f51c8
rgb(15,81,200)
-
#1058da
#1058da
rgb(16,88,218)
-
#1160ec
#1160ec
rgb(17,96,236)
Shade Color Variation
-
#226bef
#226bef
rgb(34,107,239)
-
#3578f0
#3578f0
rgb(53,120,240)
-
#4784f1
#4784f1
rgb(71,132,241)
-
#5990f3
#5990f3
rgb(89,144,243)
-
#6b9cf4
#6b9cf4
rgb(107,156,244)
-
#7ea9f5
#7ea9f5
rgb(126,169,245)
-
#90b5f7
#90b5f7
rgb(144,181,247)
-
#a2c1f8
#a2c1f8
rgb(162,193,248)
-
#b4cdfa
#b4cdfa
rgb(180,205,250)
-
#c7d9fb
#c7d9fb
rgb(199,217,251)
-
#d9e6fc
#d9e6fc
rgb(217,230,252)
-
#ebf2fe
#ebf2fe
rgb(235,242,254)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #565759 is the less saturated color, while #0540aa is the most saturated one.
-
#565759
#565759
rgb(86,87,89)
-
#4f5560
#4f5560
rgb(79,85,96)
-
#495366
#495366
rgb(73,83,102)
-
#42516d
#42516d
rgb(66,81,109)
-
#3b4f74
#3b4f74
rgb(59,79,116)
-
#344e7b
#344e7b
rgb(52,78,123)
-
#2e4c81
#2e4c81
rgb(46,76,129)
-
#274a88
#274a88
rgb(39,74,136)
-
#20488f
#20488f
rgb(32,72,143)
-
#194696
#194696
rgb(25,70,150)
-
#13449c
#13449c
rgb(19,68,156)
-
#0c42a3
#0c42a3
rgb(12,66,163)
-
#0540aa
#0540aa
rgb(5,64,170)
Tone Color Variation
Below, you can see how #0c42a3 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