#402ab7 hex color
In a RGB color space, hex #402ab7 is composed of 25.1% red, 16.5% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 65% cyan, 77% magenta, 0% yellow and 28.2% black. It has a hue angle of 249.4 degrees, a saturation of 62.7% and a lightness of 44.1%. #402ab7 color hex could be obtained by blending #8054ff with #00006f. Closest websafe color is: #3333cc.
-
- R 25
- G 16
- B 72
RGB color chart
-
- C 65
- M 77
- Y 0
- K 28
CMYK color chart
● #402ab7 color description : Strong blue.
The hexadecimal color #402ab7 has RGB values of R:64, G:42, B:183 and CMYK values of C:0.65, M:0.77, Y:0, K:0.28. Its decimal value is 4205239.
Hex triplet | 402ab7 | #402ab7 |
---|---|---|
RGB Decimal | 64, 42, 183 | rgb(64,42,183) |
RGB Percent | 25.1, 16.5, 71.8 | rgb(25.1%,16.5%,71.8%) |
CMYK | 65, 77, 0, 28 | |
HSL | 249.4°, 62.7, 44.1 | hsl(249.4,62.7%,44.1%) |
HSV (or HSB) | 249.4°, 77, 71.8 | |
Web Safe | 3333cc | #3333cc |
CIE-LAB | 29.823, 49.699, -70.389 |
---|---|
XYZ | 11.488, 6.164, 45.382 |
xyY | 0.182, 0.098, 6.164 |
CIE-LCH | 29.823, 86.166, 305.224 |
CIE-LUV | 29.823, -2.502, -91.99 |
Hunter-Lab | 24.828, 39.143, -90.993 |
Binary | 01000000, 00101010, 10110111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402ab7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402ab7
This text has a font color of #402ab7.
<span style="color:#402ab7;">Text here</span>
#402ab7 background color
This paragraph has a background color of #402ab7.
<p style="background-color:#402ab7;">Content here</p>
#402ab7 border color
This element has a border color of #402ab7.
<div style="border:1px solid #402ab7;">Content here</div>
CSS codes
.text {color:#402ab7;}
.background {background-color:#402ab7;}
.border {border:1px solid #402ab7;}
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, #030208 is the darkest color, while #f8f7fd is the lightest one.
-
#030208
#030208
rgb(3,2,8)
-
#080517
#080517
rgb(8,5,23)
-
#0e0927
#0e0927
rgb(14,9,39)
-
#130d37
#130d37
rgb(19,13,55)
-
#191047
#191047
rgb(25,16,71)
-
#1f1457
#1f1457
rgb(31,20,87)
-
#241867
#241867
rgb(36,24,103)
-
#2a1b77
#2a1b77
rgb(42,27,119)
-
#2f1f87
#2f1f87
rgb(47,31,135)
-
#352397
#352397
rgb(53,35,151)
-
#3a26a7
#3a26a7
rgb(58,38,167)
-
#402ab7
#402ab7
rgb(64,42,183)
-
#462ec7
#462ec7
rgb(70,46,199)
Shade Color Variation
-
#4f37d1
#4f37d1
rgb(79,55,209)
-
#5d47d5
#5d47d5
rgb(93,71,213)
-
#6b57d8
#6b57d8
rgb(107,87,216)
-
#7967dc
#7967dc
rgb(121,103,220)
-
#8777e0
#8777e0
rgb(135,119,224)
-
#9587e3
#9587e3
rgb(149,135,227)
-
#a397e7
#a397e7
rgb(163,151,231)
-
#b1a7eb
#b1a7eb
rgb(177,167,235)
-
#bfb7ee
#bfb7ee
rgb(191,183,238)
-
#cdc7f2
#cdc7f2
rgb(205,199,242)
-
#dbd7f6
#dbd7f6
rgb(219,215,246)
-
#eae7f9
#eae7f9
rgb(234,231,249)
-
#f8f7fd
#f8f7fd
rgb(248,247,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #706f72 is the less saturated color, while #2807da is the most saturated one.
-
#706f72
#706f72
rgb(112,111,114)
-
#6a677a
#6a677a
rgb(106,103,122)
-
#645e83
#645e83
rgb(100,94,131)
-
#5e558c
#5e558c
rgb(94,85,140)
-
#584d94
#584d94
rgb(88,77,148)
-
#52449d
#52449d
rgb(82,68,157)
-
#4c3ba6
#4c3ba6
rgb(76,59,166)
-
#4633ae
#4633ae
rgb(70,51,174)
-
#402ab7
#402ab7
rgb(64,42,183)
-
#3a21c0
#3a21c0
rgb(58,33,192)
-
#3419c8
#3419c8
rgb(52,25,200)
-
#2e10d1
#2e10d1
rgb(46,16,209)
-
#2807da
#2807da
rgb(40,7,218)
Tone Color Variation
Below, you can see how #402ab7 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