#0c157b hex color
In a RGB color space, hex #0c157b is composed of 4.7% red, 8.2% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 90.2% cyan, 82.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 235.1 degrees, a saturation of 82.2% and a lightness of 26.5%. #0c157b color hex could be obtained by blending #182af6 with #000000. Closest websafe color is: #000066.
-
- R 5
- G 8
- B 48
RGB color chart
-
- C 90
- M 83
- Y 0
- K 52
CMYK color chart
● #0c157b color description : Dark blue.
The hexadecimal color #0c157b has RGB values of R:12, G:21, B:123 and CMYK values of C:0.9, M:0.83, Y:0, K:0.52. Its decimal value is 791931.
Hex triplet | 0c157b | #0c157b |
---|---|---|
RGB Decimal | 12, 21, 123 | rgb(12,21,123) |
RGB Percent | 4.7, 8.2, 48.2 | rgb(4.7%,8.2%,48.2%) |
CMYK | 90, 83, 0, 52 | |
HSL | 235.1°, 82.2, 26.5 | hsl(235.1,82.2%,26.5%) |
HSV (or HSB) | 235.1°, 90.2, 48.2 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 15.718, 37.119, -56.923 |
---|---|
XYZ | 3.994, 2.044, 18.922 |
xyY | 0.16, 0.082, 2.044 |
CIE-LCH | 15.718, 67.956, 303.108 |
CIE-LUV | 15.718, -4.717, -54.576 |
Hunter-Lab | 14.298, 24.845, -68.457 |
Binary | 00001100, 00010101, 01111011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c157b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c157b
This text has a font color of #0c157b.
<span style="color:#0c157b;">Text here</span>
#0c157b background color
This paragraph has a background color of #0c157b.
<p style="background-color:#0c157b;">Content here</p>
#0c157b border color
This element has a border color of #0c157b.
<div style="border:1px solid #0c157b;">Content here</div>
CSS codes
.text {color:#0c157b;}
.background {background-color:#0c157b;}
.border {border:1px solid #0c157b;}
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, #020310 is the darkest color, while #fdfdff is the lightest one.
-
#020310
#020310
rgb(2,3,16)
-
#030622
#030622
rgb(3,6,34)
-
#050934
#050934
rgb(5,9,52)
-
#070c45
#070c45
rgb(7,12,69)
-
#090f57
#090f57
rgb(9,15,87)
-
#0a1269
#0a1269
rgb(10,18,105)
-
#0c157b
#0c157b
rgb(12,21,123)
-
#0e188d
#0e188d
rgb(14,24,141)
-
#0f1b9f
#0f1b9f
rgb(15,27,159)
-
#111eb1
#111eb1
rgb(17,30,177)
-
#1321c2
#1321c2
rgb(19,33,194)
-
#1524d4
#1524d4
rgb(21,36,212)
-
#1627e6
#1627e6
rgb(22,39,230)
Shade Color Variation
-
#2636ea
#2636ea
rgb(38,54,234)
-
#3847ec
#3847ec
rgb(56,71,236)
-
#4a57ed
#4a57ed
rgb(74,87,237)
-
#5c68ef
#5c68ef
rgb(92,104,239)
-
#6e79f1
#6e79f1
rgb(110,121,241)
-
#8089f3
#8089f3
rgb(128,137,243)
-
#929af4
#929af4
rgb(146,154,244)
-
#a4aaf6
#a4aaf6
rgb(164,170,246)
-
#b5bbf8
#b5bbf8
rgb(181,187,248)
-
#c7cbfa
#c7cbfa
rgb(199,203,250)
-
#d9dcfb
#d9dcfb
rgb(217,220,251)
-
#ebecfd
#ebecfd
rgb(235,236,253)
-
#fdfdff
#fdfdff
rgb(253,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #404147 is the less saturated color, while #020c85 is the most saturated one.
-
#404147
#404147
rgb(64,65,71)
-
#3b3c4c
#3b3c4c
rgb(59,60,76)
-
#363851
#363851
rgb(54,56,81)
-
#303357
#303357
rgb(48,51,87)
-
#2b2f5c
#2b2f5c
rgb(43,47,92)
-
#262b61
#262b61
rgb(38,43,97)
-
#212666
#212666
rgb(33,38,102)
-
#1c226b
#1c226b
rgb(28,34,107)
-
#161e71
#161e71
rgb(22,30,113)
-
#111976
#111976
rgb(17,25,118)
-
#0c157b
#0c157b
rgb(12,21,123)
-
#071180
#071180
rgb(7,17,128)
-
#020c85
#020c85
rgb(2,12,133)
Tone Color Variation
Below, you can see how #0c157b 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