#402a8d Color Information
In a RGB color space, hex #402a8d is composed of 25.1% red, 16.5% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 70.2% magenta, 0% yellow and 44.7% black. It has a hue angle of 253.3 degrees, a saturation of 54.1% and a lightness of 35.9%. #402a8d color hex could be obtained by blending #8054ff with #00001b. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 55
-
- C 55
- M 70
- Y 0
- K 45
● #402a8d color description : Dark blue.
#402a8d Color Conversion
The hexadecimal color #402a8d has RGB values of R:64, G:42, B:141 and CMYK values of C:0.55, M:0.7, Y:0, K:0.45. Its decimal value is 4205197.
Hex triplet | 402a8d | #402a8d |
---|---|---|
RGB Decimal | 64, 42, 141 | rgb(64,42,141) |
RGB Percent | 25.1, 16.5, 55.3 | rgb(25.1%,16.5%,55.3%) |
CMYK | 55, 70, 0, 45 | |
HSL | 253.3°, 54.1, 35.9 | hsl(253.3,54.1%,35.9%) |
HSV (or HSB) | 253.3°, 70.2, 55.3 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.77, 36.767, -51.569 |
---|---|
XYZ | 7.749, 4.669, 25.691 |
xyY | 0.203, 0.123, 4.669 |
CIE-LCH | 25.77, 63.334, 305.487 |
CIE-LUV | 25.77, 0.78, -65.992 |
Hunter-Lab | 21.607, 26.203, -55.369 |
Binary | 01000000, 00101010, 10001101 |
Color Schemes with #402a8d
Alternatives to #402a8d
Below, you can see some colors close to #402a8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a8d Preview
This text has a font color of #402a8d.
<span style="color:#402a8d;">Text here</span>
This paragraph has a background color of #402a8d.
<p style="background-color:#402a8d;">Content here</p>
This element has a border color of #402a8d.
<div style="border:1px solid #402a8d;">Content here</div>
.text {color:#402a8d;}
.background {background-color:#402a8d;}
.border {border:1px solid #402a8d;}
Shades and Tints of #402a8d
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, #020105 is the darkest color, while #f6f5fc is the lightest one.
-
#020105
#020105
rgb(2,1,5)
-
#090614
#090614
rgb(9,6,20)
-
#100a23
#100a23
rgb(16,10,35)
-
#170f32
#170f32
rgb(23,15,50)
-
#1e1341
#1e1341
rgb(30,19,65)
-
#251851
#251851
rgb(37,24,81)
-
#2b1c60
#2b1c60
rgb(43,28,96)
-
#32216f
#32216f
rgb(50,33,111)
-
#39257e
#39257e
rgb(57,37,126)
-
#402a8d
#402a8d
rgb(64,42,141)
-
#472f9c
#472f9c
rgb(71,47,156)
-
#4e33ab
#4e33ab
rgb(78,51,171)
-
#5538ba
#5538ba
rgb(85,56,186)
-
#5d40c6
#5d40c6
rgb(93,64,198)
-
#6a4fca
#6a4fca
rgb(106,79,202)
-
#775ecf
#775ecf
rgb(119,94,207)
-
#846dd3
#846dd3
rgb(132,109,211)
-
#907cd8
#907cd8
rgb(144,124,216)
-
#9d8bdc
#9d8bdc
rgb(157,139,220)
-
#aa9ae1
#aa9ae1
rgb(170,154,225)
-
#b7a9e5
#b7a9e5
rgb(183,169,229)
-
#c3b8ea
#c3b8ea
rgb(195,184,234)
-
#d0c8ee
#d0c8ee
rgb(208,200,238)
-
#ddd7f3
#ddd7f3
rgb(221,215,243)
-
#eae6f7
#eae6f7
rgb(234,230,247)
-
#f6f5fc
#f6f5fc
rgb(246,245,252)
Tones of #402a8d
A tone is produced by adding gray to any pure hue. In this case, #5b5b5c is the less saturated color, while #2c07b0 is the most saturated one.
-
#5b5b5c
#5b5b5c
rgb(91,91,92)
-
#575463
#575463
rgb(87,84,99)
-
#544d6a
#544d6a
rgb(84,77,106)
-
#504671
#504671
rgb(80,70,113)
-
#4c3f78
#4c3f78
rgb(76,63,120)
-
#48387f
#48387f
rgb(72,56,127)
-
#443186
#443186
rgb(68,49,134)
-
#402a8d
#402a8d
rgb(64,42,141)
-
#3c2394
#3c2394
rgb(60,35,148)
-
#381c9b
#381c9b
rgb(56,28,155)
-
#3415a2
#3415a2
rgb(52,21,162)
-
#300ea9
#300ea9
rgb(48,14,169)
-
#2c07b0
#2c07b0
rgb(44,7,176)
Color Blindness Simulator
Below, you can see how #402a8d 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.