#402f74 hex color
In a RGB color space, hex #402f74 is composed of 25.1% red, 18.4% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 59.5% magenta, 0% yellow and 54.5% black. It has a hue angle of 254.8 degrees, a saturation of 42.3% and a lightness of 32%. #402f74 color hex could be obtained by blending #805ee8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 45
RGB color chart
-
- C 45
- M 59
- Y 0
- K 55
CMYK color chart
● #402f74 color description : Dark moderate blue.
The hexadecimal color #402f74 has RGB values of R:64, G:47, B:116 and CMYK values of C:0.45, M:0.59, Y:0, K:0.55. Its decimal value is 4206452.
Hex triplet | 402f74 | #402f74 |
---|---|---|
RGB Decimal | 64, 47, 116 | rgb(64,47,116) |
RGB Percent | 25.1, 18.4, 45.5 | rgb(25.1%,18.4%,45.5%) |
CMYK | 45, 59, 0, 55 | |
HSL | 254.8°, 42.3, 32 | hsl(254.8,42.3%,32%) |
HSV (or HSB) | 254.8°, 59.5, 45.5 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 24.902, 25.863, -37.252 |
---|---|
XYZ | 6.283, 4.384, 17.037 |
xyY | 0.227, 0.158, 4.384 |
CIE-LCH | 24.902, 45.35, 304.771 |
CIE-LUV | 24.902, 2.014, -47.899 |
Hunter-Lab | 20.938, 16.921, -33.588 |
Binary | 01000000, 00101111, 01110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f74. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f74
This text has a font color of #402f74.
<span style="color:#402f74;">Text here</span>
#402f74 background color
This paragraph has a background color of #402f74.
<p style="background-color:#402f74;">Content here</p>
#402f74 border color
This element has a border color of #402f74.
<div style="border:1px solid #402f74;">Content here</div>
CSS codes
.text {color:#402f74;}
.background {background-color:#402f74;}
.border {border:1px solid #402f74;}
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, #020204 is the darkest color, while #f7f5fb is the lightest one.
-
#020204
#020204
rgb(2,2,4)
-
#0a0712
#0a0712
rgb(10,7,18)
-
#120d20
#120d20
rgb(18,13,32)
-
#19132e
#19132e
rgb(25,19,46)
-
#21183c
#21183c
rgb(33,24,60)
-
#291e4a
#291e4a
rgb(41,30,74)
-
#312458
#312458
rgb(49,36,88)
-
#382966
#382966
rgb(56,41,102)
-
#402f74
#402f74
rgb(64,47,116)
-
#483582
#483582
rgb(72,53,130)
-
#4f3a90
#4f3a90
rgb(79,58,144)
-
#57409e
#57409e
rgb(87,64,158)
-
#5f46ac
#5f46ac
rgb(95,70,172)
Shade Color Variation
-
#684eb7
#684eb7
rgb(104,78,183)
-
#745cbd
#745cbd
rgb(116,92,189)
-
#806ac3
#806ac3
rgb(128,106,195)
-
#8c78c8
#8c78c8
rgb(140,120,200)
-
#9786ce
#9786ce
rgb(151,134,206)
-
#a394d4
#a394d4
rgb(163,148,212)
-
#afa2d9
#afa2d9
rgb(175,162,217)
-
#bbb0df
#bbb0df
rgb(187,176,223)
-
#c7bee4
#c7bee4
rgb(199,190,228)
-
#d3cbea
#d3cbea
rgb(211,203,234)
-
#dfd9f0
#dfd9f0
rgb(223,217,240)
-
#ebe7f5
#ebe7f5
rgb(235,231,245)
-
#f7f5fb
#f7f5fb
rgb(247,245,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #504e55 is the less saturated color, while #2a03a0 is the most saturated one.
-
#504e55
#504e55
rgb(80,78,85)
-
#4d485b
#4d485b
rgb(77,72,91)
-
#4a4261
#4a4261
rgb(74,66,97)
-
#463c67
#463c67
rgb(70,60,103)
-
#43356e
#43356e
rgb(67,53,110)
-
#402f74
#402f74
rgb(64,47,116)
-
#3d297a
#3d297a
rgb(61,41,122)
-
#3a2281
#3a2281
rgb(58,34,129)
-
#361c87
#361c87
rgb(54,28,135)
-
#33168d
#33168d
rgb(51,22,141)
-
#301093
#301093
rgb(48,16,147)
-
#2d099a
#2d099a
rgb(45,9,154)
-
#2a03a0
#2a03a0
rgb(42,3,160)
Tone Color Variation
Below, you can see how #402f74 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