#0c0138 hex color
In a RGB color space, hex #0c0138 is composed of 4.7% red, 0.4% green and 22% blue. Whereas in a CMYK color space, it is composed of 78.6% cyan, 98.2% magenta, 0% yellow and 78% black. It has a hue angle of 252 degrees, a saturation of 96.5% and a lightness of 11.2%. #0c0138 color hex could be obtained by blending #180270 with #000000. Closest websafe color is: #000033.
-
- R 5
- G 0
- B 22
RGB color chart
-
- C 79
- M 98
- Y 0
- K 78
CMYK color chart
● #0c0138 color description : Very dark blue.
The hexadecimal color #0c0138 has RGB values of R:12, G:1, B:56 and CMYK values of C:0.79, M:0.98, Y:0, K:0.78. Its decimal value is 786744.
Hex triplet | 0c0138 | #0c0138 |
---|---|---|
RGB Decimal | 12, 1, 56 | rgb(12,1,56) |
RGB Percent | 4.7, 0.4, 22 | rgb(4.7%,0.4%,22%) |
CMYK | 79, 98, 0, 78 | |
HSL | 252°, 96.5, 11.2 | hsl(252,96.5%,11.2%) |
HSV (or HSB) | 252°, 98.2, 22 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 3.481, 20.868, -31.595 |
---|---|
XYZ | 0.876, 0.385, 3.769 |
xyY | 0.174, 0.077, 0.385 |
CIE-LCH | 3.481, 37.865, 303.444 |
CIE-LUV | 3.481, -0.125, -12.457 |
Hunter-Lab | 6.208, 14.33, -31.656 |
Binary | 00001100, 00000001, 00111000 |
Split Complementary Color
Below, you can see some colors close to #0c0138. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0138
This text has a font color of #0c0138.
<span style="color:#0c0138;">Text here</span>
#0c0138 background color
This paragraph has a background color of #0c0138.
<p style="background-color:#0c0138;">Content here</p>
#0c0138 border color
This element has a border color of #0c0138.
<div style="border:1px solid #0c0138;">Content here</div>
CSS codes
.text {color:#0c0138;}
.background {background-color:#0c0138;}
.border {border:1px solid #0c0138;}
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, #040011 is the darkest color, while #fefdff is the lightest one.
-
#040011
#040011
rgb(4,0,17)
-
#080125
#080125
rgb(8,1,37)
-
#0c0138
#0c0138
rgb(12,1,56)
-
#10014b
#10014b
rgb(16,1,75)
-
#14025f
#14025f
rgb(20,2,95)
-
#180272
#180272
rgb(24,2,114)
-
#1d0285
#1d0285
rgb(29,2,133)
-
#210398
#210398
rgb(33,3,152)
-
#2503ac
#2503ac
rgb(37,3,172)
-
#2903bf
#2903bf
rgb(41,3,191)
-
#2d04d2
#2d04d2
rgb(45,4,210)
-
#3104e5
#3104e5
rgb(49,4,229)
-
#3504f9
#3504f9
rgb(53,4,249)
Shade Color Variation
-
#4416fb
#4416fb
rgb(68,22,251)
-
#5329fb
#5329fb
rgb(83,41,251)
-
#633cfc
#633cfc
rgb(99,60,252)
-
#7250fc
#7250fc
rgb(114,80,252)
-
#8263fc
#8263fc
rgb(130,99,252)
-
#9176fd
#9176fd
rgb(145,118,253)
-
#a18afd
#a18afd
rgb(161,138,253)
-
#b09dfd
#b09dfd
rgb(176,157,253)
-
#c0b0fe
#c0b0fe
rgb(192,176,254)
-
#cfc3fe
#cfc3fe
rgb(207,195,254)
-
#dfd7fe
#dfd7fe
rgb(223,215,254)
-
#eeeaff
#eeeaff
rgb(238,234,255)
-
#fefdff
#fefdff
rgb(254,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #1c1b1e is the less saturated color, while #0c0138 is the most saturated one.
-
#1c1b1e
#1c1b1e
rgb(28,27,30)
-
#1a1920
#1a1920
rgb(26,25,32)
-
#191722
#191722
rgb(25,23,34)
-
#181524
#181524
rgb(24,21,36)
-
#171326
#171326
rgb(23,19,38)
-
#151029
#151029
rgb(21,16,41)
-
#140e2b
#140e2b
rgb(20,14,43)
-
#130c2d
#130c2d
rgb(19,12,45)
-
#110a2f
#110a2f
rgb(17,10,47)
-
#100831
#100831
rgb(16,8,49)
-
#0f0534
#0f0534
rgb(15,5,52)
-
#0d0336
#0d0336
rgb(13,3,54)
-
#0c0138
#0c0138
rgb(12,1,56)
Tone Color Variation
Below, you can see how #0c0138 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