#0c5fa2 hex color
In a RGB color space, hex #0c5fa2 is composed of 4.7% red, 37.3% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 92.6% cyan, 41.4% magenta, 0% yellow and 36.5% black. It has a hue angle of 206.8 degrees, a saturation of 86.2% and a lightness of 34.1%. #0c5fa2 color hex could be obtained by blending #18beff with #000045. Closest websafe color is: #006699.
-
- R 5
- G 37
- B 64
RGB color chart
-
- C 93
- M 41
- Y 0
- K 36
CMYK color chart
● #0c5fa2 color description : Dark blue.
The hexadecimal color #0c5fa2 has RGB values of R:12, G:95, B:162 and CMYK values of C:0.93, M:0.41, Y:0, K:0.36. Its decimal value is 810914.
Hex triplet | 0c5fa2 | #0c5fa2 |
---|---|---|
RGB Decimal | 12, 95, 162 | rgb(12,95,162) |
RGB Percent | 4.7, 37.3, 63.5 | rgb(4.7%,37.3%,63.5%) |
CMYK | 93, 41, 0, 36 | |
HSL | 206.8°, 86.2, 34.1 | hsl(206.8,86.2%,34.1%) |
HSV (or HSB) | 206.8°, 92.6, 63.5 | |
Web Safe | 006699 | #006699 |
CIE-LAB | 39.361, 3.281, -42.476 |
---|---|
XYZ | 10.764, 10.87, 35.711 |
xyY | 0.188, 0.19, 10.87 |
CIE-LCH | 39.361, 42.602, 274.417 |
CIE-LUV | 39.361, -22.817, -61.464 |
Hunter-Lab | 32.97, 0.578, -41.141 |
Binary | 00001100, 01011111, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c5fa2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c5fa2
This text has a font color of #0c5fa2.
<span style="color:#0c5fa2;">Text here</span>
#0c5fa2 background color
This paragraph has a background color of #0c5fa2.
<p style="background-color:#0c5fa2;">Content here</p>
#0c5fa2 border color
This element has a border color of #0c5fa2.
<div style="border:1px solid #0c5fa2;">Content here</div>
CSS codes
.text {color:#0c5fa2;}
.background {background-color:#0c5fa2;}
.border {border:1px solid #0c5fa2;}
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, #010910 is the darkest color, while #fdfeff is the lightest one.
-
#010910
#010910
rgb(1,9,16)
-
#031422
#031422
rgb(3,20,34)
-
#041f34
#041f34
rgb(4,31,52)
-
#052947
#052947
rgb(5,41,71)
-
#073459
#073459
rgb(7,52,89)
-
#083f6b
#083f6b
rgb(8,63,107)
-
#094a7d
#094a7d
rgb(9,74,125)
-
#0b5490
#0b5490
rgb(11,84,144)
-
#0c5fa2
#0c5fa2
rgb(12,95,162)
-
#0d6ab4
#0d6ab4
rgb(13,106,180)
-
#0f74c7
#0f74c7
rgb(15,116,199)
-
#107fd9
#107fd9
rgb(16,127,217)
-
#118aeb
#118aeb
rgb(17,138,235)
Shade Color Variation
-
#2193ef
#2193ef
rgb(33,147,239)
-
#349cf0
#349cf0
rgb(52,156,240)
-
#46a5f1
#46a5f1
rgb(70,165,241)
-
#58aef3
#58aef3
rgb(88,174,243)
-
#6bb7f4
#6bb7f4
rgb(107,183,244)
-
#7dc0f5
#7dc0f5
rgb(125,192,245)
-
#8fc8f7
#8fc8f7
rgb(143,200,247)
-
#a1d1f8
#a1d1f8
rgb(161,209,248)
-
#b4daf9
#b4daf9
rgb(180,218,249)
-
#c6e3fb
#c6e3fb
rgb(198,227,251)
-
#d8ecfc
#d8ecfc
rgb(216,236,252)
-
#eaf5fd
#eaf5fd
rgb(234,245,253)
-
#fdfeff
#fdfeff
rgb(253,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #565758 is the less saturated color, while #0560a9 is the most saturated one.
-
#565758
#565758
rgb(86,87,88)
-
#4f585f
#4f585f
rgb(79,88,95)
-
#485966
#485966
rgb(72,89,102)
-
#42596c
#42596c
rgb(66,89,108)
-
#3b5a73
#3b5a73
rgb(59,90,115)
-
#345b7a
#345b7a
rgb(52,91,122)
-
#2d5b81
#2d5b81
rgb(45,91,129)
-
#275c87
#275c87
rgb(39,92,135)
-
#205d8e
#205d8e
rgb(32,93,142)
-
#195e95
#195e95
rgb(25,94,149)
-
#135e9b
#135e9b
rgb(19,94,155)
-
#0c5fa2
#0c5fa2
rgb(12,95,162)
-
#0560a9
#0560a9
rgb(5,96,169)
Tone Color Variation
Below, you can see how #0c5fa2 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