#402fb1 hex color
In a RGB color space, hex #402fb1 is composed of 25.1% red, 18.4% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 63.8% cyan, 73.4% magenta, 0% yellow and 30.6% black. It has a hue angle of 247.8 degrees, a saturation of 58% and a lightness of 43.9%. #402fb1 color hex could be obtained by blending #805eff with #000063. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 69
RGB color chart
-
- C 64
- M 73
- Y 0
- K 31
CMYK color chart
● #402fb1 color description : Dark blue.
The hexadecimal color #402fb1 has RGB values of R:64, G:47, B:177 and CMYK values of C:0.64, M:0.73, Y:0, K:0.31. Its decimal value is 4206513.
Hex triplet | 402fb1 | #402fb1 |
---|---|---|
RGB Decimal | 64, 47, 177 | rgb(64,47,177) |
RGB Percent | 25.1, 18.4, 69.4 | rgb(25.1%,18.4%,69.4%) |
CMYK | 64, 73, 0, 31 | |
HSL | 247.8°, 58, 43.9 | hsl(247.8,58%,43.9%) |
HSV (or HSB) | 247.8°, 73.4, 69.4 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 30.149, 45.222, -66.28 |
---|---|
XYZ | 11.065, 6.297, 42.225 |
xyY | 0.186, 0.106, 6.297 |
CIE-LCH | 30.149, 80.237, 304.306 |
CIE-LUV | 30.149, -2.83, -87.899 |
Hunter-Lab | 25.094, 34.797, -82.202 |
Binary | 01000000, 00101111, 10110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402fb1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402fb1
This text has a font color of #402fb1.
<span style="color:#402fb1;">Text here</span>
#402fb1 background color
This paragraph has a background color of #402fb1.
<p style="background-color:#402fb1;">Content here</p>
#402fb1 border color
This element has a border color of #402fb1.
<div style="border:1px solid #402fb1;">Content here</div>
CSS codes
.text {color:#402fb1;}
.background {background-color:#402fb1;}
.border {border:1px solid #402fb1;}
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, #020207 is the darkest color, while #f7f6fd is the lightest one.
-
#020207
#020207
rgb(2,2,7)
-
#080616
#080616
rgb(8,6,22)
-
#0e0a26
#0e0a26
rgb(14,10,38)
-
#130e35
#130e35
rgb(19,14,53)
-
#191245
#191245
rgb(25,18,69)
-
#1e1654
#1e1654
rgb(30,22,84)
-
#241a64
#241a64
rgb(36,26,100)
-
#2a1f73
#2a1f73
rgb(42,31,115)
-
#2f2383
#2f2383
rgb(47,35,131)
-
#352792
#352792
rgb(53,39,146)
-
#3a2ba2
#3a2ba2
rgb(58,43,162)
-
#402fb1
#402fb1
rgb(64,47,177)
-
#4633c0
#4633c0
rgb(70,51,192)
Shade Color Variation
-
#4f3ccb
#4f3ccb
rgb(79,60,203)
-
#5d4ccf
#5d4ccf
rgb(93,76,207)
-
#6b5bd3
#6b5bd3
rgb(107,91,211)
-
#796bd8
#796bd8
rgb(121,107,216)
-
#877adc
#877adc
rgb(135,122,220)
-
#958ae0
#958ae0
rgb(149,138,224)
-
#a399e4
#a399e4
rgb(163,153,228)
-
#b1a9e8
#b1a9e8
rgb(177,169,232)
-
#bfb8ec
#bfb8ec
rgb(191,184,236)
-
#cdc8f0
#cdc8f0
rgb(205,200,240)
-
#dbd7f4
#dbd7f4
rgb(219,215,244)
-
#e9e7f8
#e9e7f8
rgb(233,231,248)
-
#f7f6fd
#f7f6fd
rgb(247,246,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6d6b75 is the less saturated color, while #2004dc is the most saturated one.
-
#6d6b75
#6d6b75
rgb(109,107,117)
-
#66637d
#66637d
rgb(102,99,125)
-
#605a86
#605a86
rgb(96,90,134)
-
#59518f
#59518f
rgb(89,81,143)
-
#534997
#534997
rgb(83,73,151)
-
#4d40a0
#4d40a0
rgb(77,64,160)
-
#4638a8
#4638a8
rgb(70,56,168)
-
#402fb1
#402fb1
rgb(64,47,177)
-
#3a26ba
#3a26ba
rgb(58,38,186)
-
#331ec2
#331ec2
rgb(51,30,194)
-
#2d15cb
#2d15cb
rgb(45,21,203)
-
#270dd3
#270dd3
rgb(39,13,211)
-
#2004dc
#2004dc
rgb(32,4,220)
Tone Color Variation
Below, you can see how #402fb1 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