#0512a5 hex color
In a RGB color space, hex #0512a5 is composed of 2% red, 7.1% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 89.1% magenta, 0% yellow and 35.3% black. It has a hue angle of 235.1 degrees, a saturation of 94.1% and a lightness of 33.3%. #0512a5 color hex could be obtained by blending #0a24ff with #00004b. Closest websafe color is: #000099.
-
- R 2
- G 7
- B 65
RGB color chart
-
- C 97
- M 89
- Y 0
- K 35
CMYK color chart
● #0512a5 color description : Dark blue.
The hexadecimal color #0512a5 has RGB values of R:5, G:18, B:165 and CMYK values of C:0.97, M:0.89, Y:0, K:0.35. Its decimal value is 332453.
Hex triplet | 0512a5 | #0512a5 |
---|---|---|
RGB Decimal | 5, 18, 165 | rgb(5,18,165) |
RGB Percent | 2, 7.1, 64.7 | rgb(2%,7.1%,64.7%) |
CMYK | 97, 89, 0, 35 | |
HSL | 235.1°, 94.1, 33.3 | hsl(235.1,94.1%,33.3%) |
HSV (or HSB) | 235.1°, 97, 64.7 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 20.754, 51.846, -74.717 |
---|---|
XYZ | 7.069, 3.181, 35.837 |
xyY | 0.153, 0.069, 3.181 |
CIE-LCH | 20.754, 90.943, 304.757 |
CIE-LUV | 20.754, -6.37, -78.767 |
Hunter-Lab | 17.835, 39.538, -106.648 |
Binary | 00000101, 00010010, 10100101 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0512a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0512a5
This text has a font color of #0512a5.
<span style="color:#0512a5;">Text here</span>
#0512a5 background color
This paragraph has a background color of #0512a5.
<p style="background-color:#0512a5;">Content here</p>
#0512a5 border color
This element has a border color of #0512a5.
<div style="border:1px solid #0512a5;">Content here</div>
CSS codes
.text {color:#0512a5;}
.background {background-color:#0512a5;}
.border {border:1px solid #0512a5;}
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, #00010d is the darkest color, while #f9f9ff is the lightest one.
-
#00010d
#00010d
rgb(0,1,13)
-
#010320
#010320
rgb(1,3,32)
-
#020633
#020633
rgb(2,6,51)
-
#020846
#020846
rgb(2,8,70)
-
#030a59
#030a59
rgb(3,10,89)
-
#030c6c
#030c6c
rgb(3,12,108)
-
#040e7f
#040e7f
rgb(4,14,127)
-
#041092
#041092
rgb(4,16,146)
-
#0512a5
#0512a5
rgb(5,18,165)
-
#0614b8
#0614b8
rgb(6,20,184)
-
#0616cb
#0616cb
rgb(6,22,203)
-
#0718de
#0718de
rgb(7,24,222)
-
#071af1
#071af1
rgb(7,26,241)
Shade Color Variation
-
#1427f8
#1427f8
rgb(20,39,248)
-
#2738f8
#2738f8
rgb(39,56,248)
-
#3a4af9
#3a4af9
rgb(58,74,249)
-
#4d5bfa
#4d5bfa
rgb(77,91,250)
-
#606dfa
#606dfa
rgb(96,109,250)
-
#737efb
#737efb
rgb(115,126,251)
-
#8690fb
#8690fb
rgb(134,144,251)
-
#99a1fc
#99a1fc
rgb(153,161,252)
-
#adb3fd
#adb3fd
rgb(173,179,253)
-
#c0c5fd
#c0c5fd
rgb(192,197,253)
-
#d3d6fe
#d3d6fe
rgb(211,214,254)
-
#e6e8fe
#e6e8fe
rgb(230,232,254)
-
#f9f9ff
#f9f9ff
rgb(249,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #535457 is the less saturated color, while #0512a5 is the most saturated one.
-
#535457
#535457
rgb(83,84,87)
-
#4d4e5d
#4d4e5d
rgb(77,78,93)
-
#464964
#464964
rgb(70,73,100)
-
#40436a
#40436a
rgb(64,67,106)
-
#393e71
#393e71
rgb(57,62,113)
-
#333877
#333877
rgb(51,56,119)
-
#2c337e
#2c337e
rgb(44,51,126)
-
#262d84
#262d84
rgb(38,45,132)
-
#1f288b
#1f288b
rgb(31,40,139)
-
#192291
#192291
rgb(25,34,145)
-
#121d98
#121d98
rgb(18,29,152)
-
#0c179e
#0c179e
rgb(12,23,158)
-
#0512a5
#0512a5
rgb(5,18,165)
Tone Color Variation
Below, you can see how #0512a5 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