#40278b hex color
In a RGB color space, hex #40278b is composed of 25.1% red, 15.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 71.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 255 degrees, a saturation of 56.2% and a lightness of 34.9%. #40278b color hex could be obtained by blending #804eff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 15
- B 55
RGB color chart
-
- C 54
- M 72
- Y 0
- K 45
CMYK color chart
● #40278b color description : Dark blue.
The hexadecimal color #40278b has RGB values of R:64, G:39, B:139 and CMYK values of C:0.54, M:0.72, Y:0, K:0.45. Its decimal value is 4204427.
Hex triplet | 40278b | #40278b |
---|---|---|
RGB Decimal | 64, 39, 139 | rgb(64,39,139) |
RGB Percent | 25.1, 15.3, 54.5 | rgb(25.1%,15.3%,54.5%) |
CMYK | 54, 72, 0, 45 | |
HSL | 255°, 56.2, 34.9 | hsl(255,56.2%,34.9%) |
HSV (or HSB) | 255°, 71.9, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 24.967, 37.868, -51.638 |
---|---|
XYZ | 7.499, 4.405, 24.88 |
xyY | 0.204, 0.12, 4.405 |
CIE-LCH | 24.967, 64.035, 306.254 |
CIE-LUV | 24.967, 1.477, -65.192 |
Hunter-Lab | 20.988, 27.051, -55.593 |
Binary | 01000000, 00100111, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #40278b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40278b
This text has a font color of #40278b.
<span style="color:#40278b;">Text here</span>
#40278b background color
This paragraph has a background color of #40278b.
<p style="background-color:#40278b;">Content here</p>
#40278b border color
This element has a border color of #40278b.
<div style="border:1px solid #40278b;">Content here</div>
CSS codes
.text {color:#40278b;}
.background {background-color:#40278b;}
.border {border:1px solid #40278b;}
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, #010001 is the darkest color, while #f3f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#080510
#080510
rgb(8,5,16)
-
#0f0920
#0f0920
rgb(15,9,32)
-
#160d2f
#160d2f
rgb(22,13,47)
-
#1d123e
#1d123e
rgb(29,18,62)
-
#24164e
#24164e
rgb(36,22,78)
-
#2b1a5d
#2b1a5d
rgb(43,26,93)
-
#321e6c
#321e6c
rgb(50,30,108)
-
#39237c
#39237c
rgb(57,35,124)
-
#40278b
#40278b
rgb(64,39,139)
-
#472b9a
#472b9a
rgb(71,43,154)
-
#4e30aa
#4e30aa
rgb(78,48,170)
-
#5534b9
#5534b9
rgb(85,52,185)
Shade Color Variation
-
#5d39c7
#5d39c7
rgb(93,57,199)
-
#6948cc
#6948cc
rgb(105,72,204)
-
#7658d0
#7658d0
rgb(118,88,208)
-
#8267d4
#8267d4
rgb(130,103,212)
-
#8f76d9
#8f76d9
rgb(143,118,217)
-
#9b86dd
#9b86dd
rgb(155,134,221)
-
#a895e1
#a895e1
rgb(168,149,225)
-
#b5a4e6
#b5a4e6
rgb(181,164,230)
-
#c1b4ea
#c1b4ea
rgb(193,180,234)
-
#cec3ee
#cec3ee
rgb(206,195,238)
-
#dad2f2
#dad2f2
rgb(218,210,242)
-
#e7e2f7
#e7e2f7
rgb(231,226,247)
-
#f3f1fb
#f3f1fb
rgb(243,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #58575b is the less saturated color, while #2f05ad is the most saturated one.
-
#58575b
#58575b
rgb(88,87,91)
-
#555062
#555062
rgb(85,80,98)
-
#514969
#514969
rgb(81,73,105)
-
#4e4270
#4e4270
rgb(78,66,112)
-
#4a3c76
#4a3c76
rgb(74,60,118)
-
#47357d
#47357d
rgb(71,53,125)
-
#432e84
#432e84
rgb(67,46,132)
-
#40278b
#40278b
rgb(64,39,139)
-
#3d2092
#3d2092
rgb(61,32,146)
-
#391999
#391999
rgb(57,25,153)
-
#3612a0
#3612a0
rgb(54,18,160)
-
#320ca6
#320ca6
rgb(50,12,166)
-
#2f05ad
#2f05ad
rgb(47,5,173)
Tone Color Variation
Below, you can see how #40278b 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