#0c1fa5 hex color
In a RGB color space, hex #0c1fa5 is composed of 4.7% red, 12.2% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 92.7% cyan, 81.2% magenta, 0% yellow and 35.3% black. It has a hue angle of 232.5 degrees, a saturation of 86.4% and a lightness of 34.7%. #0c1fa5 color hex could be obtained by blending #183eff with #00004b. Closest websafe color is: #003399.
-
- R 5
- G 12
- B 65
RGB color chart
-
- C 93
- M 81
- Y 0
- K 35
CMYK color chart
● #0c1fa5 color description : Dark blue.
The hexadecimal color #0c1fa5 has RGB values of R:12, G:31, B:165 and CMYK values of C:0.93, M:0.81, Y:0, K:0.35. Its decimal value is 794533.
Hex triplet | 0c1fa5 | #0c1fa5 |
---|---|---|
RGB Decimal | 12, 31, 165 | rgb(12,31,165) |
RGB Percent | 4.7, 12.2, 64.7 | rgb(4.7%,12.2%,64.7%) |
CMYK | 93, 81, 0, 35 | |
HSL | 232.5°, 86.4, 34.7 | hsl(232.5,86.4%,34.7%) |
HSV (or HSB) | 232.5°, 92.7, 64.7 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 22.91, 46.09, -71.122 |
---|---|
XYZ | 7.432, 3.774, 35.932 |
xyY | 0.158, 0.08, 3.774 |
CIE-LCH | 22.91, 84.751, 302.945 |
CIE-LUV | 22.91, -7.4, -80.614 |
Hunter-Lab | 19.427, 34.286, -96.062 |
Binary | 00001100, 00011111, 10100101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c1fa5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c1fa5
This text has a font color of #0c1fa5.
<span style="color:#0c1fa5;">Text here</span>
#0c1fa5 background color
This paragraph has a background color of #0c1fa5.
<p style="background-color:#0c1fa5;">Content here</p>
#0c1fa5 border color
This element has a border color of #0c1fa5.
<div style="border:1px solid #0c1fa5;">Content here</div>
CSS codes
.text {color:#0c1fa5;}
.background {background-color:#0c1fa5;}
.border {border:1px solid #0c1fa5;}
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, #000000 is the darkest color, while #edeffe is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#010413
#010413
rgb(1,4,19)
-
#030725
#030725
rgb(3,7,37)
-
#040a37
#040a37
rgb(4,10,55)
-
#050e4a
#050e4a
rgb(5,14,74)
-
#07115c
#07115c
rgb(7,17,92)
-
#08156e
#08156e
rgb(8,21,110)
-
#091880
#091880
rgb(9,24,128)
-
#0b1c93
#0b1c93
rgb(11,28,147)
-
#0c1fa5
#0c1fa5
rgb(12,31,165)
-
#0d22b7
#0d22b7
rgb(13,34,183)
-
#0f26ca
#0f26ca
rgb(15,38,202)
-
#1029dc
#1029dc
rgb(16,41,220)
Shade Color Variation
-
#122dee
#122dee
rgb(18,45,238)
-
#243def
#243def
rgb(36,61,239)
-
#364df0
#364df0
rgb(54,77,240)
-
#495ef2
#495ef2
rgb(73,94,242)
-
#5b6ef3
#5b6ef3
rgb(91,110,243)
-
#6d7ef4
#6d7ef4
rgb(109,126,244)
-
#7f8ef6
#7f8ef6
rgb(127,142,246)
-
#929ef7
#929ef7
rgb(146,158,247)
-
#a4aef8
#a4aef8
rgb(164,174,248)
-
#b6bffa
#b6bffa
rgb(182,191,250)
-
#c9cffb
#c9cffb
rgb(201,207,251)
-
#dbdffc
#dbdffc
rgb(219,223,252)
-
#edeffe
#edeffe
rgb(237,239,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #57575a is the less saturated color, while #051aac is the most saturated one.
-
#57575a
#57575a
rgb(87,87,90)
-
#505261
#505261
rgb(80,82,97)
-
#494d68
#494d68
rgb(73,77,104)
-
#42486f
#42486f
rgb(66,72,111)
-
#3c4375
#3c4375
rgb(60,67,117)
-
#353e7c
#353e7c
rgb(53,62,124)
-
#2e3983
#2e3983
rgb(46,57,131)
-
#27338a
#27338a
rgb(39,51,138)
-
#202e91
#202e91
rgb(32,46,145)
-
#1a2997
#1a2997
rgb(26,41,151)
-
#13249e
#13249e
rgb(19,36,158)
-
#0c1fa5
#0c1fa5
rgb(12,31,165)
-
#051aac
#051aac
rgb(5,26,172)
Tone Color Variation
Below, you can see how #0c1fa5 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