#0c40b1 hex color
In a RGB color space, hex #0c40b1 is composed of 4.7% red, 25.1% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 93.2% cyan, 63.8% magenta, 0% yellow and 30.6% black. It has a hue angle of 221.1 degrees, a saturation of 87.3% and a lightness of 37.1%. #0c40b1 color hex could be obtained by blending #1880ff with #000063. Closest websafe color is: #003399.
-
- R 5
- G 25
- B 69
RGB color chart
-
- C 93
- M 64
- Y 0
- K 31
CMYK color chart
● #0c40b1 color description : Dark blue.
The hexadecimal color #0c40b1 has RGB values of R:12, G:64, B:177 and CMYK values of C:0.93, M:0.64, Y:0, K:0.31. Its decimal value is 802993.
Hex triplet | 0c40b1 | #0c40b1 |
---|---|---|
RGB Decimal | 12, 64, 177 | rgb(12,64,177) |
RGB Percent | 4.7, 25.1, 69.4 | rgb(4.7%,25.1%,69.4%) |
CMYK | 93, 64, 0, 31 | |
HSL | 221.1°, 87.3, 37.1 | hsl(221.1,87.3%,37.1%) |
HSV (or HSB) | 221.1°, 93.2, 69.4 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 31.621, 30.144, -63.951 |
---|---|
XYZ | 9.919, 6.918, 42.405 |
xyY | 0.167, 0.117, 6.918 |
CIE-LCH | 31.621, 70.699, 295.237 |
CIE-LUV | 31.621, -13.625, -86.273 |
Hunter-Lab | 26.303, 21.284, -77.174 |
Binary | 00001100, 01000000, 10110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c40b1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c40b1
This text has a font color of #0c40b1.
<span style="color:#0c40b1;">Text here</span>
#0c40b1 background color
This paragraph has a background color of #0c40b1.
<p style="background-color:#0c40b1;">Content here</p>
#0c40b1 border color
This element has a border color of #0c40b1.
<div style="border:1px solid #0c40b1;">Content here</div>
CSS codes
.text {color:#0c40b1;}
.background {background-color:#0c40b1;}
.border {border:1px solid #0c40b1;}
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, #01040c is the darkest color, while #f8faff is the lightest one.
-
#01040c
#01040c
rgb(1,4,12)
-
#020b1e
#020b1e
rgb(2,11,30)
-
#031230
#031230
rgb(3,18,48)
-
#051843
#051843
rgb(5,24,67)
-
#061f55
#061f55
rgb(6,31,85)
-
#072568
#072568
rgb(7,37,104)
-
#082c7a
#082c7a
rgb(8,44,122)
-
#0a338c
#0a338c
rgb(10,51,140)
-
#0b399f
#0b399f
rgb(11,57,159)
-
#0c40b1
#0c40b1
rgb(12,64,177)
-
#0d47c3
#0d47c3
rgb(13,71,195)
-
#0e4dd6
#0e4dd6
rgb(14,77,214)
-
#1054e8
#1054e8
rgb(16,84,232)
Shade Color Variation
-
#1c5ff0
#1c5ff0
rgb(28,95,240)
-
#2e6cf1
#2e6cf1
rgb(46,108,241)
-
#4179f2
#4179f2
rgb(65,121,242)
-
#5386f3
#5386f3
rgb(83,134,243)
-
#6592f5
#6592f5
rgb(101,146,245)
-
#789ff6
#789ff6
rgb(120,159,246)
-
#8aacf7
#8aacf7
rgb(138,172,247)
-
#9cb9f8
#9cb9f8
rgb(156,185,248)
-
#afc6fa
#afc6fa
rgb(175,198,250)
-
#c1d3fb
#c1d3fb
rgb(193,211,251)
-
#d4e0fc
#d4e0fc
rgb(212,224,252)
-
#e6edfd
#e6edfd
rgb(230,237,253)
-
#f8faff
#f8faff
rgb(248,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5e61 is the less saturated color, while #053db8 is the most saturated one.
-
#5c5e61
#5c5e61
rgb(92,94,97)
-
#555b68
#555b68
rgb(85,91,104)
-
#4d5870
#4d5870
rgb(77,88,112)
-
#465577
#465577
rgb(70,85,119)
-
#3f537e
#3f537e
rgb(63,83,126)
-
#385085
#385085
rgb(56,80,133)
-
#304d8d
#304d8d
rgb(48,77,141)
-
#294b94
#294b94
rgb(41,75,148)
-
#22489b
#22489b
rgb(34,72,155)
-
#1b45a2
#1b45a2
rgb(27,69,162)
-
#1343aa
#1343aa
rgb(19,67,170)
-
#0c40b1
#0c40b1
rgb(12,64,177)
-
#053db8
#053db8
rgb(5,61,184)
Tone Color Variation
Below, you can see how #0c40b1 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