#402d88 hex color
In a RGB color space, hex #402d88 is composed of 25.1% red, 17.6% green and 53.3% blue. Whereas in a CMYK color space, it is composed of 52.9% cyan, 66.9% magenta, 0% yellow and 46.7% black. It has a hue angle of 252.5 degrees, a saturation of 50.3% and a lightness of 35.5%. #402d88 color hex could be obtained by blending #805aff with #000011. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 53
RGB color chart
-
- C 53
- M 67
- Y 0
- K 47
CMYK color chart
● #402d88 color description : Dark moderate blue.
The hexadecimal color #402d88 has RGB values of R:64, G:45, B:136 and CMYK values of C:0.53, M:0.67, Y:0, K:0.47. Its decimal value is 4205960.
Hex triplet | 402d88 | #402d88 |
---|---|---|
RGB Decimal | 64, 45, 136 | rgb(64,45,136) |
RGB Percent | 25.1, 17.6, 53.3 | rgb(25.1%,17.6%,53.3%) |
CMYK | 53, 67, 0, 47 | |
HSL | 252.5°, 50.3, 35.5 | hsl(252.5,50.3%,35.5%) |
HSV (or HSB) | 252.5°, 66.9, 53.3 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.993, 33.415, -48.095 |
---|---|
XYZ | 7.496, 4.744, 23.812 |
xyY | 0.208, 0.132, 4.744 |
CIE-LCH | 25.993, 58.563, 304.79 |
CIE-LUV | 25.993, 0.65, -62.13 |
Hunter-Lab | 21.781, 23.313, -49.571 |
Binary | 01000000, 00101101, 10001000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402d88. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402d88
This text has a font color of #402d88.
<span style="color:#402d88;">Text here</span>
#402d88 background color
This paragraph has a background color of #402d88.
<p style="background-color:#402d88;">Content here</p>
#402d88 border color
This element has a border color of #402d88.
<div style="border:1px solid #402d88;">Content here</div>
CSS codes
.text {color:#402d88;}
.background {background-color:#402d88;}
.border {border:1px solid #402d88;}
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, #020103 is the darkest color, while #f5f4fb is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#090612
#090612
rgb(9,6,18)
-
#0f0b21
#0f0b21
rgb(15,11,33)
-
#161030
#161030
rgb(22,16,48)
-
#1d153e
#1d153e
rgb(29,21,62)
-
#24194d
#24194d
rgb(36,25,77)
-
#2b1e5c
#2b1e5c
rgb(43,30,92)
-
#32236b
#32236b
rgb(50,35,107)
-
#392879
#392879
rgb(57,40,121)
-
#402d88
#402d88
rgb(64,45,136)
-
#473297
#473297
rgb(71,50,151)
-
#4e37a5
#4e37a5
rgb(78,55,165)
-
#553cb4
#553cb4
rgb(85,60,180)
Shade Color Variation
-
#5d43c1
#5d43c1
rgb(93,67,193)
-
#6a51c6
#6a51c6
rgb(106,81,198)
-
#7660ca
#7660ca
rgb(118,96,202)
-
#836fcf
#836fcf
rgb(131,111,207)
-
#907ed4
#907ed4
rgb(144,126,212)
-
#9c8cd9
#9c8cd9
rgb(156,140,217)
-
#a99bde
#a99bde
rgb(169,155,222)
-
#b6aae3
#b6aae3
rgb(182,170,227)
-
#c2b9e8
#c2b9e8
rgb(194,185,232)
-
#cfc7ed
#cfc7ed
rgb(207,199,237)
-
#dcd6f1
#dcd6f1
rgb(220,214,241)
-
#e9e5f6
#e9e5f6
rgb(233,229,246)
-
#f5f4fb
#f5f4fb
rgb(245,244,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #58575e is the less saturated color, while #2803b2 is the most saturated one.
-
#58575e
#58575e
rgb(88,87,94)
-
#545065
#545065
rgb(84,80,101)
-
#50496c
#50496c
rgb(80,73,108)
-
#4c4273
#4c4273
rgb(76,66,115)
-
#483b7a
#483b7a
rgb(72,59,122)
-
#443481
#443481
rgb(68,52,129)
-
#402d88
#402d88
rgb(64,45,136)
-
#3c268f
#3c268f
rgb(60,38,143)
-
#381f96
#381f96
rgb(56,31,150)
-
#34189d
#34189d
rgb(52,24,157)
-
#3011a4
#3011a4
rgb(48,17,164)
-
#2c0aab
#2c0aab
rgb(44,10,171)
-
#2803b2
#2803b2
rgb(40,3,178)
Tone Color Variation
Below, you can see how #402d88 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