#402e8b Color Information
In a RGB color space, hex #402e8b is composed of 25.1% red, 18% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 66.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.6 degrees, a saturation of 50.3% and a lightness of 36.3%. #402e8b color hex could be obtained by blending #805cff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
-
- C 54
- M 67
- Y 0
- K 45
● #402e8b color description : Dark moderate blue.
#402e8b Color Conversion
The hexadecimal color #402e8b has RGB values of R:64, G:46, B:139 and CMYK values of C:0.54, M:0.67, Y:0, K:0.45. Its decimal value is 4206219.
Hex triplet | 402e8b | #402e8b |
---|---|---|
RGB Decimal | 64, 46, 139 | rgb(64,46,139) |
RGB Percent | 25.1, 18, 54.5 | rgb(25.1%,18%,54.5%) |
CMYK | 54, 67, 0, 45 | |
HSL | 251.6°, 50.3, 36.3 | hsl(251.6,50.3%,36.3%) |
HSV (or HSB) | 251.6°, 66.9, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.471, 33.759, -49.183 |
---|---|
XYZ | 7.751, 4.908, 24.964 |
xyY | 0.206, 0.13, 4.908 |
CIE-LCH | 26.471, 59.655, 304.465 |
CIE-LUV | 26.471, 0.195, -63.889 |
Hunter-Lab | 22.154, 23.681, -51.303 |
Binary | 01000000, 00101110, 10001011 |
Color Schemes with #402e8b
Alternatives to #402e8b
Below, you can see some colors close to #402e8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402e8b Preview
This text has a font color of #402e8b.
<span style="color:#402e8b;">Text here</span>
This paragraph has a background color of #402e8b.
<p style="background-color:#402e8b;">Content here</p>
This element has a border color of #402e8b.
<div style="border:1px solid #402e8b;">Content here</div>
.text {color:#402e8b;}
.background {background-color:#402e8b;}
.border {border:1px solid #402e8b;}
Shades and Tints of #402e8b
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, #030206 is the darkest color, while #f8f7fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0a0715
#0a0715
rgb(10,7,21)
-
#100c24
#100c24
rgb(16,12,36)
-
#171133
#171133
rgb(23,17,51)
-
#1e1641
#1e1641
rgb(30,22,65)
-
#251a50
#251a50
rgb(37,26,80)
-
#2c1f5f
#2c1f5f
rgb(44,31,95)
-
#32246e
#32246e
rgb(50,36,110)
-
#39297c
#39297c
rgb(57,41,124)
-
#402e8b
#402e8b
rgb(64,46,139)
-
#47339a
#47339a
rgb(71,51,154)
-
#4e38a8
#4e38a8
rgb(78,56,168)
-
#543db7
#543db7
rgb(84,61,183)
-
#5e46c2
#5e46c2
rgb(94,70,194)
-
#6b55c7
#6b55c7
rgb(107,85,199)
-
#7763cb
#7763cb
rgb(119,99,203)
-
#8472d0
#8472d0
rgb(132,114,208)
-
#9181d5
#9181d5
rgb(145,129,213)
-
#9e8fda
#9e8fda
rgb(158,143,218)
-
#ab9edf
#ab9edf
rgb(171,158,223)
-
#b8ade4
#b8ade4
rgb(184,173,228)
-
#c4bce9
#c4bce9
rgb(196,188,233)
-
#d1caee
#d1caee
rgb(209,202,238)
-
#ded9f2
#ded9f2
rgb(222,217,242)
-
#ebe8f7
#ebe8f7
rgb(235,232,247)
-
#f8f7fc
#f8f7fc
rgb(248,247,252)
Tones of #402e8b
A tone is produced by adding gray to any pure hue. In this case, #5a5960 is the less saturated color, while #2603b6 is the most saturated one.
-
#5a5960
#5a5960
rgb(90,89,96)
-
#565267
#565267
rgb(86,82,103)
-
#514a6f
#514a6f
rgb(81,74,111)
-
#4d4376
#4d4376
rgb(77,67,118)
-
#493c7d
#493c7d
rgb(73,60,125)
-
#443584
#443584
rgb(68,53,132)
-
#402e8b
#402e8b
rgb(64,46,139)
-
#3c2792
#3c2792
rgb(60,39,146)
-
#372099
#372099
rgb(55,32,153)
-
#3319a0
#3319a0
rgb(51,25,160)
-
#2f12a7
#2f12a7
rgb(47,18,167)
-
#2a0aaf
#2a0aaf
rgb(42,10,175)
-
#2603b6
#2603b6
rgb(38,3,182)
Color Blindness Simulator
Below, you can see how #402e8b 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.