#0040a2 hex color
In a RGB color space, hex #0040a2 is composed of 0% red, 25.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 60.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 216.3 degrees, a saturation of 100% and a lightness of 31.8%. #0040a2 color hex could be obtained by blending #0080ff with #000045. Closest websafe color is: #003399.
-
- R 0
- G 25
- B 64
RGB color chart
-
- C 100
- M 60
- Y 0
- K 36
CMYK color chart
● #0040a2 color description : Dark blue.
The hexadecimal color #0040a2 has RGB values of R:0, G:64, B:162 and CMYK values of C:1, M:0.6, Y:0, K:0.36. Its decimal value is 16546.
Hex triplet | 0040a2 | #0040a2 |
---|---|---|
RGB Decimal | 0, 64, 162 | rgb(0,64,162) |
RGB Percent | 0, 25.1, 63.5 | rgb(0%,25.1%,63.5%) |
CMYK | 100, 60, 0, 36 | |
HSL | 216.3°, 100, 31.8 | hsl(216.3,100%,31.8%) |
HSV (or HSB) | 216.3°, 100, 63.5 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.095, 23.618, -57.466 |
---|---|
XYZ | 8.354, 6.275, 34.951 |
xyY | 0.168, 0.127, 6.275 |
CIE-LCH | 30.095, 62.13, 292.343 |
CIE-LUV | 30.095, -14.348, -76.665 |
Hunter-Lab | 25.049, 15.691, -65.193 |
Binary | 00000000, 01000000, 10100010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0040a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0040a2
This text has a font color of #0040a2.
<span style="color:#0040a2;">Text here</span>
#0040a2 background color
This paragraph has a background color of #0040a2.
<p style="background-color:#0040a2;">Content here</p>
#0040a2 border color
This element has a border color of #0040a2.
<div style="border:1px solid #0040a2;">Content here</div>
CSS codes
.text {color:#0040a2;}
.background {background-color:#0040a2;}
.border {border:1px solid #0040a2;}
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, #000205 is the darkest color, while #f0f6ff is the lightest one.
-
#000205
#000205
rgb(0,2,5)
-
#000a19
#000a19
rgb(0,10,25)
-
#00122c
#00122c
rgb(0,18,44)
-
#001940
#001940
rgb(0,25,64)
-
#002154
#002154
rgb(0,33,84)
-
#002967
#002967
rgb(0,41,103)
-
#00317b
#00317b
rgb(0,49,123)
-
#00388e
#00388e
rgb(0,56,142)
-
#0040a2
#0040a2
rgb(0,64,162)
-
#0048b6
#0048b6
rgb(0,72,182)
-
#004fc9
#004fc9
rgb(0,79,201)
-
#0057dd
#0057dd
rgb(0,87,221)
-
#005ff0
#005ff0
rgb(0,95,240)
Shade Color Variation
-
#0568ff
#0568ff
rgb(5,104,255)
-
#1974ff
#1974ff
rgb(25,116,255)
-
#2c80ff
#2c80ff
rgb(44,128,255)
-
#408bff
#408bff
rgb(64,139,255)
-
#5497ff
#5497ff
rgb(84,151,255)
-
#67a3ff
#67a3ff
rgb(103,163,255)
-
#7bafff
#7bafff
rgb(123,175,255)
-
#8ebbff
#8ebbff
rgb(142,187,255)
-
#a2c7ff
#a2c7ff
rgb(162,199,255)
-
#b6d3ff
#b6d3ff
rgb(182,211,255)
-
#c9deff
#c9deff
rgb(201,222,255)
-
#ddeaff
#ddeaff
rgb(221,234,255)
-
#f0f6ff
#f0f6ff
rgb(240,246,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b5057 is the less saturated color, while #0040a2 is the most saturated one.
-
#4b5057
#4b5057
rgb(75,80,87)
-
#454e5d
#454e5d
rgb(69,78,93)
-
#3e4d64
#3e4d64
rgb(62,77,100)
-
#384c6a
#384c6a
rgb(56,76,106)
-
#324a70
#324a70
rgb(50,74,112)
-
#2c4976
#2c4976
rgb(44,73,118)
-
#25487d
#25487d
rgb(37,72,125)
-
#1f4783
#1f4783
rgb(31,71,131)
-
#194589
#194589
rgb(25,69,137)
-
#13448f
#13448f
rgb(19,68,143)
-
#0c4396
#0c4396
rgb(12,67,150)
-
#06419c
#06419c
rgb(6,65,156)
-
#0040a2
#0040a2
rgb(0,64,162)
Tone Color Variation
Below, you can see how #0040a2 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