#402d8a Color Information
In a RGB color space, hex #402d8a is composed of 25.1% red, 17.6% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 67.4% magenta, 0% yellow and 45.9% black. It has a hue angle of 252.3 degrees, a saturation of 50.8% and a lightness of 35.9%. #402d8a color hex could be obtained by blending #805aff with #000015. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 54
-
- C 54
- M 67
- Y 0
- K 46
● #402d8a color description : Dark moderate blue.
#402d8a Color Conversion
The hexadecimal color #402d8a has RGB values of R:64, G:45, B:138 and CMYK values of C:0.54, M:0.67, Y:0, K:0.46. Its decimal value is 4205962.
Hex triplet | 402d8a | #402d8a |
---|---|---|
RGB Decimal | 64, 45, 138 | rgb(64,45,138) |
RGB Percent | 25.1, 17.6, 54.1 | rgb(25.1%,17.6%,54.1%) |
CMYK | 54, 67, 0, 46 | |
HSL | 252.3°, 50.8, 35.9 | hsl(252.3,50.8%,35.9%) |
HSV (or HSB) | 252.3°, 67.4, 54.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.162, 34.047, -49.065 |
---|---|
XYZ | 7.639, 4.802, 24.568 |
xyY | 0.206, 0.13, 4.802 |
CIE-LCH | 26.162, 59.721, 304.757 |
CIE-LUV | 26.162, 0.478, -63.451 |
Hunter-Lab | 21.912, 23.884, -51.136 |
Binary | 01000000, 00101101, 10001010 |
Color Schemes with #402d8a
Alternatives to #402d8a
Below, you can see some colors close to #402d8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d8a Preview
This text has a font color of #402d8a.
<span style="color:#402d8a;">Text here</span>
This paragraph has a background color of #402d8a.
<p style="background-color:#402d8a;">Content here</p>
This element has a border color of #402d8a.
<div style="border:1px solid #402d8a;">Content here</div>
.text {color:#402d8a;}
.background {background-color:#402d8a;}
.border {border:1px solid #402d8a;}
Shades and Tints of #402d8a
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)
-
#090614
#090614
rgb(9,6,20)
-
#100b22
#100b22
rgb(16,11,34)
-
#171031
#171031
rgb(23,16,49)
-
#1e1540
#1e1540
rgb(30,21,64)
-
#251a4f
#251a4f
rgb(37,26,79)
-
#2b1f5e
#2b1f5e
rgb(43,31,94)
-
#32236c
#32236c
rgb(50,35,108)
-
#39287b
#39287b
rgb(57,40,123)
-
#402d8a
#402d8a
rgb(64,45,138)
-
#473299
#473299
rgb(71,50,153)
-
#4e37a8
#4e37a8
rgb(78,55,168)
-
#553bb6
#553bb6
rgb(85,59,182)
-
#5d44c2
#5d44c2
rgb(93,68,194)
-
#6a52c7
#6a52c7
rgb(106,82,199)
-
#7761cc
#7761cc
rgb(119,97,204)
-
#8470d0
#8470d0
rgb(132,112,208)
-
#907fd5
#907fd5
rgb(144,127,213)
-
#9d8eda
#9d8eda
rgb(157,142,218)
-
#aa9cdf
#aa9cdf
rgb(170,156,223)
-
#b7abe4
#b7abe4
rgb(183,171,228)
-
#c3bae8
#c3bae8
rgb(195,186,232)
-
#d0c9ed
#d0c9ed
rgb(208,201,237)
-
#ddd7f2
#ddd7f2
rgb(221,215,242)
-
#eae6f7
#eae6f7
rgb(234,230,247)
-
#f6f5fc
#f6f5fc
rgb(246,245,252)
Tones of #402d8a
A tone is produced by adding gray to any pure hue. In this case, #595760 is the less saturated color, while #2703b4 is the most saturated one.
-
#595760
#595760
rgb(89,87,96)
-
#555067
#555067
rgb(85,80,103)
-
#51496e
#51496e
rgb(81,73,110)
-
#4c4275
#4c4275
rgb(76,66,117)
-
#483b7c
#483b7c
rgb(72,59,124)
-
#443483
#443483
rgb(68,52,131)
-
#402d8a
#402d8a
rgb(64,45,138)
-
#3c2691
#3c2691
rgb(60,38,145)
-
#381f98
#381f98
rgb(56,31,152)
-
#34189f
#34189f
rgb(52,24,159)
-
#2f11a6
#2f11a6
rgb(47,17,166)
-
#2b0aad
#2b0aad
rgb(43,10,173)
-
#2703b4
#2703b4
rgb(39,3,180)
Color Blindness Simulator
Below, you can see how #402d8a 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.