#5040c6 hex color
In a RGB color space, hex #5040c6 is composed of 31.4% red, 25.1% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 59.6% cyan, 67.7% magenta, 0% yellow and 22.4% black. It has a hue angle of 247.2 degrees, a saturation of 54% and a lightness of 51.4%. #5040c6 color hex could be obtained by blending #a080ff with #00008d. Closest websafe color is: #6633cc.
-
- R 31
- G 25
- B 78
RGB color chart
-
- C 60
- M 68
- Y 0
- K 22
CMYK color chart
● #5040c6 color description : Moderate blue.
The hexadecimal color #5040c6 has RGB values of R:80, G:64, B:198 and CMYK values of C:0.6, M:0.68, Y:0, K:0.22. Its decimal value is 5259462.
Hex triplet | 5040c6 | #5040c6 |
---|---|---|
RGB Decimal | 80, 64, 198 | rgb(80,64,198) |
RGB Percent | 31.4, 25.1, 77.6 | rgb(31.4%,25.1%,77.6%) |
CMYK | 60, 68, 0, 22 | |
HSL | 247.2°, 54, 51.4 | hsl(247.2,54%,51.4%) |
HSV (or HSB) | 247.2°, 67.7, 77.6 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 36.835, 44.449, -67.643 |
---|---|
XYZ | 15.333, 9.449, 54.439 |
xyY | 0.194, 0.119, 9.449 |
CIE-LCH | 36.835, 80.941, 303.31 |
CIE-LUV | 36.835, -3.069, -97.16 |
Hunter-Lab | 30.739, 35.243, -83.485 |
Binary | 01010000, 01000000, 11000110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5040c6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5040c6
This text has a font color of #5040c6.
<span style="color:#5040c6;">Text here</span>
#5040c6 background color
This paragraph has a background color of #5040c6.
<p style="background-color:#5040c6;">Content here</p>
#5040c6 border color
This element has a border color of #5040c6.
<div style="border:1px solid #5040c6;">Content here</div>
CSS codes
.text {color:#5040c6;}
.background {background-color:#5040c6;}
.border {border:1px solid #5040c6;}
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, #020205 is the darkest color, while #f6f5fc is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#080614
#080614
rgb(8,6,20)
-
#0e0b24
#0e0b24
rgb(14,11,36)
-
#130f33
#130f33
rgb(19,15,51)
-
#191442
#191442
rgb(25,20,66)
-
#1f1851
#1f1851
rgb(31,24,81)
-
#251d60
#251d60
rgb(37,29,96)
-
#2a216f
#2a216f
rgb(42,33,111)
-
#30267e
#30267e
rgb(48,38,126)
-
#362a8d
#362a8d
rgb(54,42,141)
-
#3c2f9c
#3c2f9c
rgb(60,47,156)
-
#4233ac
#4233ac
rgb(66,51,172)
-
#4738bb
#4738bb
rgb(71,56,187)
Shade Color Variation
-
#5040c6
#5040c6
rgb(80,64,198)
-
#5e4fcb
#5e4fcb
rgb(94,79,203)
-
#6c5ecf
#6c5ecf
rgb(108,94,207)
-
#7a6dd4
#7a6dd4
rgb(122,109,212)
-
#877cd8
#877cd8
rgb(135,124,216)
-
#958cdd
#958cdd
rgb(149,140,221)
-
#a39be1
#a39be1
rgb(163,155,225)
-
#b1aae6
#b1aae6
rgb(177,170,230)
-
#bfb9ea
#bfb9ea
rgb(191,185,234)
-
#cdc8ef
#cdc8ef
rgb(205,200,239)
-
#dad7f3
#dad7f3
rgb(218,215,243)
-
#e8e6f8
#e8e6f8
rgb(232,230,248)
-
#f6f5fc
#f6f5fc
rgb(246,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #838383 is the less saturated color, while #2c10f6 is the most saturated one.
-
#838383
#838383
rgb(131,131,131)
-
#7c798d
#7c798d
rgb(124,121,141)
-
#747096
#747096
rgb(116,112,150)
-
#6d66a0
#6d66a0
rgb(109,102,160)
-
#665da9
#665da9
rgb(102,93,169)
-
#5f53b3
#5f53b3
rgb(95,83,179)
-
#574abc
#574abc
rgb(87,74,188)
-
#5040c6
#5040c6
rgb(80,64,198)
-
#4936d0
#4936d0
rgb(73,54,208)
-
#412dd9
#412dd9
rgb(65,45,217)
-
#3a23e3
#3a23e3
rgb(58,35,227)
-
#331aec
#331aec
rgb(51,26,236)
-
#2c10f6
#2c10f6
rgb(44,16,246)
Tone Color Variation
Below, you can see how #5040c6 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