#0340a1 hex color
In a RGB color space, hex #0340a1 is composed of 1.2% red, 25.1% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 98.1% cyan, 60.2% magenta, 0% yellow and 36.9% black. It has a hue angle of 216.8 degrees, a saturation of 96.3% and a lightness of 32.2%. #0340a1 color hex could be obtained by blending #0680ff with #000043. Closest websafe color is: #003399.
-
- R 1
- G 25
- B 63
RGB color chart
-
- C 98
- M 60
- Y 0
- K 37
CMYK color chart
● #0340a1 color description : Dark blue.
The hexadecimal color #0340a1 has RGB values of R:3, G:64, B:161 and CMYK values of C:0.98, M:0.6, Y:0, K:0.37. Its decimal value is 213153.
Hex triplet | 0340a1 | #0340a1 |
---|---|---|
RGB Decimal | 3, 64, 161 | rgb(3,64,161) |
RGB Percent | 1.2, 25.1, 63.1 | rgb(1.2%,25.1%,63.1%) |
CMYK | 98, 60, 0, 37 | |
HSL | 216.8°, 96.3, 32.2 | hsl(216.8,96.3%,32.2%) |
HSV (or HSB) | 216.8°, 98.1, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.056, 23.335, -56.924 |
---|---|
XYZ | 8.303, 6.259, 34.487 |
xyY | 0.169, 0.128, 6.259 |
CIE-LCH | 30.056, 61.521, 292.29 |
CIE-LUV | 30.056, -14.201, -75.967 |
Hunter-Lab | 25.017, 15.459, -64.22 |
Binary | 00000011, 01000000, 10100001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0340a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0340a1
This text has a font color of #0340a1.
<span style="color:#0340a1;">Text here</span>
#0340a1 background color
This paragraph has a background color of #0340a1.
<p style="background-color:#0340a1;">Content here</p>
#0340a1 border color
This element has a border color of #0340a1.
<div style="border:1px solid #0340a1;">Content here</div>
CSS codes
.text {color:#0340a1;}
.background {background-color:#0340a1;}
.border {border:1px solid #0340a1;}
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, #000307 is the darkest color, while #f3f7ff is the lightest one.
-
#000307
#000307
rgb(0,3,7)
-
#000a1a
#000a1a
rgb(0,10,26)
-
#01122d
#01122d
rgb(1,18,45)
-
#011a41
#011a41
rgb(1,26,65)
-
#022154
#022154
rgb(2,33,84)
-
#022967
#022967
rgb(2,41,103)
-
#02317a
#02317a
rgb(2,49,122)
-
#03388e
#03388e
rgb(3,56,142)
-
#0340a1
#0340a1
rgb(3,64,161)
-
#0348b4
#0348b4
rgb(3,72,180)
-
#044fc8
#044fc8
rgb(4,79,200)
-
#0457db
#0457db
rgb(4,87,219)
-
#045fee
#045fee
rgb(4,95,238)
Shade Color Variation
-
#0c68fa
#0c68fa
rgb(12,104,250)
-
#1f74fb
#1f74fb
rgb(31,116,251)
-
#3280fb
#3280fb
rgb(50,128,251)
-
#458cfc
#458cfc
rgb(69,140,252)
-
#5998fc
#5998fc
rgb(89,152,252)
-
#6ca4fc
#6ca4fc
rgb(108,164,252)
-
#7fb0fd
#7fb0fd
rgb(127,176,253)
-
#92bcfd
#92bcfd
rgb(146,188,253)
-
#a6c8fd
#a6c8fd
rgb(166,200,253)
-
#b9d3fe
#b9d3fe
rgb(185,211,254)
-
#ccdffe
#ccdffe
rgb(204,223,254)
-
#dfebfe
#dfebfe
rgb(223,235,254)
-
#f3f7ff
#f3f7ff
rgb(243,247,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4f5155 is the less saturated color, while #0340a1 is the most saturated one.
-
#4f5155
#4f5155
rgb(79,81,85)
-
#48505c
#48505c
rgb(72,80,92)
-
#424e62
#424e62
rgb(66,78,98)
-
#3c4d68
#3c4d68
rgb(60,77,104)
-
#354b6f
#354b6f
rgb(53,75,111)
-
#2f4a75
#2f4a75
rgb(47,74,117)
-
#29497b
#29497b
rgb(41,73,123)
-
#234781
#234781
rgb(35,71,129)
-
#1c4688
#1c4688
rgb(28,70,136)
-
#16448e
#16448e
rgb(22,68,142)
-
#104394
#104394
rgb(16,67,148)
-
#09419b
#09419b
rgb(9,65,155)
-
#0340a1
#0340a1
rgb(3,64,161)
Tone Color Variation
Below, you can see how #0340a1 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