#402b8b Color Information
In a RGB color space, hex #402b8b is composed of 25.1% red, 16.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 69.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 253.1 degrees, a saturation of 52.7% and a lightness of 35.7%. #402b8b color hex could be obtained by blending #8056ff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 17
- B 55
-
- C 54
- M 69
- Y 0
- K 45
● #402b8b color description : Dark moderate blue.
#402b8b Color Conversion
The hexadecimal color #402b8b has RGB values of R:64, G:43, B:139 and CMYK values of C:0.54, M:0.69, Y:0, K:0.45. Its decimal value is 4205451.
Hex triplet | 402b8b | #402b8b |
---|---|---|
RGB Decimal | 64, 43, 139 | rgb(64,43,139) |
RGB Percent | 25.1, 16.9, 54.5 | rgb(25.1%,16.9%,54.5%) |
CMYK | 54, 69, 0, 45 | |
HSL | 253.1°, 52.7, 35.7 | hsl(253.1,52.7%,35.7%) |
HSV (or HSB) | 253.1°, 69.1, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.808, 35.556, -50.265 |
---|---|
XYZ | 7.638, 4.682, 24.926 |
xyY | 0.205, 0.126, 4.682 |
CIE-LCH | 25.808, 61.569, 305.275 |
CIE-LUV | 25.808, 0.774, -64.516 |
Hunter-Lab | 21.637, 25.143, -53.156 |
Binary | 01000000, 00101011, 10001011 |
Color Schemes with #402b8b
Alternatives to #402b8b
Below, you can see some colors close to #402b8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402b8b Preview
This text has a font color of #402b8b.
<span style="color:#402b8b;">Text here</span>
This paragraph has a background color of #402b8b.
<p style="background-color:#402b8b;">Content here</p>
This element has a border color of #402b8b.
<div style="border:1px solid #402b8b;">Content here</div>
.text {color:#402b8b;}
.background {background-color:#402b8b;}
.border {border:1px solid #402b8b;}
Shades and Tints of #402b8b
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, #020104 is the darkest color, while #f6f4fc is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#090613
#090613
rgb(9,6,19)
-
#100b22
#100b22
rgb(16,11,34)
-
#170f31
#170f31
rgb(23,15,49)
-
#1e1440
#1e1440
rgb(30,20,64)
-
#24184f
#24184f
rgb(36,24,79)
-
#2b1d5e
#2b1d5e
rgb(43,29,94)
-
#32226d
#32226d
rgb(50,34,109)
-
#39267c
#39267c
rgb(57,38,124)
-
#402b8b
#402b8b
rgb(64,43,139)
-
#47309a
#47309a
rgb(71,48,154)
-
#4e34a9
#4e34a9
rgb(78,52,169)
-
#5539b8
#5539b8
rgb(85,57,184)
-
#5d40c4
#5d40c4
rgb(93,64,196)
-
#6a4fc9
#6a4fc9
rgb(106,79,201)
-
#775ecd
#775ecd
rgb(119,94,205)
-
#836dd2
#836dd2
rgb(131,109,210)
-
#907cd7
#907cd7
rgb(144,124,215)
-
#9d8bdb
#9d8bdb
rgb(157,139,219)
-
#aa9ae0
#aa9ae0
rgb(170,154,224)
-
#b6a9e4
#b6a9e4
rgb(182,169,228)
-
#c3b8e9
#c3b8e9
rgb(195,184,233)
-
#d0c7ee
#d0c7ee
rgb(208,199,238)
-
#dcd6f2
#dcd6f2
rgb(220,214,242)
-
#e9e5f7
#e9e5f7
rgb(233,229,247)
-
#f6f4fc
#f6f4fc
rgb(246,244,252)
Tones of #402b8b
A tone is produced by adding gray to any pure hue. In this case, #585561 is the less saturated color, while #2801b5 is the most saturated one.
-
#585561
#585561
rgb(88,85,97)
-
#544e68
#544e68
rgb(84,78,104)
-
#50476f
#50476f
rgb(80,71,111)
-
#4c4076
#4c4076
rgb(76,64,118)
-
#48397d
#48397d
rgb(72,57,125)
-
#443284
#443284
rgb(68,50,132)
-
#402b8b
#402b8b
rgb(64,43,139)
-
#3c2492
#3c2492
rgb(60,36,146)
-
#381d99
#381d99
rgb(56,29,153)
-
#3416a0
#3416a0
rgb(52,22,160)
-
#300fa7
#300fa7
rgb(48,15,167)
-
#2c08ae
#2c08ae
rgb(44,8,174)
-
#2801b5
#2801b5
rgb(40,1,181)
Color Blindness Simulator
Below, you can see how #402b8b 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.