#402d8f Color Information
In a RGB color space, hex #402d8f is composed of 25.1% red, 17.6% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 68.5% magenta, 0% yellow and 43.9% black. It has a hue angle of 251.6 degrees, a saturation of 52.1% and a lightness of 36.9%. #402d8f color hex could be obtained by blending #805aff with #00001f. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 56
-
- C 55
- M 69
- Y 0
- K 44
● #402d8f color description : Dark moderate blue.
#402d8f Color Conversion
The hexadecimal color #402d8f has RGB values of R:64, G:45, B:143 and CMYK values of C:0.55, M:0.69, Y:0, K:0.44. Its decimal value is 4205967.
Hex triplet | 402d8f | #402d8f |
---|---|---|
RGB Decimal | 64, 45, 143 | rgb(64,45,143) |
RGB Percent | 25.1, 17.6, 56.1 | rgb(25.1%,17.6%,56.1%) |
CMYK | 55, 69, 0, 44 | |
HSL | 251.6°, 52.1, 36.9 | hsl(251.6,52.1%,36.9%) |
HSV (or HSB) | 251.6°, 68.5, 56.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.591, 35.63, -51.466 |
---|---|
XYZ | 8.01, 4.95, 26.518 |
xyY | 0.203, 0.125, 4.95 |
CIE-LCH | 26.591, 62.596, 304.694 |
CIE-LUV | 26.591, 0.056, -66.727 |
Hunter-Lab | 22.248, 25.33, -55.097 |
Binary | 01000000, 00101101, 10001111 |
Color Schemes with #402d8f
Alternatives to #402d8f
Below, you can see some colors close to #402d8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d8f Preview
This text has a font color of #402d8f.
<span style="color:#402d8f;">Text here</span>
This paragraph has a background color of #402d8f.
<p style="background-color:#402d8f;">Content here</p>
This element has a border color of #402d8f.
<div style="border:1px solid #402d8f;">Content here</div>
.text {color:#402d8f;}
.background {background-color:#402d8f;}
.border {border:1px solid #402d8f;}
Shades and Tints of #402d8f
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, #040309 is the darkest color, while #faf9fd is the lightest one.
-
#040309
#040309
rgb(4,3,9)
-
#0b0718
#0b0718
rgb(11,7,24)
-
#110c27
#110c27
rgb(17,12,39)
-
#181135
#181135
rgb(24,17,53)
-
#1f1644
#1f1644
rgb(31,22,68)
-
#251a53
#251a53
rgb(37,26,83)
-
#2c1f62
#2c1f62
rgb(44,31,98)
-
#332471
#332471
rgb(51,36,113)
-
#392880
#392880
rgb(57,40,128)
-
#402d8f
#402d8f
rgb(64,45,143)
-
#47329e
#47329e
rgb(71,50,158)
-
#4d36ad
#4d36ad
rgb(77,54,173)
-
#543bbc
#543bbc
rgb(84,59,188)
-
#5e46c5
#5e46c5
rgb(94,70,197)
-
#6b55c9
#6b55c9
rgb(107,85,201)
-
#7864ce
#7864ce
rgb(120,100,206)
-
#8573d3
#8573d3
rgb(133,115,211)
-
#9281d7
#9281d7
rgb(146,129,215)
-
#9f90dc
#9f90dc
rgb(159,144,220)
-
#ac9fe1
#ac9fe1
rgb(172,159,225)
-
#b9aee6
#b9aee6
rgb(185,174,230)
-
#c6bdea
#c6bdea
rgb(198,189,234)
-
#d3ccef
#d3ccef
rgb(211,204,239)
-
#e0dbf4
#e0dbf4
rgb(224,219,244)
-
#edeaf8
#edeaf8
rgb(237,234,248)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tones of #402d8f
A tone is produced by adding gray to any pure hue. In this case, #5b5864 is the less saturated color, while #2502ba is the most saturated one.
-
#5b5864
#5b5864
rgb(91,88,100)
-
#56516b
#56516b
rgb(86,81,107)
-
#524a72
#524a72
rgb(82,74,114)
-
#4d4379
#4d4379
rgb(77,67,121)
-
#493b81
#493b81
rgb(73,59,129)
-
#443488
#443488
rgb(68,52,136)
-
#402d8f
#402d8f
rgb(64,45,143)
-
#3c2696
#3c2696
rgb(60,38,150)
-
#371f9d
#371f9d
rgb(55,31,157)
-
#3317a5
#3317a5
rgb(51,23,165)
-
#2e10ac
#2e10ac
rgb(46,16,172)
-
#2a09b3
#2a09b3
rgb(42,9,179)
-
#2502ba
#2502ba
rgb(37,2,186)
Color Blindness Simulator
Below, you can see how #402d8f 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.