#5040f4 hex color
In a RGB color space, hex #5040f4 is composed of 31.4% red, 25.1% green and 95.7% blue. Whereas in a CMYK color space, it is composed of 67.2% cyan, 73.8% magenta, 0% yellow and 4.3% black. It has a hue angle of 245.3 degrees, a saturation of 89.1% and a lightness of 60.4%. #5040f4 color hex could be obtained by blending #a080ff with #0000e9. Closest websafe color is: #6633ff.
-
- R 31
- G 25
- B 96
RGB color chart
-
- C 67
- M 74
- Y 0
- K 4
CMYK color chart
● #5040f4 color description : Bright blue.
The hexadecimal color #5040f4 has RGB values of R:80, G:64, B:244 and CMYK values of C:0.67, M:0.74, Y:0, K:0.04. Its decimal value is 5259508.
Hex triplet | 5040f4 | #5040f4 |
---|---|---|
RGB Decimal | 80, 64, 244 | rgb(80,64,244) |
RGB Percent | 31.4, 25.1, 95.7 | rgb(31.4%,25.1%,95.7%) |
CMYK | 67, 74, 0, 4 | |
HSL | 245.3°, 89.1, 60.4 | hsl(245.3,89.1%,60.4%) |
HSV (or HSB) | 245.3°, 73.8, 95.7 | |
Web Safe | 6633ff | #6633ff |
CIE-LAB | 41.061, 58.545, -87.028 |
---|---|
XYZ | 21.468, 11.903, 86.749 |
xyY | 0.179, 0.099, 11.903 |
CIE-LCH | 41.061, 104.887, 303.929 |
CIE-LUV | 41.061, -6.016, -125.754 |
Hunter-Lab | 34.501, 50.694, -124.93 |
Binary | 01010000, 01000000, 11110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5040f4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5040f4
This text has a font color of #5040f4.
<span style="color:#5040f4;">Text here</span>
#5040f4 background color
This paragraph has a background color of #5040f4.
<p style="background-color:#5040f4;">Content here</p>
#5040f4 border color
This element has a border color of #5040f4.
<div style="border:1px solid #5040f4;">Content here</div>
CSS codes
.text {color:#5040f4;}
.background {background-color:#5040f4;}
.border {border:1px solid #5040f4;}
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, #02010d is the darkest color, while #faf9ff is the lightest one.
-
#02010d
#02010d
rgb(2,1,13)
-
#040220
#040220
rgb(4,2,32)
-
#070332
#070332
rgb(7,3,50)
-
#0a0445
#0a0445
rgb(10,4,69)
-
#0c0557
#0c0557
rgb(12,5,87)
-
#0f066a
#0f066a
rgb(15,6,106)
-
#12077c
#12077c
rgb(18,7,124)
-
#14088f
#14088f
rgb(20,8,143)
-
#1709a1
#1709a1
rgb(23,9,161)
-
#190ab4
#190ab4
rgb(25,10,180)
-
#1c0bc6
#1c0bc6
rgb(28,11,198)
-
#1f0cd9
#1f0cd9
rgb(31,12,217)
-
#210eec
#210eec
rgb(33,14,236)
Shade Color Variation
-
#2e1bf2
#2e1bf2
rgb(46,27,242)
-
#3f2df3
#3f2df3
rgb(63,45,243)
-
#5040f4
#5040f4
rgb(80,64,244)
-
#6153f5
#6153f5
rgb(97,83,245)
-
#7265f6
#7265f6
rgb(114,101,246)
-
#8378f7
#8378f7
rgb(131,120,247)
-
#948af8
#948af8
rgb(148,138,248)
-
#a59df9
#a59df9
rgb(165,157,249)
-
#b6affa
#b6affa
rgb(182,175,250)
-
#c7c2fb
#c7c2fb
rgb(199,194,251)
-
#d8d4fd
#d8d4fd
rgb(216,212,253)
-
#e9e7fe
#e9e7fe
rgb(233,231,254)
-
#faf9ff
#faf9ff
rgb(250,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #96959f is the less saturated color, while #4a38fc is the most saturated one.
-
#96959f
#96959f
rgb(150,149,159)
-
#908ea6
#908ea6
rgb(144,142,166)
-
#8986ae
#8986ae
rgb(137,134,174)
-
#837eb6
#837eb6
rgb(131,126,182)
-
#7d76be
#7d76be
rgb(125,118,190)
-
#766fc5
#766fc5
rgb(118,111,197)
-
#7067cd
#7067cd
rgb(112,103,205)
-
#6a5fd5
#6a5fd5
rgb(106,95,213)
-
#6357dd
#6357dd
rgb(99,87,221)
-
#5d50e4
#5d50e4
rgb(93,80,228)
-
#5648ec
#5648ec
rgb(86,72,236)
-
#5040f4
#5040f4
rgb(80,64,244)
-
#4a38fc
#4a38fc
rgb(74,56,252)
Tone Color Variation
Below, you can see how #5040f4 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