#0c2a8a hex color
In a RGB color space, hex #0c2a8a is composed of 4.7% red, 16.5% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 91.3% cyan, 69.6% magenta, 0% yellow and 45.9% black. It has a hue angle of 225.7 degrees, a saturation of 84% and a lightness of 29.4%. #0c2a8a color hex could be obtained by blending #1854ff with #000015. Closest websafe color is: #003399.
-
- R 5
- G 16
- B 54
RGB color chart
-
- C 91
- M 70
- Y 0
- K 46
CMYK color chart
● #0c2a8a color description : Dark blue.
The hexadecimal color #0c2a8a has RGB values of R:12, G:42, B:138 and CMYK values of C:0.91, M:0.7, Y:0, K:0.46. Its decimal value is 797322.
Hex triplet | 0c2a8a | #0c2a8a |
---|---|---|
RGB Decimal | 12, 42, 138 | rgb(12,42,138) |
RGB Percent | 4.7, 16.5, 54.1 | rgb(4.7%,16.5%,54.1%) |
CMYK | 91, 70, 0, 46 | |
HSL | 225.7°, 84, 29.4 | hsl(225.7,84%,29.4%) |
HSV (or HSB) | 225.7°, 91.3, 54.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 22.191, 29.551, -55.699 |
---|---|
XYZ | 5.566, 3.569, 24.439 |
xyY | 0.166, 0.106, 3.569 |
CIE-LCH | 22.191, 63.052, 297.948 |
CIE-LUV | 22.191, -8.567, -65.132 |
Hunter-Lab | 18.891, 19.535, -63.479 |
Binary | 00001100, 00101010, 10001010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c2a8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c2a8a
This text has a font color of #0c2a8a.
<span style="color:#0c2a8a;">Text here</span>
#0c2a8a background color
This paragraph has a background color of #0c2a8a.
<p style="background-color:#0c2a8a;">Content here</p>
#0c2a8a border color
This element has a border color of #0c2a8a.
<div style="border:1px solid #0c2a8a;">Content here</div>
CSS codes
.text {color:#0c2a8a;}
.background {background-color:#0c2a8a;}
.border {border:1px solid #0c2a8a;}
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, #01040c is the darkest color, while #f9fafe is the lightest one.
-
#01040c
#01040c
rgb(1,4,12)
-
#03091e
#03091e
rgb(3,9,30)
-
#040f30
#040f30
rgb(4,15,48)
-
#061442
#061442
rgb(6,20,66)
-
#071a54
#071a54
rgb(7,26,84)
-
#091f66
#091f66
rgb(9,31,102)
-
#0a2578
#0a2578
rgb(10,37,120)
-
#0c2a8a
#0c2a8a
rgb(12,42,138)
-
#0e2f9c
#0e2f9c
rgb(14,47,156)
-
#0f35ae
#0f35ae
rgb(15,53,174)
-
#113ac0
#113ac0
rgb(17,58,192)
-
#1240d2
#1240d2
rgb(18,64,210)
-
#1445e4
#1445e4
rgb(20,69,228)
Shade Color Variation
-
#2051ec
#2051ec
rgb(32,81,236)
-
#325fed
#325fed
rgb(50,95,237)
-
#446def
#446def
rgb(68,109,239)
-
#567bf0
#567bf0
rgb(86,123,240)
-
#6889f2
#6889f2
rgb(104,137,242)
-
#7a97f3
#7a97f3
rgb(122,151,243)
-
#8ca5f5
#8ca5f5
rgb(140,165,245)
-
#9eb3f7
#9eb3f7
rgb(158,179,247)
-
#b0c2f8
#b0c2f8
rgb(176,194,248)
-
#c2d0fa
#c2d0fa
rgb(194,208,250)
-
#d5defb
#d5defb
rgb(213,222,251)
-
#e7ecfd
#e7ecfd
rgb(231,236,253)
-
#f9fafe
#f9fafe
rgb(249,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #464850 is the less saturated color, while #002496 is the most saturated one.
-
#464850
#464850
rgb(70,72,80)
-
#404556
#404556
rgb(64,69,86)
-
#3a425c
#3a425c
rgb(58,66,92)
-
#343f62
#343f62
rgb(52,63,98)
-
#2f3c67
#2f3c67
rgb(47,60,103)
-
#29396d
#29396d
rgb(41,57,109)
-
#233673
#233673
rgb(35,54,115)
-
#1d3379
#1d3379
rgb(29,51,121)
-
#18307e
#18307e
rgb(24,48,126)
-
#122d84
#122d84
rgb(18,45,132)
-
#0c2a8a
#0c2a8a
rgb(12,42,138)
-
#062790
#062790
rgb(6,39,144)
-
#002496
#002496
rgb(0,36,150)
Tone Color Variation
Below, you can see how #0c2a8a 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