#0c2d7f hex color
In a RGB color space, hex #0c2d7f is composed of 4.7% red, 17.6% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 90.6% cyan, 64.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 222.8 degrees, a saturation of 82.7% and a lightness of 27.3%. #0c2d7f color hex could be obtained by blending #185afe with #000000. Closest websafe color is: #003366.
-
- R 5
- G 18
- B 50
RGB color chart
-
- C 91
- M 65
- Y 0
- K 50
CMYK color chart
● #0c2d7f color description : Dark blue.
The hexadecimal color #0c2d7f has RGB values of R:12, G:45, B:127 and CMYK values of C:0.91, M:0.65, Y:0, K:0.5. Its decimal value is 798079.
Hex triplet | 0c2d7f | #0c2d7f |
---|---|---|
RGB Decimal | 12, 45, 127 | rgb(12,45,127) |
RGB Percent | 4.7, 17.6, 49.8 | rgb(4.7%,17.6%,49.8%) |
CMYK | 91, 65, 0, 50 | |
HSL | 222.8°, 82.7, 27.3 | hsl(222.8,82.7%,27.3%) |
HSV (or HSB) | 222.8°, 90.6, 49.8 | |
Web Safe | 003366 | #003366 |
CIE-LAB | 21.897, 22.994, -49.273 |
---|---|
XYZ | 4.92, 3.487, 20.491 |
xyY | 0.17, 0.121, 3.487 |
CIE-LCH | 21.897, 54.375, 295.017 |
CIE-LUV | 21.897, -9.12, -58.056 |
Hunter-Lab | 18.673, 14.353, -51.992 |
Binary | 00001100, 00101101, 01111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c2d7f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c2d7f
This text has a font color of #0c2d7f.
<span style="color:#0c2d7f;">Text here</span>
#0c2d7f background color
This paragraph has a background color of #0c2d7f.
<p style="background-color:#0c2d7f;">Content here</p>
#0c2d7f border color
This element has a border color of #0c2d7f.
<div style="border:1px solid #0c2d7f;">Content here</div>
CSS codes
.text {color:#0c2d7f;}
.background {background-color:#0c2d7f;}
.border {border:1px solid #0c2d7f;}
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, #000102 is the darkest color, while #eff3fd is the lightest one.
-
#000102
#000102
rgb(0,1,2)
-
#020713
#020713
rgb(2,7,19)
-
#040d25
#040d25
rgb(4,13,37)
-
#051437
#051437
rgb(5,20,55)
-
#071a49
#071a49
rgb(7,26,73)
-
#09205b
#09205b
rgb(9,32,91)
-
#0a276d
#0a276d
rgb(10,39,109)
-
#0c2d7f
#0c2d7f
rgb(12,45,127)
-
#0e3391
#0e3391
rgb(14,51,145)
-
#0f3aa3
#0f3aa3
rgb(15,58,163)
-
#1140b5
#1140b5
rgb(17,64,181)
-
#1346c7
#1346c7
rgb(19,70,199)
-
#144dd9
#144dd9
rgb(20,77,217)
Shade Color Variation
-
#1854e9
#1854e9
rgb(24,84,233)
-
#2961eb
#2961eb
rgb(41,97,235)
-
#3b6eed
#3b6eed
rgb(59,110,237)
-
#4d7bee
#4d7bee
rgb(77,123,238)
-
#5f89f0
#5f89f0
rgb(95,137,240)
-
#7196f2
#7196f2
rgb(113,150,242)
-
#83a3f3
#83a3f3
rgb(131,163,243)
-
#95b1f5
#95b1f5
rgb(149,177,245)
-
#a7bef7
#a7bef7
rgb(167,190,247)
-
#b9cbf8
#b9cbf8
rgb(185,203,248)
-
#cbd8fa
#cbd8fa
rgb(203,216,250)
-
#dde6fc
#dde6fc
rgb(221,230,252)
-
#eff3fd
#eff3fd
rgb(239,243,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #41444a is the less saturated color, while #01288a is the most saturated one.
-
#41444a
#41444a
rgb(65,68,74)
-
#3c424f
#3c424f
rgb(60,66,79)
-
#373f54
#373f54
rgb(55,63,84)
-
#313d5a
#313d5a
rgb(49,61,90)
-
#2c3b5f
#2c3b5f
rgb(44,59,95)
-
#273864
#273864
rgb(39,56,100)
-
#21366a
#21366a
rgb(33,54,106)
-
#1c346f
#1c346f
rgb(28,52,111)
-
#173274
#173274
rgb(23,50,116)
-
#112f7a
#112f7a
rgb(17,47,122)
-
#0c2d7f
#0c2d7f
rgb(12,45,127)
-
#072b84
#072b84
rgb(7,43,132)
-
#01288a
#01288a
rgb(1,40,138)
Tone Color Variation
Below, you can see how #0c2d7f 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