#040fd8 hex color
In a RGB color space, hex #040fd8 is composed of 1.6% red, 5.9% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 98.1% cyan, 93.1% magenta, 0% yellow and 15.3% black. It has a hue angle of 236.9 degrees, a saturation of 96.4% and a lightness of 43.1%. #040fd8 color hex could be obtained by blending #081eff with #0000b1. Closest websafe color is: #0000cc.
-
- R 2
- G 6
- B 85
RGB color chart
-
- C 98
- M 93
- Y 0
- K 15
CMYK color chart
● #040fd8 color description : Strong blue.
The hexadecimal color #040fd8 has RGB values of R:4, G:15, B:216 and CMYK values of C:0.98, M:0.93, Y:0, K:0.15. Its decimal value is 266200.
Hex triplet | 040fd8 | #040fd8 |
---|---|---|
RGB Decimal | 4, 15, 216 | rgb(4,15,216) |
RGB Percent | 1.6, 5.9, 84.7 | rgb(1.6%,5.9%,84.7%) |
CMYK | 98, 93, 0, 15 | |
HSL | 236.9°, 96.4, 43.1 | hsl(236.9,96.4%,43.1%) |
HSV (or HSB) | 236.9°, 98.1, 84.7 | |
Web Safe | 0000cc | #0000cc |
CIE-LAB | 27.639, 66.933, -93.442 |
---|---|
XYZ | 12.613, 5.324, 65.325 |
xyY | 0.151, 0.064, 5.324 |
CIE-LCH | 27.639, 114.941, 305.614 |
CIE-LUV | 27.639, -8.24, -108.589 |
Hunter-Lab | 23.075, 57.192, -151.7 |
Binary | 00000100, 00001111, 11011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040fd8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040fd8
This text has a font color of #040fd8.
<span style="color:#040fd8;">Text here</span>
#040fd8 background color
This paragraph has a background color of #040fd8.
<p style="background-color:#040fd8;">Content here</p>
#040fd8 border color
This element has a border color of #040fd8.
<div style="border:1px solid #040fd8;">Content here</div>
CSS codes
.text {color:#040fd8;}
.background {background-color:#040fd8;}
.border {border:1px solid #040fd8;}
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, #000004 is the darkest color, while #f0f1ff is the lightest one.
-
#000004
#000004
rgb(0,0,4)
-
#000217
#000217
rgb(0,2,23)
-
#01032b
#01032b
rgb(1,3,43)
-
#01043e
#01043e
rgb(1,4,62)
-
#020651
#020651
rgb(2,6,81)
-
#020764
#020764
rgb(2,7,100)
-
#020878
#020878
rgb(2,8,120)
-
#030a8b
#030a8b
rgb(3,10,139)
-
#030b9e
#030b9e
rgb(3,11,158)
-
#030cb1
#030cb1
rgb(3,12,177)
-
#040ec5
#040ec5
rgb(4,14,197)
-
#040fd8
#040fd8
rgb(4,15,216)
-
#0410eb
#0410eb
rgb(4,16,235)
Shade Color Variation
-
#0915fa
#0915fa
rgb(9,21,250)
-
#1c28fb
#1c28fb
rgb(28,40,251)
-
#2f3afb
#2f3afb
rgb(47,58,251)
-
#434cfc
#434cfc
rgb(67,76,252)
-
#565efc
#565efc
rgb(86,94,252)
-
#6971fc
#6971fc
rgb(105,113,252)
-
#7c83fd
#7c83fd
rgb(124,131,253)
-
#9095fd
#9095fd
rgb(144,149,253)
-
#a3a8fd
#a3a8fd
rgb(163,168,253)
-
#b6bafe
#b6bafe
rgb(182,186,254)
-
#c9ccfe
#c9ccfe
rgb(201,204,254)
-
#dddefe
#dddefe
rgb(221,222,254)
-
#f0f1ff
#f0f1ff
rgb(240,241,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6a6a72 is the less saturated color, while #040fd8 is the most saturated one.
-
#6a6a72
#6a6a72
rgb(106,106,114)
-
#61627b
#61627b
rgb(97,98,123)
-
#595b83
#595b83
rgb(89,91,131)
-
#50538c
#50538c
rgb(80,83,140)
-
#484c94
#484c94
rgb(72,76,148)
-
#3f449d
#3f449d
rgb(63,68,157)
-
#373da5
#373da5
rgb(55,61,165)
-
#2e35ae
#2e35ae
rgb(46,53,174)
-
#262db6
#262db6
rgb(38,45,182)
-
#1d26bf
#1d26bf
rgb(29,38,191)
-
#151ec7
#151ec7
rgb(21,30,199)
-
#0c17d0
#0c17d0
rgb(12,23,208)
-
#040fd8
#040fd8
rgb(4,15,216)
Tone Color Variation
Below, you can see how #040fd8 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