#402f78 hex color
In a RGB color space, hex #402f78 is composed of 25.1% red, 18.4% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 60.8% magenta, 0% yellow and 52.9% black. It has a hue angle of 254 degrees, a saturation of 43.7% and a lightness of 32.7%. #402f78 color hex could be obtained by blending #805ef0 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 47
RGB color chart
-
- C 47
- M 61
- Y 0
- K 53
CMYK color chart
● #402f78 color description : Dark moderate blue.
The hexadecimal color #402f78 has RGB values of R:64, G:47, B:120 and CMYK values of C:0.47, M:0.61, Y:0, K:0.53. Its decimal value is 4206456.
Hex triplet | 402f78 | #402f78 |
---|---|---|
RGB Decimal | 64, 47, 120 | rgb(64,47,120) |
RGB Percent | 25.1, 18.4, 47.1 | rgb(25.1%,18.4%,47.1%) |
CMYK | 47, 61, 0, 53 | |
HSL | 254°, 43.7, 32.7 | hsl(254,43.7%,32.7%) |
HSV (or HSB) | 254°, 60.8, 47.1 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 25.196, 27.116, -39.324 |
---|---|
XYZ | 6.52, 4.479, 18.289 |
xyY | 0.223, 0.153, 4.479 |
CIE-LCH | 25.196, 47.766, 304.588 |
CIE-LUV | 25.196, 1.643, -50.707 |
Hunter-Lab | 21.164, 17.959, -36.423 |
Binary | 01000000, 00101111, 01111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f78. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f78
This text has a font color of #402f78.
<span style="color:#402f78;">Text here</span>
#402f78 background color
This paragraph has a background color of #402f78.
<p style="background-color:#402f78;">Content here</p>
#402f78 border color
This element has a border color of #402f78.
<div style="border:1px solid #402f78;">Content here</div>
CSS codes
.text {color:#402f78;}
.background {background-color:#402f78;}
.border {border:1px solid #402f78;}
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, #040307 is the darkest color, while #f9f8fc is the lightest one.
-
#040307
#040307
rgb(4,3,7)
-
#0b0815
#0b0815
rgb(11,8,21)
-
#130e23
#130e23
rgb(19,14,35)
-
#1a1332
#1a1332
rgb(26,19,50)
-
#221940
#221940
rgb(34,25,64)
-
#291e4e
#291e4e
rgb(41,30,78)
-
#31245c
#31245c
rgb(49,36,92)
-
#38296a
#38296a
rgb(56,41,106)
-
#402f78
#402f78
rgb(64,47,120)
-
#483586
#483586
rgb(72,53,134)
-
#4f3a94
#4f3a94
rgb(79,58,148)
-
#5740a2
#5740a2
rgb(87,64,162)
-
#5e45b0
#5e45b0
rgb(94,69,176)
Shade Color Variation
-
#684fba
#684fba
rgb(104,79,186)
-
#745dc0
#745dc0
rgb(116,93,192)
-
#806bc5
#806bc5
rgb(128,107,197)
-
#8c79cb
#8c79cb
rgb(140,121,203)
-
#9887d0
#9887d0
rgb(152,135,208)
-
#a495d6
#a495d6
rgb(164,149,214)
-
#b1a4db
#b1a4db
rgb(177,164,219)
-
#bdb2e1
#bdb2e1
rgb(189,178,225)
-
#c9c0e6
#c9c0e6
rgb(201,192,230)
-
#d5ceec
#d5ceec
rgb(213,206,236)
-
#e1dcf1
#e1dcf1
rgb(225,220,241)
-
#edeaf7
#edeaf7
rgb(237,234,247)
-
#f9f8fc
#f9f8fc
rgb(249,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #514f58 is the less saturated color, while #2802a5 is the most saturated one.
-
#514f58
#514f58
rgb(81,79,88)
-
#4e495e
#4e495e
rgb(78,73,94)
-
#4a4265
#4a4265
rgb(74,66,101)
-
#473c6b
#473c6b
rgb(71,60,107)
-
#433572
#433572
rgb(67,53,114)
-
#402f78
#402f78
rgb(64,47,120)
-
#3d297e
#3d297e
rgb(61,41,126)
-
#392285
#392285
rgb(57,34,133)
-
#361c8b
#361c8b
rgb(54,28,139)
-
#321592
#321592
rgb(50,21,146)
-
#2f0f98
#2f0f98
rgb(47,15,152)
-
#2b089f
#2b089f
rgb(43,8,159)
-
#2802a5
#2802a5
rgb(40,2,165)
Tone Color Variation
Below, you can see how #402f78 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