#0040a7 hex color
In a RGB color space, hex #0040a7 is composed of 0% red, 25.1% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 61.7% magenta, 0% yellow and 34.5% black. It has a hue angle of 217 degrees, a saturation of 100% and a lightness of 32.7%. #0040a7 color hex could be obtained by blending #0080ff with #00004f. Closest websafe color is: #003399.
-
- R 0
- G 25
- B 65
RGB color chart
-
- C 100
- M 62
- Y 0
- K 35
CMYK color chart
● #0040a7 color description : Dark blue.
The hexadecimal color #0040a7 has RGB values of R:0, G:64, B:167 and CMYK values of C:1, M:0.62, Y:0, K:0.35. Its decimal value is 16551.
Hex triplet | 0040a7 | #0040a7 |
---|---|---|
RGB Decimal | 0, 64, 167 | rgb(0,64,167) |
RGB Percent | 0, 25.1, 65.5 | rgb(0%,25.1%,65.5%) |
CMYK | 100, 62, 0, 35 | |
HSL | 217°, 100, 32.7 | hsl(217,100%,32.7%) |
HSV (or HSB) | 217°, 100, 65.5 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.535, 25.673, -59.757 |
---|---|
XYZ | 8.807, 6.456, 37.339 |
xyY | 0.167, 0.123, 6.456 |
CIE-LCH | 30.535, 65.039, 293.25 |
CIE-LUV | 30.535, -14.289, -79.944 |
Hunter-Lab | 25.409, 17.405, -69.343 |
Binary | 00000000, 01000000, 10100111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0040a7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0040a7
This text has a font color of #0040a7.
<span style="color:#0040a7;">Text here</span>
#0040a7 background color
This paragraph has a background color of #0040a7.
<p style="background-color:#0040a7;">Content here</p>
#0040a7 border color
This element has a border color of #0040a7.
<div style="border:1px solid #0040a7;">Content here</div>
CSS codes
.text {color:#0040a7;}
.background {background-color:#0040a7;}
.border {border:1px solid #0040a7;}
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, #00040a is the darkest color, while #f5f9ff is the lightest one.
-
#00040a
#00040a
rgb(0,4,10)
-
#000b1e
#000b1e
rgb(0,11,30)
-
#001331
#001331
rgb(0,19,49)
-
#001a45
#001a45
rgb(0,26,69)
-
#002259
#002259
rgb(0,34,89)
-
#00296c
#00296c
rgb(0,41,108)
-
#003180
#003180
rgb(0,49,128)
-
#003893
#003893
rgb(0,56,147)
-
#0040a7
#0040a7
rgb(0,64,167)
-
#0048bb
#0048bb
rgb(0,72,187)
-
#004fce
#004fce
rgb(0,79,206)
-
#0057e2
#0057e2
rgb(0,87,226)
-
#005ef5
#005ef5
rgb(0,94,245)
Shade Color Variation
-
#0a68ff
#0a68ff
rgb(10,104,255)
-
#1e74ff
#1e74ff
rgb(30,116,255)
-
#3180ff
#3180ff
rgb(49,128,255)
-
#458cff
#458cff
rgb(69,140,255)
-
#5998ff
#5998ff
rgb(89,152,255)
-
#6ca4ff
#6ca4ff
rgb(108,164,255)
-
#80b1ff
#80b1ff
rgb(128,177,255)
-
#93bdff
#93bdff
rgb(147,189,255)
-
#a7c9ff
#a7c9ff
rgb(167,201,255)
-
#bbd5ff
#bbd5ff
rgb(187,213,255)
-
#cee1ff
#cee1ff
rgb(206,225,255)
-
#e2edff
#e2edff
rgb(226,237,255)
-
#f5f9ff
#f5f9ff
rgb(245,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d525a is the less saturated color, while #0040a7 is the most saturated one.
-
#4d525a
#4d525a
rgb(77,82,90)
-
#475160
#475160
rgb(71,81,96)
-
#404f67
#404f67
rgb(64,79,103)
-
#3a4e6d
#3a4e6d
rgb(58,78,109)
-
#334c74
#334c74
rgb(51,76,116)
-
#2d4b7a
#2d4b7a
rgb(45,75,122)
-
#274980
#274980
rgb(39,73,128)
-
#204887
#204887
rgb(32,72,135)
-
#1a468d
#1a468d
rgb(26,70,141)
-
#134594
#134594
rgb(19,69,148)
-
#0d439a
#0d439a
rgb(13,67,154)
-
#0642a1
#0642a1
rgb(6,66,161)
-
#0040a7
#0040a7
rgb(0,64,167)
Tone Color Variation
Below, you can see how #0040a7 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