#402f8d hex color
In a RGB color space, hex #402f8d is composed of 25.1% red, 18.4% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 66.7% magenta, 0% yellow and 44.7% black. It has a hue angle of 250.9 degrees, a saturation of 50% and a lightness of 36.9%. #402f8d color hex could be obtained by blending #805eff with #00001b. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
RGB color chart
-
- C 55
- M 67
- Y 0
- K 45
CMYK color chart
● #402f8d color description : Dark moderate blue.
The hexadecimal color #402f8d has RGB values of R:64, G:47, B:141 and CMYK values of C:0.55, M:0.67, Y:0, K:0.45. Its decimal value is 4206477.
Hex triplet | 402f8d | #402f8d |
---|---|---|
RGB Decimal | 64, 47, 141 | rgb(64,47,141) |
RGB Percent | 25.1, 18.4, 55.3 | rgb(25.1%,18.4%,55.3%) |
CMYK | 55, 67, 0, 45 | |
HSL | 250.9°, 50, 36.9 | hsl(250.9,50%,36.9%) |
HSV (or HSB) | 250.9°, 66.7, 55.3 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.865, 33.789, -49.781 |
---|---|
XYZ | 7.938, 5.046, 25.754 |
xyY | 0.205, 0.13, 5.046 |
CIE-LCH | 26.865, 60.165, 304.167 |
CIE-LUV | 26.865, -0.172, -64.984 |
Hunter-Lab | 22.463, 23.766, -52.251 |
Binary | 01000000, 00101111, 10001101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f8d
This text has a font color of #402f8d.
<span style="color:#402f8d;">Text here</span>
#402f8d background color
This paragraph has a background color of #402f8d.
<p style="background-color:#402f8d;">Content here</p>
#402f8d border color
This element has a border color of #402f8d.
<div style="border:1px solid #402f8d;">Content here</div>
CSS codes
.text {color:#402f8d;}
.background {background-color:#402f8d;}
.border {border:1px solid #402f8d;}
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, #040309 is the darkest color, while #faf9fd is the lightest one.
-
#040309
#040309
rgb(4,3,9)
-
#0b0817
#0b0817
rgb(11,8,23)
-
#110d26
#110d26
rgb(17,13,38)
-
#181235
#181235
rgb(24,18,53)
-
#1f1643
#1f1643
rgb(31,22,67)
-
#251b52
#251b52
rgb(37,27,82)
-
#2c2061
#2c2061
rgb(44,32,97)
-
#332570
#332570
rgb(51,37,112)
-
#392a7e
#392a7e
rgb(57,42,126)
-
#402f8d
#402f8d
rgb(64,47,141)
-
#47349c
#47349c
rgb(71,52,156)
-
#4d39aa
#4d39aa
rgb(77,57,170)
-
#543eb9
#543eb9
rgb(84,62,185)
Shade Color Variation
-
#5e48c2
#5e48c2
rgb(94,72,194)
-
#6b57c7
#6b57c7
rgb(107,87,199)
-
#7866cc
#7866cc
rgb(120,102,204)
-
#8574d1
#8574d1
rgb(133,116,209)
-
#9283d6
#9283d6
rgb(146,131,214)
-
#9f92db
#9f92db
rgb(159,146,219)
-
#aca1e0
#aca1e0
rgb(172,161,224)
-
#b9afe4
#b9afe4
rgb(185,175,228)
-
#c6bee9
#c6bee9
rgb(198,190,233)
-
#d3cdee
#d3cdee
rgb(211,205,238)
-
#e0dbf3
#e0dbf3
rgb(224,219,243)
-
#edeaf8
#edeaf8
rgb(237,234,248)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5a62 is the less saturated color, while #2404b8 is the most saturated one.
-
#5c5a62
#5c5a62
rgb(92,90,98)
-
#575369
#575369
rgb(87,83,105)
-
#524c70
#524c70
rgb(82,76,112)
-
#4e4577
#4e4577
rgb(78,69,119)
-
#493d7f
#493d7f
rgb(73,61,127)
-
#453686
#453686
rgb(69,54,134)
-
#402f8d
#402f8d
rgb(64,47,141)
-
#3b2894
#3b2894
rgb(59,40,148)
-
#37219b
#37219b
rgb(55,33,155)
-
#3219a3
#3219a3
rgb(50,25,163)
-
#2e12aa
#2e12aa
rgb(46,18,170)
-
#290bb1
#290bb1
rgb(41,11,177)
-
#2404b8
#2404b8
rgb(36,4,184)
Tone Color Variation
Below, you can see how #402f8d 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