#402f89 hex color
In a RGB color space, hex #402f89 is composed of 25.1% red, 18.4% green and 53.7% blue. Whereas in a CMYK color space, it is composed of 53.3% cyan, 65.7% magenta, 0% yellow and 46.3% black. It has a hue angle of 251.3 degrees, a saturation of 48.9% and a lightness of 36.1%. #402f89 color hex could be obtained by blending #805eff with #000013. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 54
RGB color chart
-
- C 53
- M 66
- Y 0
- K 46
CMYK color chart
● #402f89 color description : Dark moderate blue.
The hexadecimal color #402f89 has RGB values of R:64, G:47, B:137 and CMYK values of C:0.53, M:0.66, Y:0, K:0.46. Its decimal value is 4206473.
Hex triplet | 402f89 | #402f89 |
---|---|---|
RGB Decimal | 64, 47, 137 | rgb(64,47,137) |
RGB Percent | 25.1, 18.4, 53.7 | rgb(25.1%,18.4%,53.7%) |
CMYK | 53, 66, 0, 46 | |
HSL | 251.3°, 48.9, 36.1 | hsl(251.3,48.9%,36.1%) |
HSV (or HSB) | 251.3°, 65.7, 53.7 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.531, 32.511, -47.841 |
---|---|
XYZ | 7.645, 4.929, 24.214 |
xyY | 0.208, 0.134, 4.929 |
CIE-LCH | 26.531, 57.842, 304.198 |
CIE-LUV | 26.531, 0.157, -62.323 |
Hunter-Lab | 22.201, 22.617, -49.124 |
Binary | 01000000, 00101111, 10001001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f89. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f89
This text has a font color of #402f89.
<span style="color:#402f89;">Text here</span>
#402f89 background color
This paragraph has a background color of #402f89.
<p style="background-color:#402f89;">Content here</p>
#402f89 border color
This element has a border color of #402f89.
<div style="border:1px solid #402f89;">Content here</div>
CSS codes
.text {color:#402f89;}
.background {background-color:#402f89;}
.border {border:1px solid #402f89;}
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, #030206 is the darkest color, while #f7f6fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#090714
#090714
rgb(9,7,20)
-
#100c23
#100c23
rgb(16,12,35)
-
#171131
#171131
rgb(23,17,49)
-
#1e1640
#1e1640
rgb(30,22,64)
-
#251b4f
#251b4f
rgb(37,27,79)
-
#2c205d
#2c205d
rgb(44,32,93)
-
#32256c
#32256c
rgb(50,37,108)
-
#392a7a
#392a7a
rgb(57,42,122)
-
#402f89
#402f89
rgb(64,47,137)
-
#473498
#473498
rgb(71,52,152)
-
#4e39a6
#4e39a6
rgb(78,57,166)
-
#543eb5
#543eb5
rgb(84,62,181)
Shade Color Variation
-
#5e47c0
#5e47c0
rgb(94,71,192)
-
#6a55c5
#6a55c5
rgb(106,85,197)
-
#7764ca
#7764ca
rgb(119,100,202)
-
#8473cf
#8473cf
rgb(132,115,207)
-
#9181d4
#9181d4
rgb(145,129,212)
-
#9e90d9
#9e90d9
rgb(158,144,217)
-
#aa9ede
#aa9ede
rgb(170,158,222)
-
#b7ade3
#b7ade3
rgb(183,173,227)
-
#c4bce8
#c4bce8
rgb(196,188,232)
-
#d1caed
#d1caed
rgb(209,202,237)
-
#ddd9f2
#ddd9f2
rgb(221,217,242)
-
#eae7f7
#eae7f7
rgb(234,231,247)
-
#f7f6fc
#f7f6fc
rgb(247,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a595f is the less saturated color, while #2605b3 is the most saturated one.
-
#5a595f
#5a595f
rgb(90,89,95)
-
#565266
#565266
rgb(86,82,102)
-
#524b6d
#524b6d
rgb(82,75,109)
-
#4d4474
#4d4474
rgb(77,68,116)
-
#493d7b
#493d7b
rgb(73,61,123)
-
#443682
#443682
rgb(68,54,130)
-
#402f89
#402f89
rgb(64,47,137)
-
#3c2890
#3c2890
rgb(60,40,144)
-
#372197
#372197
rgb(55,33,151)
-
#331a9e
#331a9e
rgb(51,26,158)
-
#2e13a5
#2e13a5
rgb(46,19,165)
-
#2a0cac
#2a0cac
rgb(42,12,172)
-
#2605b3
#2605b3
rgb(38,5,179)
Tone Color Variation
Below, you can see how #402f89 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