#402f9e hex color
In a RGB color space, hex #402f9e is composed of 25.1% red, 18.4% green and 62% blue. Whereas in a CMYK color space, it is composed of 59.5% cyan, 70.3% magenta, 0% yellow and 38% black. It has a hue angle of 249.2 degrees, a saturation of 54.1% and a lightness of 40.2%. #402f9e color hex could be obtained by blending #805eff with #00003d. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 62
RGB color chart
-
- C 59
- M 70
- Y 0
- K 38
CMYK color chart
● #402f9e color description : Dark blue.
The hexadecimal color #402f9e has RGB values of R:64, G:47, B:158 and CMYK values of C:0.59, M:0.7, Y:0, K:0.38. Its decimal value is 4206494.
Hex triplet | 402f9e | #402f9e |
---|---|---|
RGB Decimal | 64, 47, 158 | rgb(64,47,158) |
RGB Percent | 25.1, 18.4, 62 | rgb(25.1%,18.4%,62%) |
CMYK | 59, 70, 0, 38 | |
HSL | 249.2°, 54.1, 40.2 | hsl(249.2,54.1%,40.2%) |
HSV (or HSB) | 249.2°, 70.3, 62 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 28.357, 39.217, -57.777 |
---|---|
XYZ | 9.301, 5.591, 32.935 |
xyY | 0.194, 0.117, 5.591 |
CIE-LCH | 28.357, 69.83, 304.168 |
CIE-LUV | 28.357, -1.489, -76.018 |
Hunter-Lab | 23.646, 28.833, -66.029 |
Binary | 01000000, 00101111, 10011110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f9e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f9e
This text has a font color of #402f9e.
<span style="color:#402f9e;">Text here</span>
#402f9e background color
This paragraph has a background color of #402f9e.
<p style="background-color:#402f9e;">Content here</p>
#402f9e border color
This element has a border color of #402f9e.
<div style="border:1px solid #402f9e;">Content here</div>
CSS codes
.text {color:#402f9e;}
.background {background-color:#402f9e;}
.border {border:1px solid #402f9e;}
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, #030207 is the darkest color, while #f8f7fd is the lightest one.
-
#030207
#030207
rgb(3,2,7)
-
#090716
#090716
rgb(9,7,22)
-
#0f0b25
#0f0b25
rgb(15,11,37)
-
#151034
#151034
rgb(21,16,52)
-
#1b1443
#1b1443
rgb(27,20,67)
-
#211952
#211952
rgb(33,25,82)
-
#281d62
#281d62
rgb(40,29,98)
-
#2e2271
#2e2271
rgb(46,34,113)
-
#342680
#342680
rgb(52,38,128)
-
#3a2b8f
#3a2b8f
rgb(58,43,143)
-
#402f9e
#402f9e
rgb(64,47,158)
-
#4633ad
#4633ad
rgb(70,51,173)
-
#4c38bc
#4c38bc
rgb(76,56,188)
Shade Color Variation
-
#5641c7
#5641c7
rgb(86,65,199)
-
#6350cb
#6350cb
rgb(99,80,203)
-
#7160d0
#7160d0
rgb(113,96,208)
-
#7e6fd4
#7e6fd4
rgb(126,111,212)
-
#8c7ed9
#8c7ed9
rgb(140,126,217)
-
#998ddd
#998ddd
rgb(153,141,221)
-
#a79ce2
#a79ce2
rgb(167,156,226)
-
#b4abe6
#b4abe6
rgb(180,171,230)
-
#c2baeb
#c2baeb
rgb(194,186,235)
-
#cfc9ef
#cfc9ef
rgb(207,201,239)
-
#ddd8f4
#ddd8f4
rgb(221,216,244)
-
#eae8f8
#eae8f8
rgb(234,232,248)
-
#f8f7fd
#f8f7fd
rgb(248,247,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #666667 is the less saturated color, while #2508c5 is the most saturated one.
-
#666667
#666667
rgb(102,102,103)
-
#615e6f
#615e6f
rgb(97,94,111)
-
#5b5677
#5b5677
rgb(91,86,119)
-
#564f7e
#564f7e
rgb(86,79,126)
-
#504786
#504786
rgb(80,71,134)
-
#4b3f8e
#4b3f8e
rgb(75,63,142)
-
#453796
#453796
rgb(69,55,150)
-
#402f9e
#402f9e
rgb(64,47,158)
-
#3b27a6
#3b27a6
rgb(59,39,166)
-
#351fae
#351fae
rgb(53,31,174)
-
#3017b6
#3017b6
rgb(48,23,182)
-
#2a0fbe
#2a0fbe
rgb(42,15,190)
-
#2508c5
#2508c5
rgb(37,8,197)
Tone Color Variation
Below, you can see how #402f9e 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