#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
#020104rgb(2,1,4) -
#090613
#090613rgb(9,6,19) -
#100b22
#100b22rgb(16,11,34) -
#170f31
#170f31rgb(23,15,49) -
#1e1440
#1e1440rgb(30,20,64) -
#24184f
#24184frgb(36,24,79) -
#2b1d5e
#2b1d5ergb(43,29,94) -
#32226d
#32226drgb(50,34,109) -
#39267c
#39267crgb(57,38,124) -
#402b8b
#402b8brgb(64,43,139) -
#47309a
#47309argb(71,48,154) -
#4e34a9
#4e34a9rgb(78,52,169) -
#5539b8
#5539b8rgb(85,57,184)
-
#5d40c4
#5d40c4rgb(93,64,196) -
#6a4fc9
#6a4fc9rgb(106,79,201) -
#775ecd
#775ecdrgb(119,94,205) -
#836dd2
#836dd2rgb(131,109,210) -
#907cd7
#907cd7rgb(144,124,215) -
#9d8bdb
#9d8bdbrgb(157,139,219) -
#aa9ae0
#aa9ae0rgb(170,154,224) -
#b6a9e4
#b6a9e4rgb(182,169,228) -
#c3b8e9
#c3b8e9rgb(195,184,233) -
#d0c7ee
#d0c7eergb(208,199,238) -
#dcd6f2
#dcd6f2rgb(220,214,242) -
#e9e5f7
#e9e5f7rgb(233,229,247) -
#f6f4fc
#f6f4fcrgb(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
#585561rgb(88,85,97) -
#544e68
#544e68rgb(84,78,104) -
#50476f
#50476frgb(80,71,111) -
#4c4076
#4c4076rgb(76,64,118) -
#48397d
#48397drgb(72,57,125) -
#443284
#443284rgb(68,50,132) -
#402b8b
#402b8brgb(64,43,139) -
#3c2492
#3c2492rgb(60,36,146) -
#381d99
#381d99rgb(56,29,153) -
#3416a0
#3416a0rgb(52,22,160) -
#300fa7
#300fa7rgb(48,15,167) -
#2c08ae
#2c08aergb(44,8,174) -
#2801b5
#2801b5rgb(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.
