#402a8f Color Information
In a RGB color space, hex #402a8f is composed of 25.1% red, 16.5% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 70.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 253.1 degrees, a saturation of 54.6% and a lightness of 36.3%. #402a8f color hex could be obtained by blending #8054ff with #00001f. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 56
-
- C 55
- M 71
- Y 0
- K 44
● #402a8f color description : Dark blue.
#402a8f Color Conversion
The hexadecimal color #402a8f has RGB values of R:64, G:42, B:143 and CMYK values of C:0.55, M:0.71, Y:0, K:0.44. Its decimal value is 4205199.
Hex triplet | 402a8f | #402a8f |
---|---|---|
RGB Decimal | 64, 42, 143 | rgb(64,42,143) |
RGB Percent | 25.1, 16.5, 56.1 | rgb(25.1%,16.5%,56.1%) |
CMYK | 55, 71, 0, 44 | |
HSL | 253.1°, 54.6, 36.3 | hsl(253.1,54.6%,36.3%) |
HSV (or HSB) | 253.1°, 70.6, 56.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.948, 37.389, -52.517 |
---|---|
XYZ | 7.899, 4.729, 26.482 |
xyY | 0.202, 0.121, 4.729 |
CIE-LCH | 25.948, 64.467, 305.449 |
CIE-LUV | 25.948, 0.605, -67.276 |
Hunter-Lab | 21.746, 26.785, -56.979 |
Binary | 01000000, 00101010, 10001111 |
Color Schemes with #402a8f
Alternatives to #402a8f
Below, you can see some colors close to #402a8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a8f Preview
This text has a font color of #402a8f.
<span style="color:#402a8f;">Text here</span>
This paragraph has a background color of #402a8f.
<p style="background-color:#402a8f;">Content here</p>
This element has a border color of #402a8f.
<div style="border:1px solid #402a8f;">Content here</div>
.text {color:#402a8f;}
.background {background-color:#402a8f;}
.border {border:1px solid #402a8f;}
Shades and Tints of #402a8f
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, #030207 is the darkest color, while #f8f6fc is the lightest one.
-
#030207
#030207
rgb(3,2,7)
-
#0a0616
#0a0616
rgb(10,6,22)
-
#100b25
#100b25
rgb(16,11,37)
-
#170f34
#170f34
rgb(23,15,52)
-
#1e1443
#1e1443
rgb(30,20,67)
-
#251852
#251852
rgb(37,24,82)
-
#2c1d62
#2c1d62
rgb(44,29,98)
-
#322171
#322171
rgb(50,33,113)
-
#392680
#392680
rgb(57,38,128)
-
#402a8f
#402a8f
rgb(64,42,143)
-
#472e9e
#472e9e
rgb(71,46,158)
-
#4e33ad
#4e33ad
rgb(78,51,173)
-
#5437bc
#5437bc
rgb(84,55,188)
-
#5e40c7
#5e40c7
rgb(94,64,199)
-
#6b50cb
#6b50cb
rgb(107,80,203)
-
#775fd0
#775fd0
rgb(119,95,208)
-
#846ed4
#846ed4
rgb(132,110,212)
-
#917dd9
#917dd9
rgb(145,125,217)
-
#9e8cdd
#9e8cdd
rgb(158,140,221)
-
#ab9be2
#ab9be2
rgb(171,155,226)
-
#b8abe6
#b8abe6
rgb(184,171,230)
-
#c4baeb
#c4baeb
rgb(196,186,235)
-
#d1c9ef
#d1c9ef
rgb(209,201,239)
-
#ded8f4
#ded8f4
rgb(222,216,244)
-
#ebe7f8
#ebe7f8
rgb(235,231,248)
-
#f8f6fc
#f8f6fc
rgb(248,246,252)
Tones of #402a8f
A tone is produced by adding gray to any pure hue. In this case, #5c5c5d is the less saturated color, while #2c06b3 is the most saturated one.
-
#5c5c5d
#5c5c5d
rgb(92,92,93)
-
#585564
#585564
rgb(88,85,100)
-
#544e6b
#544e6b
rgb(84,78,107)
-
#504673
#504673
rgb(80,70,115)
-
#4c3f7a
#4c3f7a
rgb(76,63,122)
-
#483881
#483881
rgb(72,56,129)
-
#443188
#443188
rgb(68,49,136)
-
#402a8f
#402a8f
rgb(64,42,143)
-
#3c2396
#3c2396
rgb(60,35,150)
-
#381c9d
#381c9d
rgb(56,28,157)
-
#3415a4
#3415a4
rgb(52,21,164)
-
#300eab
#300eab
rgb(48,14,171)
-
#2c06b3
#2c06b3
rgb(44,6,179)
Color Blindness Simulator
Below, you can see how #402a8f 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.