#0c42a1 hex color
In a RGB color space, hex #0c42a1 is composed of 4.7% red, 25.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 92.5% cyan, 59% magenta, 0% yellow and 36.9% black. It has a hue angle of 218.3 degrees, a saturation of 86.1% and a lightness of 33.9%. #0c42a1 color hex could be obtained by blending #1884ff with #000043. Closest websafe color is: #003399.
-
- R 5
- G 26
- B 63
RGB color chart
-
- C 93
- M 59
- Y 0
- K 37
CMYK color chart
● #0c42a1 color description : Dark blue.
The hexadecimal color #0c42a1 has RGB values of R:12, G:66, B:161 and CMYK values of C:0.93, M:0.59, Y:0, K:0.37. Its decimal value is 803489.
Hex triplet | 0c42a1 | #0c42a1 |
---|---|---|
RGB Decimal | 12, 66, 161 | rgb(12,66,161) |
RGB Percent | 4.7, 25.9, 63.1 | rgb(4.7%,25.9%,63.1%) |
CMYK | 93, 59, 0, 37 | |
HSL | 218.3°, 86.1, 33.9 | hsl(218.3,86.1%,33.9%) |
HSV (or HSB) | 218.3°, 92.5, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.753, 22.351, -55.78 |
---|---|
XYZ | 8.531, 6.547, 34.53 |
xyY | 0.172, 0.132, 6.547 |
CIE-LCH | 30.753, 60.091, 291.836 |
CIE-LUV | 30.753, -14.228, -75.234 |
Hunter-Lab | 25.587, 14.739, -62.101 |
Binary | 00001100, 01000010, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c42a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c42a1
This text has a font color of #0c42a1.
<span style="color:#0c42a1;">Text here</span>
#0c42a1 background color
This paragraph has a background color of #0c42a1.
<p style="background-color:#0c42a1;">Content here</p>
#0c42a1 border color
This element has a border color of #0c42a1.
<div style="border:1px solid #0c42a1;">Content here</div>
CSS codes
.text {color:#0c42a1;}
.background {background-color:#0c42a1;}
.border {border:1px solid #0c42a1;}
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, #01060f is the darkest color, while #fcfdff is the lightest one.
-
#01060f
#01060f
rgb(1,6,15)
-
#020e21
#020e21
rgb(2,14,33)
-
#041533
#041533
rgb(4,21,51)
-
#051d46
#051d46
rgb(5,29,70)
-
#072458
#072458
rgb(7,36,88)
-
#082c6a
#082c6a
rgb(8,44,106)
-
#09337c
#09337c
rgb(9,51,124)
-
#0b3b8f
#0b3b8f
rgb(11,59,143)
-
#0c42a1
#0c42a1
rgb(12,66,161)
-
#0d49b3
#0d49b3
rgb(13,73,179)
-
#0f51c6
#0f51c6
rgb(15,81,198)
-
#1058d8
#1058d8
rgb(16,88,216)
-
#1160ea
#1160ea
rgb(17,96,234)
Shade Color Variation
-
#216bee
#216bee
rgb(33,107,238)
-
#3377f0
#3377f0
rgb(51,119,240)
-
#4583f1
#4583f1
rgb(69,131,241)
-
#5790f3
#5790f3
rgb(87,144,243)
-
#6a9cf4
#6a9cf4
rgb(106,156,244)
-
#7ca8f5
#7ca8f5
rgb(124,168,245)
-
#8eb4f7
#8eb4f7
rgb(142,180,247)
-
#a0c0f8
#a0c0f8
rgb(160,192,248)
-
#b3ccf9
#b3ccf9
rgb(179,204,249)
-
#c5d8fb
#c5d8fb
rgb(197,216,251)
-
#d7e5fc
#d7e5fc
rgb(215,229,252)
-
#e9f1fd
#e9f1fd
rgb(233,241,253)
-
#fcfdff
#fcfdff
rgb(252,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555658 is the less saturated color, while #0540a8 is the most saturated one.
-
#555658
#555658
rgb(85,86,88)
-
#4f545e
#4f545e
rgb(79,84,94)
-
#485265
#485265
rgb(72,82,101)
-
#41516c
#41516c
rgb(65,81,108)
-
#3b4f72
#3b4f72
rgb(59,79,114)
-
#344d79
#344d79
rgb(52,77,121)
-
#2d4b80
#2d4b80
rgb(45,75,128)
-
#274986
#274986
rgb(39,73,134)
-
#20478d
#20478d
rgb(32,71,141)
-
#194694
#194694
rgb(25,70,148)
-
#13449a
#13449a
rgb(19,68,154)
-
#0c42a1
#0c42a1
rgb(12,66,161)
-
#0540a8
#0540a8
rgb(5,64,168)
Tone Color Variation
Below, you can see how #0c42a1 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