#402f9c hex color
In a RGB color space, hex #402f9c is composed of 25.1% red, 18.4% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 59% cyan, 69.9% magenta, 0% yellow and 38.8% black. It has a hue angle of 249.4 degrees, a saturation of 53.7% and a lightness of 39.8%. #402f9c color hex could be obtained by blending #805eff with #000039. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 61
RGB color chart
-
- C 59
- M 70
- Y 0
- K 39
CMYK color chart
● #402f9c color description : Dark moderate blue.
The hexadecimal color #402f9c has RGB values of R:64, G:47, B:156 and CMYK values of C:0.59, M:0.7, Y:0, K:0.39. Its decimal value is 4206492.
Hex triplet | 402f9c | #402f9c |
---|---|---|
RGB Decimal | 64, 47, 156 | rgb(64,47,156) |
RGB Percent | 25.1, 18.4, 61.2 | rgb(25.1%,18.4%,61.2%) |
CMYK | 59, 70, 0, 39 | |
HSL | 249.4°, 53.7, 39.8 | hsl(249.4,53.7%,39.8%) |
HSV (or HSB) | 249.4°, 69.9, 61.2 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 28.176, 38.58, -56.856 |
---|---|
XYZ | 9.13, 5.523, 32.036 |
xyY | 0.196, 0.118, 5.523 |
CIE-LCH | 28.176, 68.71, 304.159 |
CIE-LUV | 28.176, -1.34, -74.741 |
Hunter-Lab | 23.501, 28.223, -64.371 |
Binary | 01000000, 00101111, 10011100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f9c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f9c
This text has a font color of #402f9c.
<span style="color:#402f9c;">Text here</span>
#402f9c background color
This paragraph has a background color of #402f9c.
<p style="background-color:#402f9c;">Content here</p>
#402f9c border color
This element has a border color of #402f9c.
<div style="border:1px solid #402f9c;">Content here</div>
CSS codes
.text {color:#402f9c;}
.background {background-color:#402f9c;}
.border {border:1px solid #402f9c;}
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, #020205 is the darkest color, while #f6f5fc is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#080614
#080614
rgb(8,6,20)
-
#0f0b23
#0f0b23
rgb(15,11,35)
-
#150f32
#150f32
rgb(21,15,50)
-
#1b1442
#1b1442
rgb(27,20,66)
-
#211851
#211851
rgb(33,24,81)
-
#271d60
#271d60
rgb(39,29,96)
-
#2d216f
#2d216f
rgb(45,33,111)
-
#34267e
#34267e
rgb(52,38,126)
-
#3a2a8d
#3a2a8d
rgb(58,42,141)
-
#402f9c
#402f9c
rgb(64,47,156)
-
#4634ab
#4634ab
rgb(70,52,171)
-
#4c38ba
#4c38ba
rgb(76,56,186)
Shade Color Variation
-
#5540c6
#5540c6
rgb(85,64,198)
-
#634fca
#634fca
rgb(99,79,202)
-
#705ecf
#705ecf
rgb(112,94,207)
-
#7d6ed3
#7d6ed3
rgb(125,110,211)
-
#8b7dd8
#8b7dd8
rgb(139,125,216)
-
#988cdc
#988cdc
rgb(152,140,220)
-
#a69be1
#a69be1
rgb(166,155,225)
-
#b3aae5
#b3aae5
rgb(179,170,229)
-
#c1b9ea
#c1b9ea
rgb(193,185,234)
-
#cec8ee
#cec8ee
rgb(206,200,238)
-
#dbd7f3
#dbd7f3
rgb(219,215,243)
-
#e9e6f8
#e9e6f8
rgb(233,230,248)
-
#f6f5fc
#f6f5fc
rgb(246,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #605e6d is the less saturated color, while #2000cb is the most saturated one.
-
#605e6d
#605e6d
rgb(96,94,109)
-
#5b5675
#5b5675
rgb(91,86,117)
-
#554e7d
#554e7d
rgb(85,78,125)
-
#504685
#504685
rgb(80,70,133)
-
#4b3f8c
#4b3f8c
rgb(75,63,140)
-
#453794
#453794
rgb(69,55,148)
-
#402f9c
#402f9c
rgb(64,47,156)
-
#3b27a4
#3b27a4
rgb(59,39,164)
-
#351fac
#351fac
rgb(53,31,172)
-
#3018b3
#3018b3
rgb(48,24,179)
-
#2b10bb
#2b10bb
rgb(43,16,187)
-
#2508c3
#2508c3
rgb(37,8,195)
-
#2000cb
#2000cb
rgb(32,0,203)
Tone Color Variation
Below, you can see how #402f9c 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