#402c8b Color Information
In a RGB color space, hex #402c8b is composed of 25.1% red, 17.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 68.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 252.6 degrees, a saturation of 51.9% and a lightness of 35.9%. #402c8b color hex could be obtained by blending #8058ff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 17
- B 55
-
- C 54
- M 68
- Y 0
- K 45
● #402c8b color description : Dark moderate blue.
#402c8b Color Conversion
The hexadecimal color #402c8b has RGB values of R:64, G:44, B:139 and CMYK values of C:0.54, M:0.68, Y:0, K:0.45. Its decimal value is 4205707.
Hex triplet | 402c8b | #402c8b |
---|---|---|
RGB Decimal | 64, 44, 139 | rgb(64,44,139) |
RGB Percent | 25.1, 17.3, 54.5 | rgb(25.1%,17.3%,54.5%) |
CMYK | 54, 68, 0, 45 | |
HSL | 252.6°, 51.9, 35.9 | hsl(252.6,51.9%,35.9%) |
HSV (or HSB) | 252.6°, 68.3, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.026, 34.963, -49.909 |
---|---|
XYZ | 7.674, 4.755, 24.938 |
xyY | 0.205, 0.127, 4.755 |
CIE-LCH | 26.026, 60.937, 305.013 |
CIE-LUV | 26.026, 0.586, -64.318 |
Hunter-Lab | 21.807, 24.658, -52.54 |
Binary | 01000000, 00101100, 10001011 |
Color Schemes with #402c8b
Alternatives to #402c8b
Below, you can see some colors close to #402c8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402c8b Preview
This text has a font color of #402c8b.
<span style="color:#402c8b;">Text here</span>
This paragraph has a background color of #402c8b.
<p style="background-color:#402c8b;">Content here</p>
This element has a border color of #402c8b.
<div style="border:1px solid #402c8b;">Content here</div>
.text {color:#402c8b;}
.background {background-color:#402c8b;}
.border {border:1px solid #402c8b;}
Shades and Tints of #402c8b
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, #020205 is the darkest color, while #f6f5fc is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#090614
#090614
rgb(9,6,20)
-
#100b23
#100b23
rgb(16,11,35)
-
#171032
#171032
rgb(23,16,50)
-
#1e1441
#1e1441
rgb(30,20,65)
-
#25194f
#25194f
rgb(37,25,79)
-
#2b1e5e
#2b1e5e
rgb(43,30,94)
-
#32236d
#32236d
rgb(50,35,109)
-
#39277c
#39277c
rgb(57,39,124)
-
#402c8b
#402c8b
rgb(64,44,139)
-
#47319a
#47319a
rgb(71,49,154)
-
#4e35a9
#4e35a9
rgb(78,53,169)
-
#553ab8
#553ab8
rgb(85,58,184)
-
#5d42c3
#5d42c3
rgb(93,66,195)
-
#6a51c8
#6a51c8
rgb(106,81,200)
-
#7760cd
#7760cd
rgb(119,96,205)
-
#846fd1
#846fd1
rgb(132,111,209)
-
#907ed6
#907ed6
rgb(144,126,214)
-
#9d8ddb
#9d8ddb
rgb(157,141,219)
-
#aa9ce0
#aa9ce0
rgb(170,156,224)
-
#b7abe4
#b7abe4
rgb(183,171,228)
-
#c3b9e9
#c3b9e9
rgb(195,185,233)
-
#d0c8ee
#d0c8ee
rgb(208,200,238)
-
#ddd7f2
#ddd7f2
rgb(221,215,242)
-
#eae6f7
#eae6f7
rgb(234,230,247)
-
#f6f5fc
#f6f5fc
rgb(246,245,252)
Tones of #402c8b
A tone is produced by adding gray to any pure hue. In this case, #585661 is the less saturated color, while #2802b5 is the most saturated one.
-
#585661
#585661
rgb(88,86,97)
-
#544f68
#544f68
rgb(84,79,104)
-
#50486f
#50486f
rgb(80,72,111)
-
#4c4176
#4c4176
rgb(76,65,118)
-
#483a7d
#483a7d
rgb(72,58,125)
-
#443384
#443384
rgb(68,51,132)
-
#402c8b
#402c8b
rgb(64,44,139)
-
#3c2592
#3c2592
rgb(60,37,146)
-
#381e99
#381e99
rgb(56,30,153)
-
#3417a0
#3417a0
rgb(52,23,160)
-
#3010a7
#3010a7
rgb(48,16,167)
-
#2c09ae
#2c09ae
rgb(44,9,174)
-
#2802b5
#2802b5
rgb(40,2,181)
Color Blindness Simulator
Below, you can see how #402c8b 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.