#402a8b Color Information
In a RGB color space, hex #402a8b is composed of 25.1% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 253.6 degrees, a saturation of 53.6% and a lightness of 35.5%. #402a8b color hex could be obtained by blending #8054ff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 55
-
- C 54
- M 70
- Y 0
- K 45
● #402a8b color description : Dark moderate blue.
#402a8b Color Conversion
The hexadecimal color #402a8b has RGB values of R:64, G:42, B:139 and CMYK values of C:0.54, M:0.7, Y:0, K:0.45. Its decimal value is 4205195.
Hex triplet | 402a8b | #402a8b |
---|---|---|
RGB Decimal | 64, 42, 139 | rgb(64,42,139) |
RGB Percent | 25.1, 16.5, 54.5 | rgb(25.1%,16.5%,54.5%) |
CMYK | 54, 70, 0, 45 | |
HSL | 253.6°, 53.6, 35.5 | hsl(253.6,53.6%,35.5%) |
HSV (or HSB) | 253.6°, 69.8, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.593, 36.144, -50.616 |
---|---|
XYZ | 7.602, 4.61, 24.914 |
xyY | 0.205, 0.124, 4.61 |
CIE-LCH | 25.593, 62.196, 305.53 |
CIE-LUV | 25.593, 0.957, -64.701 |
Hunter-Lab | 21.47, 25.625, -53.77 |
Binary | 01000000, 00101010, 10001011 |
Color Schemes with #402a8b
Alternatives to #402a8b
Below, you can see some colors close to #402a8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a8b Preview
This text has a font color of #402a8b.
<span style="color:#402a8b;">Text here</span>
This paragraph has a background color of #402a8b.
<p style="background-color:#402a8b;">Content here</p>
This element has a border color of #402a8b.
<div style="border:1px solid #402a8b;">Content here</div>
.text {color:#402a8b;}
.background {background-color:#402a8b;}
.border {border:1px solid #402a8b;}
Shades and Tints of #402a8b
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, #020103 is the darkest color, while #f5f3fb is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#090612
#090612
rgb(9,6,18)
-
#0f0a22
#0f0a22
rgb(15,10,34)
-
#160f31
#160f31
rgb(22,15,49)
-
#1d1340
#1d1340
rgb(29,19,64)
-
#24184f
#24184f
rgb(36,24,79)
-
#2b1c5e
#2b1c5e
rgb(43,28,94)
-
#32216d
#32216d
rgb(50,33,109)
-
#39257c
#39257c
rgb(57,37,124)
-
#402a8b
#402a8b
rgb(64,42,139)
-
#472f9a
#472f9a
rgb(71,47,154)
-
#4e33a9
#4e33a9
rgb(78,51,169)
-
#5538b8
#5538b8
rgb(85,56,184)
-
#5d3fc5
#5d3fc5
rgb(93,63,197)
-
#6a4ec9
#6a4ec9
rgb(106,78,201)
-
#765dce
#765dce
rgb(118,93,206)
-
#836cd3
#836cd3
rgb(131,108,211)
-
#907bd7
#907bd7
rgb(144,123,215)
-
#9c8adc
#9c8adc
rgb(156,138,220)
-
#a999e0
#a999e0
rgb(169,153,224)
-
#b6a8e5
#b6a8e5
rgb(182,168,229)
-
#c2b7e9
#c2b7e9
rgb(194,183,233)
-
#cfc6ee
#cfc6ee
rgb(207,198,238)
-
#dcd5f2
#dcd5f2
rgb(220,213,242)
-
#e9e4f7
#e9e4f7
rgb(233,228,247)
-
#f5f3fb
#f5f3fb
rgb(245,243,251)
Tones of #402a8b
A tone is produced by adding gray to any pure hue. In this case, #575461 is the less saturated color, while #2900b5 is the most saturated one.
-
#575461
#575461
rgb(87,84,97)
-
#534d68
#534d68
rgb(83,77,104)
-
#4f466f
#4f466f
rgb(79,70,111)
-
#4b3f76
#4b3f76
rgb(75,63,118)
-
#48387d
#48387d
rgb(72,56,125)
-
#443184
#443184
rgb(68,49,132)
-
#402a8b
#402a8b
rgb(64,42,139)
-
#3c2392
#3c2392
rgb(60,35,146)
-
#381c99
#381c99
rgb(56,28,153)
-
#3515a0
#3515a0
rgb(53,21,160)
-
#310ea7
#310ea7
rgb(49,14,167)
-
#2d07ae
#2d07ae
rgb(45,7,174)
-
#2900b5
#2900b5
rgb(41,0,181)
Color Blindness Simulator
Below, you can see how #402a8b 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.