#402a87 hex color
In a RGB color space, hex #402a87 is composed of 25.1% red, 16.5% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 52.6% cyan, 68.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 254.2 degrees, a saturation of 52.5% and a lightness of 34.7%. #402a87 color hex could be obtained by blending #8054ff with #00000f. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 53
RGB color chart
-
- C 53
- M 69
- Y 0
- K 47
CMYK color chart
● #402a87 color description : Dark moderate blue.
The hexadecimal color #402a87 has RGB values of R:64, G:42, B:135 and CMYK values of C:0.53, M:0.69, Y:0, K:0.47. Its decimal value is 4205191.
Hex triplet | 402a87 | #402a87 |
---|---|---|
RGB Decimal | 64, 42, 135 | rgb(64,42,135) |
RGB Percent | 25.1, 16.5, 52.9 | rgb(25.1%,16.5%,52.9%) |
CMYK | 53, 69, 0, 47 | |
HSL | 254.2°, 52.5, 34.7 | hsl(254.2,52.5%,34.7%) |
HSV (or HSB) | 254.2°, 68.9, 52.9 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.245, 34.899, -48.69 |
---|---|
XYZ | 7.315, 4.495, 23.403 |
xyY | 0.208, 0.128, 4.495 |
CIE-LCH | 25.245, 59.906, 305.631 |
CIE-LUV | 25.245, 1.318, -62.103 |
Hunter-Lab | 21.201, 24.481, -50.604 |
Binary | 01000000, 00101010, 10000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402a87. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402a87
This text has a font color of #402a87.
<span style="color:#402a87;">Text here</span>
#402a87 background color
This paragraph has a background color of #402a87.
<p style="background-color:#402a87;">Content here</p>
#402a87 border color
This element has a border color of #402a87.
<div style="border:1px solid #402a87;">Content here</div>
CSS codes
.text {color:#402a87;}
.background {background-color:#402a87;}
.border {border:1px solid #402a87;}
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, #000000 is the darkest color, while #f3f0fa is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#07050f
#07050f
rgb(7,5,15)
-
#0e091e
#0e091e
rgb(14,9,30)
-
#150e2d
#150e2d
rgb(21,14,45)
-
#1d133c
#1d133c
rgb(29,19,60)
-
#24174b
#24174b
rgb(36,23,75)
-
#2b1c5a
#2b1c5a
rgb(43,28,90)
-
#322169
#322169
rgb(50,33,105)
-
#392578
#392578
rgb(57,37,120)
-
#402a87
#402a87
rgb(64,42,135)
-
#472f96
#472f96
rgb(71,47,150)
-
#4e33a5
#4e33a5
rgb(78,51,165)
-
#5538b4
#5538b4
rgb(85,56,180)
Shade Color Variation
-
#5c3dc3
#5c3dc3
rgb(92,61,195)
-
#694cc7
#694cc7
rgb(105,76,199)
-
#765bcc
#765bcc
rgb(118,91,204)
-
#826ad1
#826ad1
rgb(130,106,209)
-
#8f79d5
#8f79d5
rgb(143,121,213)
-
#9b88da
#9b88da
rgb(155,136,218)
-
#a897df
#a897df
rgb(168,151,223)
-
#b4a6e3
#b4a6e3
rgb(180,166,227)
-
#c1b5e8
#c1b5e8
rgb(193,181,232)
-
#cdc4ec
#cdc4ec
rgb(205,196,236)
-
#dad2f1
#dad2f1
rgb(218,210,241)
-
#e6e1f6
#e6e1f6
rgb(230,225,246)
-
#f3f0fa
#f3f0fa
rgb(243,240,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #56535e is the less saturated color, while #2a01b0 is the most saturated one.
-
#56535e
#56535e
rgb(86,83,94)
-
#524c65
#524c65
rgb(82,76,101)
-
#4e456c
#4e456c
rgb(78,69,108)
-
#4b3e73
#4b3e73
rgb(75,62,115)
-
#473879
#473879
rgb(71,56,121)
-
#443180
#443180
rgb(68,49,128)
-
#402a87
#402a87
rgb(64,42,135)
-
#3c238e
#3c238e
rgb(60,35,142)
-
#391c95
#391c95
rgb(57,28,149)
-
#35169b
#35169b
rgb(53,22,155)
-
#320fa2
#320fa2
rgb(50,15,162)
-
#2e08a9
#2e08a9
rgb(46,8,169)
-
#2a01b0
#2a01b0
rgb(42,1,176)
Tone Color Variation
Below, you can see how #402a87 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