#0c2a4f hex color
In a RGB color space, hex #0c2a4f is composed of 4.7% red, 16.5% green and 31% blue. Whereas in a CMYK color space, it is composed of 84.8% cyan, 46.8% magenta, 0% yellow and 69% black. It has a hue angle of 213.1 degrees, a saturation of 73.6% and a lightness of 17.8%. #0c2a4f color hex could be obtained by blending #18549e with #000000. Closest websafe color is: #003366.
-
- R 5
- G 16
- B 31
RGB color chart
-
- C 85
- M 47
- Y 0
- K 69
CMYK color chart
● #0c2a4f color description : Very dark blue.
The hexadecimal color #0c2a4f has RGB values of R:12, G:42, B:79 and CMYK values of C:0.85, M:0.47, Y:0, K:0.69. Its decimal value is 797263.
Hex triplet | 0c2a4f | #0c2a4f |
---|---|---|
RGB Decimal | 12, 42, 79 | rgb(12,42,79) |
RGB Percent | 4.7, 16.5, 31 | rgb(4.7%,16.5%,31%) |
CMYK | 85, 47, 0, 69 | |
HSL | 213.1°, 73.6, 17.8 | hsl(213.1,73.6%,17.8%) |
HSV (or HSB) | 213.1°, 84.8, 31 | |
Web Safe | 003366 | #003366 |
CIE-LAB | 16.981, 4.334, -25.894 |
---|---|
XYZ | 2.391, 2.298, 7.714 |
xyY | 0.193, 0.185, 2.298 |
CIE-LCH | 16.981, 26.254, 279.503 |
CIE-LUV | 16.981, -8.498, -27.292 |
Hunter-Lab | 15.161, 1.615, -19.557 |
Binary | 00001100, 00101010, 01001111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0c2a4f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c2a4f
This text has a font color of #0c2a4f.
<span style="color:#0c2a4f;">Text here</span>
#0c2a4f background color
This paragraph has a background color of #0c2a4f.
<p style="background-color:#0c2a4f;">Content here</p>
#0c2a4f border color
This element has a border color of #0c2a4f.
<div style="border:1px solid #0c2a4f;">Content here</div>
CSS codes
.text {color:#0c2a4f;}
.background {background-color:#0c2a4f;}
.border {border:1px solid #0c2a4f;}
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, #02060b is the darkest color, while #f9fbfe is the lightest one.
-
#02060b
#02060b
rgb(2,6,11)
-
#040f1c
#040f1c
rgb(4,15,28)
-
#07182d
#07182d
rgb(7,24,45)
-
#09213e
#09213e
rgb(9,33,62)
-
#0c2a4f
#0c2a4f
rgb(12,42,79)
-
#0f3360
#0f3360
rgb(15,51,96)
-
#113c71
#113c71
rgb(17,60,113)
-
#144582
#144582
rgb(20,69,130)
-
#164e93
#164e93
rgb(22,78,147)
-
#1957a4
#1957a4
rgb(25,87,164)
-
#1c60b5
#1c60b5
rgb(28,96,181)
-
#1e69c6
#1e69c6
rgb(30,105,198)
-
#2172d7
#2172d7
rgb(33,114,215)
Shade Color Variation
-
#2d7cdf
#2d7cdf
rgb(45,124,223)
-
#3e87e2
#3e87e2
rgb(62,135,226)
-
#4f92e4
#4f92e4
rgb(79,146,228)
-
#609ce7
#609ce7
rgb(96,156,231)
-
#71a7e9
#71a7e9
rgb(113,167,233)
-
#82b1ec
#82b1ec
rgb(130,177,236)
-
#93bcef
#93bcef
rgb(147,188,239)
-
#a4c6f1
#a4c6f1
rgb(164,198,241)
-
#b5d1f4
#b5d1f4
rgb(181,209,244)
-
#c6dcf6
#c6dcf6
rgb(198,220,246)
-
#d7e6f9
#d7e6f9
rgb(215,230,249)
-
#e8f1fb
#e8f1fb
rgb(232,241,251)
-
#f9fbfe
#f9fbfe
rgb(249,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2c2d30 is the less saturated color, while #01295a is the most saturated one.
-
#2c2d30
#2c2d30
rgb(44,45,48)
-
#282d33
#282d33
rgb(40,45,51)
-
#252d37
#252d37
rgb(37,45,55)
-
#212c3a
#212c3a
rgb(33,44,58)
-
#1e2c3e
#1e2c3e
rgb(30,44,62)
-
#1a2b41
#1a2b41
rgb(26,43,65)
-
#172b45
#172b45
rgb(23,43,69)
-
#132b48
#132b48
rgb(19,43,72)
-
#102a4c
#102a4c
rgb(16,42,76)
-
#0c2a4f
#0c2a4f
rgb(12,42,79)
-
#082a53
#082a53
rgb(8,42,83)
-
#052956
#052956
rgb(5,41,86)
-
#01295a
#01295a
rgb(1,41,90)
Tone Color Variation
Below, you can see how #0c2a4f 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