#0c1c8c hex color
In a RGB color space, hex #0c1c8c is composed of 4.7% red, 11% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 80% magenta, 0% yellow and 45.1% black. It has a hue angle of 232.5 degrees, a saturation of 84.2% and a lightness of 29.8%. #0c1c8c color hex could be obtained by blending #1838ff with #000019. Closest websafe color is: #003399.
-
- R 5
- G 11
- B 55
RGB color chart
-
- C 91
- M 80
- Y 0
- K 45
CMYK color chart
● #0c1c8c color description : Dark blue.
The hexadecimal color #0c1c8c has RGB values of R:12, G:28, B:140 and CMYK values of C:0.91, M:0.8, Y:0, K:0.45. Its decimal value is 793740.
Hex triplet | 0c1c8c | #0c1c8c |
---|---|---|
RGB Decimal | 12, 28, 140 | rgb(12,28,140) |
RGB Percent | 4.7, 11, 54.9 | rgb(4.7%,11%,54.9%) |
CMYK | 91, 80, 0, 45 | |
HSL | 232.5°, 84.2, 29.8 | hsl(232.5,84.2%,29.8%) |
HSV (or HSB) | 232.5°, 91.4, 54.9 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 19.232, 39.156, -61.84 |
---|---|
XYZ | 5.3, 2.802, 25.071 |
xyY | 0.16, 0.084, 2.802 |
CIE-LCH | 19.232, 73.194, 302.341 |
CIE-LUV | 19.232, -6.212, -65.643 |
Hunter-Lab | 16.738, 27.223, -77.089 |
Binary | 00001100, 00011100, 10001100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c1c8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c1c8c
This text has a font color of #0c1c8c.
<span style="color:#0c1c8c;">Text here</span>
#0c1c8c background color
This paragraph has a background color of #0c1c8c.
<p style="background-color:#0c1c8c;">Content here</p>
#0c1c8c border color
This element has a border color of #0c1c8c.
<div style="border:1px solid #0c1c8c;">Content here</div>
CSS codes
.text {color:#0c1c8c;}
.background {background-color:#0c1c8c;}
.border {border:1px solid #0c1c8c;}
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, #01030e is the darkest color, while #fafbff is the lightest one.
-
#01030e
#01030e
rgb(1,3,14)
-
#030620
#030620
rgb(3,6,32)
-
#040a32
#040a32
rgb(4,10,50)
-
#060e44
#060e44
rgb(6,14,68)
-
#071156
#071156
rgb(7,17,86)
-
#091568
#091568
rgb(9,21,104)
-
#0a187a
#0a187a
rgb(10,24,122)
-
#0c1c8c
#0c1c8c
rgb(12,28,140)
-
#0e209e
#0e209e
rgb(14,32,158)
-
#0f23b0
#0f23b0
rgb(15,35,176)
-
#1127c2
#1127c2
rgb(17,39,194)
-
#122ad4
#122ad4
rgb(18,42,212)
-
#142ee6
#142ee6
rgb(20,46,230)
Shade Color Variation
-
#223bec
#223bec
rgb(34,59,236)
-
#344bee
#344bee
rgb(52,75,238)
-
#465bef
#465bef
rgb(70,91,239)
-
#586bf1
#586bf1
rgb(88,107,241)
-
#6a7bf2
#6a7bf2
rgb(106,123,242)
-
#7c8bf4
#7c8bf4
rgb(124,139,244)
-
#8e9bf5
#8e9bf5
rgb(142,155,245)
-
#a0abf7
#a0abf7
rgb(160,171,247)
-
#b2bbf8
#b2bbf8
rgb(178,187,248)
-
#c4cbfa
#c4cbfa
rgb(196,203,250)
-
#d6dbfc
#d6dbfc
rgb(214,219,252)
-
#e8ebfd
#e8ebfd
rgb(232,235,253)
-
#fafbff
#fafbff
rgb(250,251,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #464852 is the less saturated color, while #001398 is the most saturated one.
-
#464852
#464852
rgb(70,72,82)
-
#414357
#414357
rgb(65,67,87)
-
#3b3f5d
#3b3f5d
rgb(59,63,93)
-
#353b63
#353b63
rgb(53,59,99)
-
#2f3669
#2f3669
rgb(47,54,105)
-
#29326f
#29326f
rgb(41,50,111)
-
#232e75
#232e75
rgb(35,46,117)
-
#1e297a
#1e297a
rgb(30,41,122)
-
#182580
#182580
rgb(24,37,128)
-
#122086
#122086
rgb(18,32,134)
-
#0c1c8c
#0c1c8c
rgb(12,28,140)
-
#061892
#061892
rgb(6,24,146)
-
#001398
#001398
rgb(0,19,152)
Tone Color Variation
Below, you can see how #0c1c8c 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