#040fa4 hex color
In a RGB color space, hex #040fa4 is composed of 1.6% red, 5.9% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 90.9% magenta, 0% yellow and 35.7% black. It has a hue angle of 235.9 degrees, a saturation of 95.2% and a lightness of 32.9%. #040fa4 color hex could be obtained by blending #081eff with #000049. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 64
RGB color chart
-
- C 98
- M 91
- Y 0
- K 36
CMYK color chart
● #040fa4 color description : Dark blue.
The hexadecimal color #040fa4 has RGB values of R:4, G:15, B:164 and CMYK values of C:0.98, M:0.91, Y:0, K:0.36. Its decimal value is 266148.
Hex triplet | 040fa4 | #040fa4 |
---|---|---|
RGB Decimal | 4, 15, 164 | rgb(4,15,164) |
RGB Percent | 1.6, 5.9, 64.3 | rgb(1.6%,5.9%,64.3%) |
CMYK | 98, 91, 0, 36 | |
HSL | 235.9°, 95.2, 32.9 | hsl(235.9,95.2%,32.9%) |
HSV (or HSB) | 235.9°, 97.6, 64.3 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 20.232, 52.613, -74.981 |
---|---|
XYZ | 6.92, 3.047, 35.343 |
xyY | 0.153, 0.067, 3.047 |
CIE-LCH | 20.232, 91.598, 305.057 |
CIE-LUV | 20.232, -6.146, -77.716 |
Hunter-Lab | 17.456, 40.216, -107.823 |
Binary | 00000100, 00001111, 10100100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040fa4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040fa4
This text has a font color of #040fa4.
<span style="color:#040fa4;">Text here</span>
#040fa4 background color
This paragraph has a background color of #040fa4.
<p style="background-color:#040fa4;">Content here</p>
#040fa4 border color
This element has a border color of #040fa4.
<div style="border:1px solid #040fa4;">Content here</div>
CSS codes
.text {color:#040fa4;}
.background {background-color:#040fa4;}
.border {border:1px solid #040fa4;}
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, #00010b is the darkest color, while #f7f7ff is the lightest one.
-
#00010b
#00010b
rgb(0,1,11)
-
#01031e
#01031e
rgb(1,3,30)
-
#010431
#010431
rgb(1,4,49)
-
#020644
#020644
rgb(2,6,68)
-
#020857
#020857
rgb(2,8,87)
-
#030a6b
#030a6b
rgb(3,10,107)
-
#030b7e
#030b7e
rgb(3,11,126)
-
#040d91
#040d91
rgb(4,13,145)
-
#040fa4
#040fa4
rgb(4,15,164)
-
#0411b7
#0411b7
rgb(4,17,183)
-
#0513ca
#0513ca
rgb(5,19,202)
-
#0514dd
#0514dd
rgb(5,20,221)
-
#0616f1
#0616f1
rgb(6,22,241)
Shade Color Variation
-
#1121f9
#1121f9
rgb(17,33,249)
-
#2433fa
#2433fa
rgb(36,51,250)
-
#3745fa
#3745fa
rgb(55,69,250)
-
#4a56fb
#4a56fb
rgb(74,86,251)
-
#5d68fb
#5d68fb
rgb(93,104,251)
-
#717afc
#717afc
rgb(113,122,252)
-
#848cfc
#848cfc
rgb(132,140,252)
-
#979efc
#979efc
rgb(151,158,252)
-
#aab0fd
#aab0fd
rgb(170,176,253)
-
#bdc2fd
#bdc2fd
rgb(189,194,253)
-
#d0d3fe
#d0d3fe
rgb(208,211,254)
-
#e4e5fe
#e4e5fe
rgb(228,229,254)
-
#f7f7ff
#f7f7ff
rgb(247,247,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #525256 is the less saturated color, while #040fa4 is the most saturated one.
-
#525256
#525256
rgb(82,82,86)
-
#4b4c5d
#4b4c5d
rgb(75,76,93)
-
#454763
#454763
rgb(69,71,99)
-
#3e416a
#3e416a
rgb(62,65,106)
-
#383c70
#383c70
rgb(56,60,112)
-
#313677
#313677
rgb(49,54,119)
-
#2b307d
#2b307d
rgb(43,48,125)
-
#242b84
#242b84
rgb(36,43,132)
-
#1e258a
#1e258a
rgb(30,37,138)
-
#172091
#172091
rgb(23,32,145)
-
#111a97
#111a97
rgb(17,26,151)
-
#0a159e
#0a159e
rgb(10,21,158)
-
#040fa4
#040fa4
rgb(4,15,164)
Tone Color Variation
Below, you can see how #040fa4 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