#402a9f hex color
In a RGB color space, hex #402a9f is composed of 25.1% red, 16.5% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 59.7% cyan, 73.6% magenta, 0% yellow and 37.6% black. It has a hue angle of 251.3 degrees, a saturation of 58.2% and a lightness of 39.4%. #402a9f color hex could be obtained by blending #8054ff with #00003f. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 62
RGB color chart
-
- C 60
- M 74
- Y 0
- K 38
CMYK color chart
● #402a9f color description : Dark blue.
The hexadecimal color #402a9f has RGB values of R:64, G:42, B:159 and CMYK values of C:0.6, M:0.74, Y:0, K:0.38. Its decimal value is 4205215.
Hex triplet | 402a9f | #402a9f |
---|---|---|
RGB Decimal | 64, 42, 159 | rgb(64,42,159) |
RGB Percent | 25.1, 16.5, 62.4 | rgb(25.1%,16.5%,62.4%) |
CMYK | 60, 74, 0, 38 | |
HSL | 251.3°, 58.2, 39.4 | hsl(251.3,58.2%,39.4%) |
HSV (or HSB) | 251.3°, 73.6, 62.4 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 27.432, 42.358, -59.903 |
---|---|
XYZ | 9.199, 5.249, 33.327 |
xyY | 0.193, 0.11, 5.249 |
CIE-LCH | 27.432, 73.365, 305.265 |
CIE-LUV | 27.432, -0.721, -77.368 |
Hunter-Lab | 22.91, 31.58, -70.211 |
Binary | 01000000, 00101010, 10011111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402a9f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402a9f
This text has a font color of #402a9f.
<span style="color:#402a9f;">Text here</span>
#402a9f background color
This paragraph has a background color of #402a9f.
<p style="background-color:#402a9f;">Content here</p>
#402a9f border color
This element has a border color of #402a9f.
<div style="border:1px solid #402a9f;">Content here</div>
CSS codes
.text {color:#402a9f;}
.background {background-color:#402a9f;}
.border {border:1px solid #402a9f;}
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, #020104 is the darkest color, while #f5f3fc is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#080513
#080513
rgb(8,5,19)
-
#0e0923
#0e0923
rgb(14,9,35)
-
#140d32
#140d32
rgb(20,13,50)
-
#1b1142
#1b1142
rgb(27,17,66)
-
#211651
#211651
rgb(33,22,81)
-
#271a61
#271a61
rgb(39,26,97)
-
#2d1e70
#2d1e70
rgb(45,30,112)
-
#342280
#342280
rgb(52,34,128)
-
#3a268f
#3a268f
rgb(58,38,143)
-
#402a9f
#402a9f
rgb(64,42,159)
-
#462eaf
#462eaf
rgb(70,46,175)
-
#4c32be
#4c32be
rgb(76,50,190)
Shade Color Variation
-
#5439cb
#5439cb
rgb(84,57,203)
-
#6249cf
#6249cf
rgb(98,73,207)
-
#6f58d3
#6f58d3
rgb(111,88,211)
-
#7d68d7
#7d68d7
rgb(125,104,215)
-
#8a77db
#8a77db
rgb(138,119,219)
-
#9787df
#9787df
rgb(151,135,223)
-
#a596e3
#a596e3
rgb(165,150,227)
-
#b2a6e7
#b2a6e7
rgb(178,166,231)
-
#bfb5ec
#bfb5ec
rgb(191,181,236)
-
#cdc5f0
#cdc5f0
rgb(205,197,240)
-
#dad4f4
#dad4f4
rgb(218,212,244)
-
#e8e4f8
#e8e4f8
rgb(232,228,248)
-
#f5f3fc
#f5f3fc
rgb(245,243,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #626069 is the less saturated color, while #2803c6 is the most saturated one.
-
#626069
#626069
rgb(98,96,105)
-
#5d5871
#5d5871
rgb(93,88,113)
-
#585178
#585178
rgb(88,81,120)
-
#534980
#534980
rgb(83,73,128)
-
#4e4188
#4e4188
rgb(78,65,136)
-
#4a3990
#4a3990
rgb(74,57,144)
-
#453297
#453297
rgb(69,50,151)
-
#402a9f
#402a9f
rgb(64,42,159)
-
#3b22a7
#3b22a7
rgb(59,34,167)
-
#361bae
#361bae
rgb(54,27,174)
-
#3213b6
#3213b6
rgb(50,19,182)
-
#2d0bbe
#2d0bbe
rgb(45,11,190)
-
#2803c6
#2803c6
rgb(40,3,198)
Tone Color Variation
Below, you can see how #402a9f 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