#0512a6 hex color
In a RGB color space, hex #0512a6 is composed of 2% red, 7.1% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 89.2% magenta, 0% yellow and 34.9% black. It has a hue angle of 235.2 degrees, a saturation of 94.2% and a lightness of 33.5%. #0512a6 color hex could be obtained by blending #0a24ff with #00004d. 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
● #0512a6 color description : Dark blue.
The hexadecimal color #0512a6 has RGB values of R:5, G:18, B:166 and CMYK values of C:0.97, M:0.89, Y:0, K:0.35. Its decimal value is 332454.
Hex triplet | 0512a6 | #0512a6 |
---|---|---|
RGB Decimal | 5, 18, 166 | rgb(5,18,166) |
RGB Percent | 2, 7.1, 65.1 | rgb(2%,7.1%,65.1%) |
CMYK | 97, 89, 0, 35 | |
HSL | 235.2°, 94.2, 33.5 | hsl(235.2,94.2%,33.5%) |
HSV (or HSB) | 235.2°, 97, 65.1 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 20.895, 52.144, -75.091 |
---|---|
XYZ | 7.16, 3.217, 36.318 |
xyY | 0.153, 0.069, 3.217 |
CIE-LCH | 20.895, 91.42, 304.776 |
CIE-LUV | 20.895, -6.409, -79.363 |
Hunter-Lab | 17.937, 39.865, -107.489 |
Binary | 00000101, 00010010, 10100110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0512a6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0512a6
This text has a font color of #0512a6.
<span style="color:#0512a6;">Text here</span>
#0512a6 background color
This paragraph has a background color of #0512a6.
<p style="background-color:#0512a6;">Content here</p>
#0512a6 border color
This element has a border color of #0512a6.
<div style="border:1px solid #0512a6;">Content here</div>
CSS codes
.text {color:#0512a6;}
.background {background-color:#0512a6;}
.border {border:1px solid #0512a6;}
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, #00010e is the darkest color, while #fafaff is the lightest one.
-
#00010e
#00010e
rgb(0,1,14)
-
#010421
#010421
rgb(1,4,33)
-
#020634
#020634
rgb(2,6,52)
-
#020847
#020847
rgb(2,8,71)
-
#030a5a
#030a5a
rgb(3,10,90)
-
#030c6d
#030c6d
rgb(3,12,109)
-
#040e80
#040e80
rgb(4,14,128)
-
#041093
#041093
rgb(4,16,147)
-
#0512a6
#0512a6
rgb(5,18,166)
-
#0614b9
#0614b9
rgb(6,20,185)
-
#0616cc
#0616cc
rgb(6,22,204)
-
#0718df
#0718df
rgb(7,24,223)
-
#071af2
#071af2
rgb(7,26,242)
Shade Color Variation
-
#1527f8
#1527f8
rgb(21,39,248)
-
#2839f9
#2839f9
rgb(40,57,249)
-
#3b4bf9
#3b4bf9
rgb(59,75,249)
-
#4e5cfa
#4e5cfa
rgb(78,92,250)
-
#616efa
#616efa
rgb(97,110,250)
-
#747ffb
#747ffb
rgb(116,127,251)
-
#8791fb
#8791fb
rgb(135,145,251)
-
#9aa2fc
#9aa2fc
rgb(154,162,252)
-
#adb4fd
#adb4fd
rgb(173,180,253)
-
#c0c5fd
#c0c5fd
rgb(192,197,253)
-
#d4d7fe
#d4d7fe
rgb(212,215,254)
-
#e7e8fe
#e7e8fe
rgb(231,232,254)
-
#fafaff
#fafaff
rgb(250,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #545457 is the less saturated color, while #0512a6 is the most saturated one.
-
#545457
#545457
rgb(84,84,87)
-
#4d4f5e
#4d4f5e
rgb(77,79,94)
-
#474964
#474964
rgb(71,73,100)
-
#40446b
#40446b
rgb(64,68,107)
-
#3a3e71
#3a3e71
rgb(58,62,113)
-
#333978
#333978
rgb(51,57,120)
-
#2c337f
#2c337f
rgb(44,51,127)
-
#262e85
#262e85
rgb(38,46,133)
-
#1f288c
#1f288c
rgb(31,40,140)
-
#192392
#192392
rgb(25,35,146)
-
#121d99
#121d99
rgb(18,29,153)
-
#0c189f
#0c189f
rgb(12,24,159)
-
#0512a6
#0512a6
rgb(5,18,166)
Tone Color Variation
Below, you can see how #0512a6 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