#402b9b hex color
In a RGB color space, hex #402b9b is composed of 25.1% red, 16.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 58.7% cyan, 72.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 251.3 degrees, a saturation of 56.6% and a lightness of 38.8%. #402b9b color hex could be obtained by blending #8056ff with #000037. Closest websafe color is: #333399.
-
- R 25
- G 17
- B 61
RGB color chart
-
- C 59
- M 72
- Y 0
- K 39
CMYK color chart
● #402b9b color description : Dark blue.
The hexadecimal color #402b9b has RGB values of R:64, G:43, B:155 and CMYK values of C:0.59, M:0.72, Y:0, K:0.39. Its decimal value is 4205467.
Hex triplet | 402b9b | #402b9b |
---|---|---|
RGB Decimal | 64, 43, 155 | rgb(64,43,155) |
RGB Percent | 25.1, 16.9, 60.8 | rgb(25.1%,16.9%,60.8%) |
CMYK | 59, 72, 0, 39 | |
HSL | 251.3°, 56.6, 38.8 | hsl(251.3,56.6%,38.8%) |
HSV (or HSB) | 251.3°, 72.3, 60.8 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 27.253, 40.56, -57.759 |
---|---|
XYZ | 8.894, 5.184, 31.541 |
xyY | 0.195, 0.114, 5.184 |
CIE-LCH | 27.253, 70.578, 305.078 |
CIE-LUV | 27.253, -0.566, -74.74 |
Hunter-Lab | 22.768, 29.879, -66.195 |
Binary | 01000000, 00101011, 10011011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402b9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402b9b
This text has a font color of #402b9b.
<span style="color:#402b9b;">Text here</span>
#402b9b background color
This paragraph has a background color of #402b9b.
<p style="background-color:#402b9b;">Content here</p>
#402b9b border color
This element has a border color of #402b9b.
<div style="border:1px solid #402b9b;">Content here</div>
CSS codes
.text {color:#402b9b;}
.background {background-color:#402b9b;}
.border {border:1px solid #402b9b;}
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, #010001 is the darkest color, while #f3f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#070511
#070511
rgb(7,5,17)
-
#0d0920
#0d0920
rgb(13,9,32)
-
#140d30
#140d30
rgb(20,13,48)
-
#1a113f
#1a113f
rgb(26,17,63)
-
#20164e
#20164e
rgb(32,22,78)
-
#271a5e
#271a5e
rgb(39,26,94)
-
#2d1e6d
#2d1e6d
rgb(45,30,109)
-
#33227c
#33227c
rgb(51,34,124)
-
#3a278c
#3a278c
rgb(58,39,140)
-
#402b9b
#402b9b
rgb(64,43,155)
-
#462faa
#462faa
rgb(70,47,170)
-
#4d34ba
#4d34ba
rgb(77,52,186)
Shade Color Variation
-
#5439c8
#5439c8
rgb(84,57,200)
-
#6148cc
#6148cc
rgb(97,72,204)
-
#6e58d1
#6e58d1
rgb(110,88,209)
-
#7b67d5
#7b67d5
rgb(123,103,213)
-
#8976d9
#8976d9
rgb(137,118,217)
-
#9686dd
#9686dd
rgb(150,134,221)
-
#a395e2
#a395e2
rgb(163,149,226)
-
#b1a4e6
#b1a4e6
rgb(177,164,230)
-
#beb4ea
#beb4ea
rgb(190,180,234)
-
#cbc3ee
#cbc3ee
rgb(203,195,238)
-
#d8d2f3
#d8d2f3
rgb(216,210,243)
-
#e6e2f7
#e6e2f7
rgb(230,226,247)
-
#f3f1fb
#f3f1fb
rgb(243,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #616066 is the less saturated color, while #2805c1 is the most saturated one.
-
#616066
#616066
rgb(97,96,102)
-
#5d596d
#5d596d
rgb(93,89,109)
-
#585175
#585175
rgb(88,81,117)
-
#53497d
#53497d
rgb(83,73,125)
-
#4e4284
#4e4284
rgb(78,66,132)
-
#4a3a8c
#4a3a8c
rgb(74,58,140)
-
#453393
#453393
rgb(69,51,147)
-
#402b9b
#402b9b
rgb(64,43,155)
-
#3b23a3
#3b23a3
rgb(59,35,163)
-
#361caa
#361caa
rgb(54,28,170)
-
#3214b2
#3214b2
rgb(50,20,178)
-
#2d0db9
#2d0db9
rgb(45,13,185)
-
#2805c1
#2805c1
rgb(40,5,193)
Tone Color Variation
Below, you can see how #402b9b 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.
Monochromacy
Dichromacy