#0c0540 hex color
In a RGB color space, hex #0c0540 is composed of 4.7% red, 2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 81.3% cyan, 92.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 247.1 degrees, a saturation of 85.5% and a lightness of 13.5%. #0c0540 color hex could be obtained by blending #180a80 with #000000. Closest websafe color is: #000033.
-
- R 5
- G 2
- B 25
RGB color chart
-
- C 81
- M 92
- Y 0
- K 75
CMYK color chart
● #0c0540 color description : Very dark blue.
The hexadecimal color #0c0540 has RGB values of R:12, G:5, B:64 and CMYK values of C:0.81, M:0.92, Y:0, K:0.75. Its decimal value is 787776.
Hex triplet | 0c0540 | #0c0540 |
---|---|---|
RGB Decimal | 12, 5, 64 | rgb(12,5,64) |
RGB Percent | 4.7, 2, 25.1 | rgb(4.7%,2%,25.1%) |
CMYK | 81, 92, 0, 75 | |
HSL | 247.1°, 85.5, 13.5 | hsl(247.1,85.5%,13.5%) |
HSV (or HSB) | 247.1°, 92.2, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 5.03, 23.51, -34.872 |
---|---|
XYZ | 1.131, 0.557, 4.898 |
xyY | 0.172, 0.085, 0.557 |
CIE-LCH | 5.03, 42.057, 303.987 |
CIE-LUV | 5.03, -0.7, -17.07 |
Hunter-Lab | 7.462, 14, -33.695 |
Binary | 00001100, 00000101, 01000000 |
Split Complementary Color
Below, you can see some colors close to #0c0540. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c0540
This text has a font color of #0c0540.
<span style="color:#0c0540;">Text here</span>
#0c0540 background color
This paragraph has a background color of #0c0540.
<p style="background-color:#0c0540;">Content here</p>
#0c0540 border color
This element has a border color of #0c0540.
<div style="border:1px solid #0c0540;">Content here</div>
CSS codes
.text {color:#0c0540;}
.background {background-color:#0c0540;}
.border {border:1px solid #0c0540;}
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, #020109 is the darkest color, while #f7f6fe is the lightest one.
-
#020109
#020109
rgb(2,1,9)
-
#05021c
#05021c
rgb(5,2,28)
-
#09042e
#09042e
rgb(9,4,46)
-
#0c0540
#0c0540
rgb(12,5,64)
-
#0f0652
#0f0652
rgb(15,6,82)
-
#130864
#130864
rgb(19,8,100)
-
#160977
#160977
rgb(22,9,119)
-
#1a0b89
#1a0b89
rgb(26,11,137)
-
#1d0c9b
#1d0c9b
rgb(29,12,155)
-
#200ead
#200ead
rgb(32,14,173)
-
#240fbf
#240fbf
rgb(36,15,191)
-
#2710d2
#2710d2
rgb(39,16,210)
-
#2b12e4
#2b12e4
rgb(43,18,228)
Shade Color Variation
-
#351ced
#351ced
rgb(53,28,237)
-
#452eef
#452eef
rgb(69,46,239)
-
#5540f0
#5540f0
rgb(85,64,240)
-
#6552f2
#6552f2
rgb(101,82,242)
-
#7665f3
#7665f3
rgb(118,101,243)
-
#8677f4
#8677f4
rgb(134,119,244)
-
#9689f6
#9689f6
rgb(150,137,246)
-
#a69bf7
#a69bf7
rgb(166,155,247)
-
#b6adf9
#b6adf9
rgb(182,173,249)
-
#c7c0fa
#c7c0fa
rgb(199,192,250)
-
#d7d2fb
#d7d2fb
rgb(215,210,251)
-
#e7e4fd
#e7e4fd
rgb(231,228,253)
-
#f7f6fe
#f7f6fe
rgb(247,246,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #222223 is the less saturated color, while #0a0243 is the most saturated one.
-
#222223
#222223
rgb(34,34,35)
-
#202025
#202025
rgb(32,32,37)
-
#1e1d28
#1e1d28
rgb(30,29,40)
-
#1c1a2b
#1c1a2b
rgb(28,26,43)
-
#1a182d
#1a182d
rgb(26,24,45)
-
#181530
#181530
rgb(24,21,48)
-
#161233
#161233
rgb(22,18,51)
-
#141035
#141035
rgb(20,16,53)
-
#120d38
#120d38
rgb(18,13,56)
-
#100a3b
#100a3b
rgb(16,10,59)
-
#0e083d
#0e083d
rgb(14,8,61)
-
#0c0540
#0c0540
rgb(12,5,64)
-
#0a0243
#0a0243
rgb(10,2,67)
Tone Color Variation
Below, you can see how #0c0540 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