#402c9a hex color
In a RGB color space, hex #402c9a is composed of 25.1% red, 17.3% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 58.4% cyan, 71.4% magenta, 0% yellow and 39.6% black. It has a hue angle of 250.9 degrees, a saturation of 55.6% and a lightness of 38.8%. #402c9a color hex could be obtained by blending #8058ff with #000035. Closest websafe color is: #333399.
-
- R 25
- G 17
- B 60
RGB color chart
-
- C 58
- M 71
- Y 0
- K 40
CMYK color chart
● #402c9a color description : Dark blue.
The hexadecimal color #402c9a has RGB values of R:64, G:44, B:154 and CMYK values of C:0.58, M:0.71, Y:0, K:0.4. Its decimal value is 4205722.
Hex triplet | 402c9a | #402c9a |
---|---|---|
RGB Decimal | 64, 44, 154 | rgb(64,44,154) |
RGB Percent | 25.1, 17.3, 60.4 | rgb(25.1%,17.3%,60.4%) |
CMYK | 58, 71, 0, 40 | |
HSL | 250.9°, 55.6, 38.8 | hsl(250.9,55.6%,38.8%) |
HSV (or HSB) | 250.9°, 71.4, 60.4 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 27.364, 39.681, -56.965 |
---|---|
XYZ | 8.847, 5.224, 31.112 |
xyY | 0.196, 0.116, 5.224 |
CIE-LCH | 27.364, 69.423, 304.86 |
CIE-LUV | 27.364, -0.655, -73.963 |
Hunter-Lab | 22.856, 29.09, -64.706 |
Binary | 01000000, 00101100, 10011010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402c9a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402c9a
This text has a font color of #402c9a.
<span style="color:#402c9a;">Text here</span>
#402c9a background color
This paragraph has a background color of #402c9a.
<p style="background-color:#402c9a;">Content here</p>
#402c9a border color
This element has a border color of #402c9a.
<div style="border:1px solid #402c9a;">Content here</div>
CSS codes
.text {color:#402c9a;}
.background {background-color:#402c9a;}
.border {border:1px solid #402c9a;}
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)
-
#140d2f
#140d2f
rgb(20,13,47)
-
#1a123e
#1a123e
rgb(26,18,62)
-
#20164e
#20164e
rgb(32,22,78)
-
#271b5d
#271b5d
rgb(39,27,93)
-
#2d1f6c
#2d1f6c
rgb(45,31,108)
-
#33237b
#33237b
rgb(51,35,123)
-
#3a288b
#3a288b
rgb(58,40,139)
-
#402c9a
#402c9a
rgb(64,44,154)
-
#4630a9
#4630a9
rgb(70,48,169)
-
#4d35b9
#4d35b9
rgb(77,53,185)
Shade Color Variation
-
#543ac7
#543ac7
rgb(84,58,199)
-
#6149cb
#6149cb
rgb(97,73,203)
-
#6e59cf
#6e59cf
rgb(110,89,207)
-
#7b68d4
#7b68d4
rgb(123,104,212)
-
#8977d8
#8977d8
rgb(137,119,216)
-
#9686dd
#9686dd
rgb(150,134,221)
-
#a396e1
#a396e1
rgb(163,150,225)
-
#b1a5e5
#b1a5e5
rgb(177,165,229)
-
#beb4ea
#beb4ea
rgb(190,180,234)
-
#cbc3ee
#cbc3ee
rgb(203,195,238)
-
#d8d3f2
#d8d3f2
rgb(216,211,242)
-
#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, #626165 is the less saturated color, while #2806c0 is the most saturated one.
-
#626165
#626165
rgb(98,97,101)
-
#5d5a6c
#5d5a6c
rgb(93,90,108)
-
#585274
#585274
rgb(88,82,116)
-
#534a7c
#534a7c
rgb(83,74,124)
-
#4f4383
#4f4383
rgb(79,67,131)
-
#4a3b8b
#4a3b8b
rgb(74,59,139)
-
#453492
#453492
rgb(69,52,146)
-
#402c9a
#402c9a
rgb(64,44,154)
-
#3b24a2
#3b24a2
rgb(59,36,162)
-
#361da9
#361da9
rgb(54,29,169)
-
#3115b1
#3115b1
rgb(49,21,177)
-
#2d0eb8
#2d0eb8
rgb(45,14,184)
-
#2806c0
#2806c0
rgb(40,6,192)
Tone Color Variation
Below, you can see how #402c9a 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