#0c398b hex color
In a RGB color space, hex #0c398b is composed of 4.7% red, 22.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 59% magenta, 0% yellow and 45.5% black. It has a hue angle of 218.7 degrees, a saturation of 84.1% and a lightness of 29.6%. #0c398b color hex could be obtained by blending #1872ff with #000017. Closest websafe color is: #003399.
-
- R 5
- G 22
- B 55
RGB color chart
-
- C 91
- M 59
- Y 0
- K 45
CMYK color chart
● #0c398b color description : Dark blue.
The hexadecimal color #0c398b has RGB values of R:12, G:57, B:139 and CMYK values of C:0.91, M:0.59, Y:0, K:0.45. Its decimal value is 801163.
Hex triplet | 0c398b | #0c398b |
---|---|---|
RGB Decimal | 12, 57, 139 | rgb(12,57,139) |
RGB Percent | 4.7, 22.4, 54.5 | rgb(4.7%,22.4%,54.5%) |
CMYK | 91, 59, 0, 45 | |
HSL | 218.7°, 84.1, 29.6 | hsl(218.7,84.1%,29.6%) |
HSV (or HSB) | 218.7°, 91.4, 54.5 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 26.355, 19.505, -49.497 |
---|---|
XYZ | 6.274, 4.868, 25.034 |
xyY | 0.173, 0.135, 4.868 |
CIE-LCH | 26.355, 53.201, 291.508 |
CIE-LUV | 26.355, -12.093, -63.237 |
Hunter-Lab | 22.063, 12.147, -51.827 |
Binary | 00001100, 00111001, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c398b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c398b
This text has a font color of #0c398b.
<span style="color:#0c398b;">Text here</span>
#0c398b background color
This paragraph has a background color of #0c398b.
<p style="background-color:#0c398b;">Content here</p>
#0c398b border color
This element has a border color of #0c398b.
<div style="border:1px solid #0c398b;">Content here</div>
CSS codes
.text {color:#0c398b;}
.background {background-color:#0c398b;}
.border {border:1px solid #0c398b;}
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, #01050d is the darkest color, while #fafbff is the lightest one.
-
#01050d
#01050d
rgb(1,5,13)
-
#030d1f
#030d1f
rgb(3,13,31)
-
#041431
#041431
rgb(4,20,49)
-
#061b43
#061b43
rgb(6,27,67)
-
#072355
#072355
rgb(7,35,85)
-
#092a67
#092a67
rgb(9,42,103)
-
#0a3279
#0a3279
rgb(10,50,121)
-
#0c398b
#0c398b
rgb(12,57,139)
-
#0e409d
#0e409d
rgb(14,64,157)
-
#0f48af
#0f48af
rgb(15,72,175)
-
#114fc1
#114fc1
rgb(17,79,193)
-
#1257d3
#1257d3
rgb(18,87,211)
-
#145ee5
#145ee5
rgb(20,94,229)
Shade Color Variation
-
#2169ec
#2169ec
rgb(33,105,236)
-
#3375ed
#3375ed
rgb(51,117,237)
-
#4581ef
#4581ef
rgb(69,129,239)
-
#578df0
#578df0
rgb(87,141,240)
-
#699af2
#699af2
rgb(105,154,242)
-
#7ba6f4
#7ba6f4
rgb(123,166,244)
-
#8db2f5
#8db2f5
rgb(141,178,245)
-
#9fbef7
#9fbef7
rgb(159,190,247)
-
#b1caf8
#b1caf8
rgb(177,202,248)
-
#c3d7fa
#c3d7fa
rgb(195,215,250)
-
#d5e3fb
#d5e3fb
rgb(213,227,251)
-
#e7effd
#e7effd
rgb(231,239,253)
-
#fafbff
#fafbff
rgb(250,251,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #464a51 is the less saturated color, while #003697 is the most saturated one.
-
#464a51
#464a51
rgb(70,74,81)
-
#404857
#404857
rgb(64,72,87)
-
#3a475d
#3a475d
rgb(58,71,93)
-
#354562
#354562
rgb(53,69,98)
-
#2f4368
#2f4368
rgb(47,67,104)
-
#29416e
#29416e
rgb(41,65,110)
-
#234074
#234074
rgb(35,64,116)
-
#1d3e7a
#1d3e7a
rgb(29,62,122)
-
#183c7f
#183c7f
rgb(24,60,127)
-
#123b85
#123b85
rgb(18,59,133)
-
#0c398b
#0c398b
rgb(12,57,139)
-
#063791
#063791
rgb(6,55,145)
-
#003697
#003697
rgb(0,54,151)
Tone Color Variation
Below, you can see how #0c398b 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