#402eab hex color
In a RGB color space, hex #402eab is composed of 25.1% red, 18% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 73.1% magenta, 0% yellow and 32.9% black. It has a hue angle of 248.6 degrees, a saturation of 57.6% and a lightness of 42.5%. #402eab color hex could be obtained by blending #805cff with #000057. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 67
RGB color chart
-
- C 63
- M 73
- Y 0
- K 33
CMYK color chart
● #402eab color description : Dark blue.
The hexadecimal color #402eab has RGB values of R:64, G:46, B:171 and CMYK values of C:0.63, M:0.73, Y:0, K:0.33. Its decimal value is 4206251.
Hex triplet | 402eab | #402eab |
---|---|---|
RGB Decimal | 64, 46, 171 | rgb(64,46,171) |
RGB Percent | 25.1, 18, 67.1 | rgb(25.1%,18%,67.1%) |
CMYK | 63, 73, 0, 33 | |
HSL | 248.6°, 57.6, 42.5 | hsl(248.6,57.6%,42.5%) |
HSV (or HSB) | 248.6°, 73.1, 67.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 29.372, 43.892, -63.967 |
---|---|
XYZ | 10.441, 5.984, 39.131 |
xyY | 0.188, 0.108, 5.984 |
CIE-LCH | 29.372, 77.578, 304.457 |
CIE-LUV | 29.372, -2.256, -84.321 |
Hunter-Lab | 24.462, 33.378, -77.72 |
Binary | 01000000, 00101110, 10101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402eab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402eab
This text has a font color of #402eab.
<span style="color:#402eab;">Text here</span>
#402eab background color
This paragraph has a background color of #402eab.
<p style="background-color:#402eab;">Content here</p>
#402eab border color
This element has a border color of #402eab.
<div style="border:1px solid #402eab;">Content here</div>
CSS codes
.text {color:#402eab;}
.background {background-color:#402eab;}
.border {border:1px solid #402eab;}
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, #000001 is the darkest color, while #f2f1fb is the lightest one.
-
#000001
#000001
rgb(0,0,1)
-
#060410
#060410
rgb(6,4,16)
-
#0c0920
#0c0920
rgb(12,9,32)
-
#120d2f
#120d2f
rgb(18,13,47)
-
#18113f
#18113f
rgb(24,17,63)
-
#1d154e
#1d154e
rgb(29,21,78)
-
#23195e
#23195e
rgb(35,25,94)
-
#291d6d
#291d6d
rgb(41,29,109)
-
#2f227d
#2f227d
rgb(47,34,125)
-
#34268c
#34268c
rgb(52,38,140)
-
#3a2a9c
#3a2a9c
rgb(58,42,156)
-
#402eab
#402eab
rgb(64,46,171)
-
#4632ba
#4632ba
rgb(70,50,186)
Shade Color Variation
-
#4c37c9
#4c37c9
rgb(76,55,201)
-
#5a46cd
#5a46cd
rgb(90,70,205)
-
#6856d2
#6856d2
rgb(104,86,210)
-
#7665d6
#7665d6
rgb(118,101,214)
-
#8375da
#8375da
rgb(131,117,218)
-
#9184de
#9184de
rgb(145,132,222)
-
#9f94e2
#9f94e2
rgb(159,148,226)
-
#ada3e6
#ada3e6
rgb(173,163,230)
-
#bbb3ea
#bbb3ea
rgb(187,179,234)
-
#c9c2ef
#c9c2ef
rgb(201,194,239)
-
#d6d2f3
#d6d2f3
rgb(214,210,243)
-
#e4e1f7
#e4e1f7
rgb(228,225,247)
-
#f2f1fb
#f2f1fb
rgb(242,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6a6871 is the less saturated color, while #2204d5 is the most saturated one.
-
#6a6871
#6a6871
rgb(106,104,113)
-
#646079
#646079
rgb(100,96,121)
-
#5e5881
#5e5881
rgb(94,88,129)
-
#584f8a
#584f8a
rgb(88,79,138)
-
#524792
#524792
rgb(82,71,146)
-
#4c3f9a
#4c3f9a
rgb(76,63,154)
-
#4636a3
#4636a3
rgb(70,54,163)
-
#402eab
#402eab
rgb(64,46,171)
-
#3a26b3
#3a26b3
rgb(58,38,179)
-
#341dbc
#341dbc
rgb(52,29,188)
-
#2e15c4
#2e15c4
rgb(46,21,196)
-
#280dcc
#280dcc
rgb(40,13,204)
-
#2204d5
#2204d5
rgb(34,4,213)
Tone Color Variation
Below, you can see how #402eab 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