#0c42b8 hex color
In a RGB color space, hex #0c42b8 is composed of 4.7% red, 25.9% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 93.5% cyan, 64.1% magenta, 0% yellow and 27.8% black. It has a hue angle of 221.2 degrees, a saturation of 87.8% and a lightness of 38.4%. #0c42b8 color hex could be obtained by blending #1884ff with #000071. Closest websafe color is: #0033cc.
-
- R 5
- G 26
- B 72
RGB color chart
-
- C 93
- M 64
- Y 0
- K 28
CMYK color chart
● #0c42b8 color description : Strong blue.
The hexadecimal color #0c42b8 has RGB values of R:12, G:66, B:184 and CMYK values of C:0.93, M:0.64, Y:0, K:0.28. Its decimal value is 803512.
Hex triplet | 0c42b8 | #0c42b8 |
---|---|---|
RGB Decimal | 12, 66, 184 | rgb(12,66,184) |
RGB Percent | 4.7, 25.9, 72.2 | rgb(4.7%,25.9%,72.2%) |
CMYK | 93, 64, 0, 28 | |
HSL | 221.2°, 87.8, 38.4 | hsl(221.2,87.8%,38.4%) |
HSV (or HSB) | 221.2°, 93.5, 72.2 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 32.776, 31.559, -66.206 |
---|---|
XYZ | 10.75, 7.434, 46.213 |
xyY | 0.167, 0.115, 7.434 |
CIE-LCH | 32.776, 73.343, 295.486 |
CIE-LUV | 32.776, -14.075, -90.282 |
Hunter-Lab | 27.266, 22.659, -81.404 |
Binary | 00001100, 01000010, 10111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c42b8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c42b8
This text has a font color of #0c42b8.
<span style="color:#0c42b8;">Text here</span>
#0c42b8 background color
This paragraph has a background color of #0c42b8.
<p style="background-color:#0c42b8;">Content here</p>
#0c42b8 border color
This element has a border color of #0c42b8.
<div style="border:1px solid #0c42b8;">Content here</div>
CSS codes
.text {color:#0c42b8;}
.background {background-color:#0c42b8;}
.border {border:1px solid #0c42b8;}
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, #010712 is the darkest color, while #ffffff is the lightest one.
-
#010712
#010712
rgb(1,7,18)
-
#020d25
#020d25
rgb(2,13,37)
-
#041437
#041437
rgb(4,20,55)
-
#051a4a
#051a4a
rgb(5,26,74)
-
#06215c
#06215c
rgb(6,33,92)
-
#07286e
#07286e
rgb(7,40,110)
-
#082e81
#082e81
rgb(8,46,129)
-
#0a3593
#0a3593
rgb(10,53,147)
-
#0b3ba6
#0b3ba6
rgb(11,59,166)
-
#0c42b8
#0c42b8
rgb(12,66,184)
-
#0d49ca
#0d49ca
rgb(13,73,202)
-
#0e4fdd
#0e4fdd
rgb(14,79,221)
-
#1056ef
#1056ef
rgb(16,86,239)
Shade Color Variation
-
#2263f1
#2263f1
rgb(34,99,241)
-
#3470f2
#3470f2
rgb(52,112,242)
-
#477df3
#477df3
rgb(71,125,243)
-
#598af4
#598af4
rgb(89,138,244)
-
#6c97f5
#6c97f5
rgb(108,151,245)
-
#7ea4f7
#7ea4f7
rgb(126,164,247)
-
#90b1f8
#90b1f8
rgb(144,177,248)
-
#a3bef9
#a3bef9
rgb(163,190,249)
-
#b5cbfa
#b5cbfa
rgb(181,203,250)
-
#c8d8fb
#c8d8fb
rgb(200,216,251)
-
#dae5fd
#dae5fd
rgb(218,229,253)
-
#ecf2fe
#ecf2fe
rgb(236,242,254)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5f6165 is the less saturated color, while #043fc0 is the most saturated one.
-
#5f6165
#5f6165
rgb(95,97,101)
-
#575e6d
#575e6d
rgb(87,94,109)
-
#505b74
#505b74
rgb(80,91,116)
-
#48587c
#48587c
rgb(72,88,124)
-
#415683
#415683
rgb(65,86,131)
-
#39538b
#39538b
rgb(57,83,139)
-
#325092
#325092
rgb(50,80,146)
-
#2a4d9a
#2a4d9a
rgb(42,77,154)
-
#234aa1
#234aa1
rgb(35,74,161)
-
#1b48a9
#1b48a9
rgb(27,72,169)
-
#1445b0
#1445b0
rgb(20,69,176)
-
#0c42b8
#0c42b8
rgb(12,66,184)
-
#043fc0
#043fc0
rgb(4,63,192)
Tone Color Variation
Below, you can see how #0c42b8 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