#402fb6 hex color
In a RGB color space, hex #402fb6 is composed of 25.1% red, 18.4% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 64.8% cyan, 74.2% magenta, 0% yellow and 28.6% black. It has a hue angle of 247.6 degrees, a saturation of 59% and a lightness of 44.9%. #402fb6 color hex could be obtained by blending #805eff with #00006d. Closest websafe color is: #3333cc.
-
- R 25
- G 18
- B 71
RGB color chart
-
- C 65
- M 74
- Y 0
- K 29
CMYK color chart
● #402fb6 color description : Moderate blue.
The hexadecimal color #402fb6 has RGB values of R:64, G:47, B:182 and CMYK values of C:0.65, M:0.74, Y:0, K:0.29. Its decimal value is 4206518.
Hex triplet | 402fb6 | #402fb6 |
---|---|---|
RGB Decimal | 64, 47, 182 | rgb(64,47,182) |
RGB Percent | 25.1, 18.4, 71.4 | rgb(25.1%,18.4%,71.4%) |
CMYK | 65, 74, 0, 29 | |
HSL | 247.6°, 59, 44.9 | hsl(247.6,59%,44.9%) |
HSV (or HSB) | 247.6°, 74.2, 71.4 | |
Web Safe | 3333cc | #3333cc |
CIE-LAB | 30.64, 46.784, -68.449 |
---|---|
XYZ | 11.573, 6.5, 44.898 |
xyY | 0.184, 0.103, 6.5 |
CIE-LCH | 30.64, 82.91, 304.352 |
CIE-LUV | 30.64, -3.163, -90.959 |
Hunter-Lab | 25.495, 36.409, -86.567 |
Binary | 01000000, 00101111, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402fb6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402fb6
This text has a font color of #402fb6.
<span style="color:#402fb6;">Text here</span>
#402fb6 background color
This paragraph has a background color of #402fb6.
<p style="background-color:#402fb6;">Content here</p>
#402fb6 border color
This element has a border color of #402fb6.
<div style="border:1px solid #402fb6;">Content here</div>
CSS codes
.text {color:#402fb6;}
.background {background-color:#402fb6;}
.border {border:1px solid #402fb6;}
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, #04030b is the darkest color, while #fafafe is the lightest one.
-
#04030b
#04030b
rgb(4,3,11)
-
#09071a
#09071a
rgb(9,7,26)
-
#0f0b2a
#0f0b2a
rgb(15,11,42)
-
#140f39
#140f39
rgb(20,15,57)
-
#1a1349
#1a1349
rgb(26,19,73)
-
#1f1758
#1f1758
rgb(31,23,88)
-
#251b68
#251b68
rgb(37,27,104)
-
#2a1f78
#2a1f78
rgb(42,31,120)
-
#302387
#302387
rgb(48,35,135)
-
#352797
#352797
rgb(53,39,151)
-
#3b2ba6
#3b2ba6
rgb(59,43,166)
-
#402fb6
#402fb6
rgb(64,47,182)
-
#4533c6
#4533c6
rgb(69,51,198)
Shade Color Variation
-
#513fcd
#513fcd
rgb(81,63,205)
-
#5f4ed1
#5f4ed1
rgb(95,78,209)
-
#6d5ed5
#6d5ed5
rgb(109,94,213)
-
#7b6ed9
#7b6ed9
rgb(123,110,217)
-
#897ddd
#897ddd
rgb(137,125,221)
-
#978de2
#978de2
rgb(151,141,226)
-
#a69ce6
#a69ce6
rgb(166,156,230)
-
#b4acea
#b4acea
rgb(180,172,234)
-
#c2bcee
#c2bcee
rgb(194,188,238)
-
#d0cbf2
#d0cbf2
rgb(208,203,242)
-
#dedbf6
#dedbf6
rgb(222,219,246)
-
#eceafa
#eceafa
rgb(236,234,250)
-
#fafafe
#fafafe
rgb(250,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6e6d78 is the less saturated color, while #1f03e2 is the most saturated one.
-
#6e6d78
#6e6d78
rgb(110,109,120)
-
#686481
#686481
rgb(104,100,129)
-
#615b8a
#615b8a
rgb(97,91,138)
-
#5a5293
#5a5293
rgb(90,82,147)
-
#54499c
#54499c
rgb(84,73,156)
-
#4d41a4
#4d41a4
rgb(77,65,164)
-
#4738ad
#4738ad
rgb(71,56,173)
-
#402fb6
#402fb6
rgb(64,47,182)
-
#3926bf
#3926bf
rgb(57,38,191)
-
#331dc8
#331dc8
rgb(51,29,200)
-
#2c15d0
#2c15d0
rgb(44,21,208)
-
#260cd9
#260cd9
rgb(38,12,217)
-
#1f03e2
#1f03e2
rgb(31,3,226)
Tone Color Variation
Below, you can see how #402fb6 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