#402b84 hex color
In a RGB color space, hex #402b84 is composed of 25.1% red, 16.9% green and 51.8% blue. Whereas in a CMYK color space, it is composed of 51.5% cyan, 67.4% magenta, 0% yellow and 48.2% black. It has a hue angle of 254.2 degrees, a saturation of 50.9% and a lightness of 34.3%. #402b84 color hex could be obtained by blending #8056ff with #000009. Closest websafe color is: #333399.
-
- R 25
- G 17
- B 52
RGB color chart
-
- C 52
- M 67
- Y 0
- K 48
CMYK color chart
● #402b84 color description : Dark moderate blue.
The hexadecimal color #402b84 has RGB values of R:64, G:43, B:132 and CMYK values of C:0.52, M:0.67, Y:0, K:0.48. Its decimal value is 4205444.
Hex triplet | 402b84 | #402b84 |
---|---|---|
RGB Decimal | 64, 43, 132 | rgb(64,43,132) |
RGB Percent | 25.1, 16.9, 51.8 | rgb(25.1%,16.9%,51.8%) |
CMYK | 52, 67, 0, 48 | |
HSL | 254.2°, 50.9, 34.3 | hsl(254.2,50.9%,34.3%) |
HSV (or HSB) | 254.2°, 67.4, 51.8 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.21, 33.367, -46.87 |
---|---|
XYZ | 7.142, 4.484, 22.318 |
xyY | 0.21, 0.132, 4.484 |
CIE-LCH | 25.21, 57.534, 305.447 |
CIE-LUV | 25.21, 1.403, -59.927 |
Hunter-Lab | 21.174, 23.155, -47.669 |
Binary | 01000000, 00101011, 10000100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402b84. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402b84
This text has a font color of #402b84.
<span style="color:#402b84;">Text here</span>
#402b84 background color
This paragraph has a background color of #402b84.
<p style="background-color:#402b84;">Content here</p>
#402b84 border color
This element has a border color of #402b84.
<div style="border:1px solid #402b84;">Content here</div>
CSS codes
.text {color:#402b84;}
.background {background-color:#402b84;}
.border {border:1px solid #402b84;}
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, #07040e is the darkest color, while #fefeff is the lightest one.
-
#07040e
#07040e
rgb(7,4,14)
-
#0e091c
#0e091c
rgb(14,9,28)
-
#150e2b
#150e2b
rgb(21,14,43)
-
#1c133a
#1c133a
rgb(28,19,58)
-
#231849
#231849
rgb(35,24,73)
-
#2a1d58
#2a1d58
rgb(42,29,88)
-
#322166
#322166
rgb(50,33,102)
-
#392675
#392675
rgb(57,38,117)
-
#402b84
#402b84
rgb(64,43,132)
-
#473093
#473093
rgb(71,48,147)
-
#4e35a2
#4e35a2
rgb(78,53,162)
-
#5639b0
#5639b0
rgb(86,57,176)
-
#5d3ebf
#5d3ebf
rgb(93,62,191)
Shade Color Variation
-
#694cc5
#694cc5
rgb(105,76,197)
-
#755bca
#755bca
rgb(117,91,202)
-
#826ace
#826ace
rgb(130,106,206)
-
#8e79d3
#8e79d3
rgb(142,121,211)
-
#9a87d8
#9a87d8
rgb(154,135,216)
-
#a796dd
#a796dd
rgb(167,150,221)
-
#b3a5e2
#b3a5e2
rgb(179,165,226)
-
#c0b4e7
#c0b4e7
rgb(192,180,231)
-
#ccc3eb
#ccc3eb
rgb(204,195,235)
-
#d9d1f0
#d9d1f0
rgb(217,209,240)
-
#e5e0f5
#e5e0f5
rgb(229,224,245)
-
#f2effa
#f2effa
rgb(242,239,250)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #55535c is the less saturated color, while #2b03ac is the most saturated one.
-
#55535c
#55535c
rgb(85,83,92)
-
#524d62
#524d62
rgb(82,77,98)
-
#4e4669
#4e4669
rgb(78,70,105)
-
#4b3f70
#4b3f70
rgb(75,63,112)
-
#473877
#473877
rgb(71,56,119)
-
#44327d
#44327d
rgb(68,50,125)
-
#402b84
#402b84
rgb(64,43,132)
-
#3c248b
#3c248b
rgb(60,36,139)
-
#391e91
#391e91
rgb(57,30,145)
-
#351798
#351798
rgb(53,23,152)
-
#32109f
#32109f
rgb(50,16,159)
-
#2e09a6
#2e09a6
rgb(46,9,166)
-
#2b03ac
#2b03ac
rgb(43,3,172)
Tone Color Variation
Below, you can see how #402b84 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