#0340a8 hex color
In a RGB color space, hex #0340a8 is composed of 1.2% red, 25.1% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 98.2% cyan, 61.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 217.8 degrees, a saturation of 96.5% and a lightness of 33.5%. #0340a8 color hex could be obtained by blending #0680ff with #000051. Closest websafe color is: #003399.
-
- R 1
- G 25
- B 66
RGB color chart
-
- C 98
- M 62
- Y 0
- K 34
CMYK color chart
● #0340a8 color description : Dark blue.
The hexadecimal color #0340a8 has RGB values of R:3, G:64, B:168 and CMYK values of C:0.98, M:0.62, Y:0, K:0.34. Its decimal value is 213160.
Hex triplet | 0340a8 | #0340a8 |
---|---|---|
RGB Decimal | 3, 64, 168 | rgb(3,64,168) |
RGB Percent | 1.2, 25.1, 65.9 | rgb(1.2%,25.1%,65.9%) |
CMYK | 98, 62, 0, 34 | |
HSL | 217.8°, 96.5, 33.5 | hsl(217.8,96.5%,33.5%) |
HSV (or HSB) | 217.8°, 98.2, 65.9 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.67, 26.201, -60.134 |
---|---|
XYZ | 8.937, 6.513, 37.83 |
xyY | 0.168, 0.122, 6.513 |
CIE-LCH | 30.67, 65.595, 293.543 |
CIE-LUV | 30.67, -14.125, -80.561 |
Hunter-Lab | 25.52, 17.854, -70.026 |
Binary | 00000011, 01000000, 10101000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0340a8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0340a8
This text has a font color of #0340a8.
<span style="color:#0340a8;">Text here</span>
#0340a8 background color
This paragraph has a background color of #0340a8.
<p style="background-color:#0340a8;">Content here</p>
#0340a8 border color
This element has a border color of #0340a8.
<div style="border:1px solid #0340a8;">Content here</div>
CSS codes
.text {color:#0340a8;}
.background {background-color:#0340a8;}
.border {border:1px solid #0340a8;}
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, #00050e is the darkest color, while #fafcff is the lightest one.
-
#00050e
#00050e
rgb(0,5,14)
-
#010d21
#010d21
rgb(1,13,33)
-
#011434
#011434
rgb(1,20,52)
-
#011b48
#011b48
rgb(1,27,72)
-
#02235b
#02235b
rgb(2,35,91)
-
#022a6e
#022a6e
rgb(2,42,110)
-
#023181
#023181
rgb(2,49,129)
-
#033995
#033995
rgb(3,57,149)
-
#0340a8
#0340a8
rgb(3,64,168)
-
#0347bb
#0347bb
rgb(3,71,187)
-
#044fcf
#044fcf
rgb(4,79,207)
-
#0456e2
#0456e2
rgb(4,86,226)
-
#045df5
#045df5
rgb(4,93,245)
Shade Color Variation
-
#1268fb
#1268fb
rgb(18,104,251)
-
#2675fb
#2675fb
rgb(38,117,251)
-
#3981fb
#3981fb
rgb(57,129,251)
-
#4c8dfc
#4c8dfc
rgb(76,141,252)
-
#5f99fc
#5f99fc
rgb(95,153,252)
-
#73a6fc
#73a6fc
rgb(115,166,252)
-
#86b2fd
#86b2fd
rgb(134,178,253)
-
#99befd
#99befd
rgb(153,190,253)
-
#accafe
#accafe
rgb(172,202,254)
-
#c0d7fe
#c0d7fe
rgb(192,215,254)
-
#d3e3fe
#d3e3fe
rgb(211,227,254)
-
#e6efff
#e6efff
rgb(230,239,255)
-
#fafcff
#fafcff
rgb(250,252,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #525559 is the less saturated color, while #0340a8 is the most saturated one.
-
#525559
#525559
rgb(82,85,89)
-
#4b5360
#4b5360
rgb(75,83,96)
-
#455166
#455166
rgb(69,81,102)
-
#3e4f6d
#3e4f6d
rgb(62,79,109)
-
#384e73
#384e73
rgb(56,78,115)
-
#314c7a
#314c7a
rgb(49,76,122)
-
#2a4a81
#2a4a81
rgb(42,74,129)
-
#244987
#244987
rgb(36,73,135)
-
#1d478e
#1d478e
rgb(29,71,142)
-
#174594
#174594
rgb(23,69,148)
-
#10439b
#10439b
rgb(16,67,155)
-
#0a42a1
#0a42a1
rgb(10,66,161)
-
#0340a8
#0340a8
rgb(3,64,168)
Tone Color Variation
Below, you can see how #0340a8 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