#0c1f42 hex color
In a RGB color space, hex #0c1f42 is composed of 4.7% red, 12.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 81.8% cyan, 53% magenta, 0% yellow and 74.1% black. It has a hue angle of 218.9 degrees, a saturation of 69.2% and a lightness of 15.3%. #0c1f42 color hex could be obtained by blending #183e84 with #000000. Closest websafe color is: #003333.
-
- R 5
- G 12
- B 26
RGB color chart
-
- C 82
- M 53
- Y 0
- K 74
CMYK color chart
● #0c1f42 color description : Very dark blue.
The hexadecimal color #0c1f42 has RGB values of R:12, G:31, B:66 and CMYK values of C:0.82, M:0.53, Y:0, K:0.74. Its decimal value is 794434.
Hex triplet | 0c1f42 | #0c1f42 |
---|---|---|
RGB Decimal | 12, 31, 66 | rgb(12,31,66) |
RGB Percent | 4.7, 12.2, 25.9 | rgb(4.7%,12.2%,25.9%) |
CMYK | 82, 53, 0, 74 | |
HSL | 218.9°, 69.2, 15.3 | hsl(218.9,69.2%,15.3%) |
HSV (or HSB) | 218.9°, 81.8, 25.9 | |
Web Safe | 003333 | #003333 |
CIE-LAB | 12.295, 6.838, -24.461 |
---|---|
XYZ | 1.625, 1.451, 5.348 |
xyY | 0.193, 0.172, 1.451 |
CIE-LCH | 12.295, 25.399, 285.618 |
CIE-LUV | 12.295, -5.284, -21.922 |
Hunter-Lab | 12.047, 2.991, -17.889 |
Binary | 00001100, 00011111, 01000010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0c1f42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c1f42
This text has a font color of #0c1f42.
<span style="color:#0c1f42;">Text here</span>
#0c1f42 background color
This paragraph has a background color of #0c1f42.
<p style="background-color:#0c1f42;">Content here</p>
#0c1f42 border color
This element has a border color of #0c1f42.
<div style="border:1px solid #0c1f42;">Content here</div>
CSS codes
.text {color:#0c1f42;}
.background {background-color:#0c1f42;}
.border {border:1px solid #0c1f42;}
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, #030810 is the darkest color, while #ffffff is the lightest one.
-
#030810
#030810
rgb(3,8,16)
-
#060f21
#060f21
rgb(6,15,33)
-
#091731
#091731
rgb(9,23,49)
-
#0c1f42
#0c1f42
rgb(12,31,66)
-
#0f2753
#0f2753
rgb(15,39,83)
-
#122f63
#122f63
rgb(18,47,99)
-
#153674
#153674
rgb(21,54,116)
-
#183e84
#183e84
rgb(24,62,132)
-
#1b4695
#1b4695
rgb(27,70,149)
-
#1e4ea6
#1e4ea6
rgb(30,78,166)
-
#2156b6
#2156b6
rgb(33,86,182)
-
#245dc7
#245dc7
rgb(36,93,199)
-
#2765d7
#2765d7
rgb(39,101,215)
Shade Color Variation
-
#3771db
#3771db
rgb(55,113,219)
-
#487dde
#487dde
rgb(72,125,222)
-
#5989e1
#5989e1
rgb(89,137,225)
-
#6994e4
#6994e4
rgb(105,148,228)
-
#7aa0e7
#7aa0e7
rgb(122,160,231)
-
#8aacea
#8aacea
rgb(138,172,234)
-
#9bb8ed
#9bb8ed
rgb(155,184,237)
-
#acc4f0
#acc4f0
rgb(172,196,240)
-
#bccff3
#bccff3
rgb(188,207,243)
-
#cddbf6
#cddbf6
rgb(205,219,246)
-
#dde7f9
#dde7f9
rgb(221,231,249)
-
#eef3fc
#eef3fc
rgb(238,243,252)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #24262a is the less saturated color, while #001b4e is the most saturated one.
-
#24262a
#24262a
rgb(36,38,42)
-
#21252d
#21252d
rgb(33,37,45)
-
#1e2430
#1e2430
rgb(30,36,48)
-
#1b2333
#1b2333
rgb(27,35,51)
-
#182336
#182336
rgb(24,35,54)
-
#152239
#152239
rgb(21,34,57)
-
#12213c
#12213c
rgb(18,33,60)
-
#0f203f
#0f203f
rgb(15,32,63)
-
#0c1f42
#0c1f42
rgb(12,31,66)
-
#091e45
#091e45
rgb(9,30,69)
-
#061d48
#061d48
rgb(6,29,72)
-
#031c4b
#031c4b
rgb(3,28,75)
-
#001b4e
#001b4e
rgb(0,27,78)
Tone Color Variation
Below, you can see how #0c1f42 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