#402a9a hex color
In a RGB color space, hex #402a9a is composed of 25.1% red, 16.5% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 58.4% cyan, 72.7% magenta, 0% yellow and 39.6% black. It has a hue angle of 251.8 degrees, a saturation of 57.1% and a lightness of 38.4%. #402a9a color hex could be obtained by blending #8054ff with #000035. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 60
RGB color chart
-
- C 58
- M 73
- Y 0
- K 40
CMYK color chart
● #402a9a color description : Dark blue.
The hexadecimal color #402a9a has RGB values of R:64, G:42, B:154 and CMYK values of C:0.58, M:0.73, Y:0, K:0.4. Its decimal value is 4205210.
Hex triplet | 402a9a | #402a9a |
---|---|---|
RGB Decimal | 64, 42, 154 | rgb(64,42,154) |
RGB Percent | 25.1, 16.5, 60.4 | rgb(25.1%,16.5%,60.4%) |
CMYK | 58, 73, 0, 40 | |
HSL | 251.8°, 57.1, 38.4 | hsl(251.8,57.1%,38.4%) |
HSV (or HSB) | 251.8°, 72.7, 60.4 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.958, 40.809, -57.631 |
---|---|
XYZ | 8.774, 5.079, 31.088 |
xyY | 0.195, 0.113, 5.079 |
CIE-LCH | 26.958, 70.617, 305.303 |
CIE-LUV | 26.958, -0.321, -74.248 |
Hunter-Lab | 22.536, 30.057, -66.014 |
Binary | 01000000, 00101010, 10011010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402a9a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402a9a
This text has a font color of #402a9a.
<span style="color:#402a9a;">Text here</span>
#402a9a background color
This paragraph has a background color of #402a9a.
<p style="background-color:#402a9a;">Content here</p>
#402a9a border color
This element has a border color of #402a9a.
<div style="border:1px solid #402a9a;">Content here</div>
CSS codes
.text {color:#402a9a;}
.background {background-color:#402a9a;}
.border {border:1px solid #402a9a;}
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, #06040f is the darkest color, while #ffffff is the lightest one.
-
#06040f
#06040f
rgb(6,4,15)
-
#0d081f
#0d081f
rgb(13,8,31)
-
#130d2e
#130d2e
rgb(19,13,46)
-
#1a113e
#1a113e
rgb(26,17,62)
-
#20154d
#20154d
rgb(32,21,77)
-
#26195c
#26195c
rgb(38,25,92)
-
#2d1d6c
#2d1d6c
rgb(45,29,108)
-
#33227b
#33227b
rgb(51,34,123)
-
#3a268b
#3a268b
rgb(58,38,139)
-
#402a9a
#402a9a
rgb(64,42,154)
-
#462ea9
#462ea9
rgb(70,46,169)
-
#4d32b9
#4d32b9
rgb(77,50,185)
-
#5337c8
#5337c8
rgb(83,55,200)
Shade Color Variation
-
#6046cd
#6046cd
rgb(96,70,205)
-
#6e55d1
#6e55d1
rgb(110,85,209)
-
#7b65d5
#7b65d5
rgb(123,101,213)
-
#8874d9
#8874d9
rgb(136,116,217)
-
#9584dd
#9584dd
rgb(149,132,221)
-
#a293e2
#a293e2
rgb(162,147,226)
-
#b0a2e6
#b0a2e6
rgb(176,162,230)
-
#bdb2ea
#bdb2ea
rgb(189,178,234)
-
#cac1ee
#cac1ee
rgb(202,193,238)
-
#d7d1f2
#d7d1f2
rgb(215,209,242)
-
#e4e0f7
#e4e0f7
rgb(228,224,247)
-
#f2effb
#f2effb
rgb(242,239,251)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #605f65 is the less saturated color, while #2904c0 is the most saturated one.
-
#605f65
#605f65
rgb(96,95,101)
-
#5b576d
#5b576d
rgb(91,87,109)
-
#575074
#575074
rgb(87,80,116)
-
#52487c
#52487c
rgb(82,72,124)
-
#4e4183
#4e4183
rgb(78,65,131)
-
#49398b
#49398b
rgb(73,57,139)
-
#453292
#453292
rgb(69,50,146)
-
#402a9a
#402a9a
rgb(64,42,154)
-
#3b22a2
#3b22a2
rgb(59,34,162)
-
#371ba9
#371ba9
rgb(55,27,169)
-
#3213b1
#3213b1
rgb(50,19,177)
-
#2e0cb8
#2e0cb8
rgb(46,12,184)
-
#2904c0
#2904c0
rgb(41,4,192)
Tone Color Variation
Below, you can see how #402a9a 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