#402d8c Color Information
In a RGB color space, hex #402d8c is composed of 25.1% red, 17.6% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 67.9% magenta, 0% yellow and 45.1% black. It has a hue angle of 252 degrees, a saturation of 51.4% and a lightness of 36.3%. #402d8c color hex could be obtained by blending #805aff with #000019. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
-
- C 54
- M 68
- Y 0
- K 45
● #402d8c color description : Dark moderate blue.
#402d8c Color Conversion
The hexadecimal color #402d8c has RGB values of R:64, G:45, B:140 and CMYK values of C:0.54, M:0.68, Y:0, K:0.45. Its decimal value is 4205964.
| Hex triplet | 402d8c | #402d8c |
|---|---|---|
| RGB Decimal | 64, 45, 140 | rgb(64,45,140) |
| RGB Percent | 25.1, 17.6, 54.9 | rgb(25.1%,17.6%,54.9%) |
| CMYK | 54, 68, 0, 45 | |
| HSL | 252°, 51.4, 36.3 | hsl(252,51.4%,36.3%) |
| HSV (or HSB) | 252°, 67.9, 54.9 | |
| Web Safe | 333399 | #333399 |
| CIE-LAB | 26.332, 34.68, -50.03 |
|---|---|
| XYZ | 7.785, 4.86, 25.337 |
| xyY | 0.205, 0.128, 4.86 |
| CIE-LCH | 26.332, 60.875, 304.729 |
| CIE-LUV | 26.332, 0.308, -64.766 |
| Hunter-Lab | 22.045, 24.459, -52.712 |
| Binary | 01000000, 00101101, 10001100 |
Color Schemes with #402d8c
Alternatives to #402d8c
Below, you can see some colors close to #402d8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d8c Preview
This text has a font color of #402d8c.
<span style="color:#402d8c;">Text here</span>
This paragraph has a background color of #402d8c.
<p style="background-color:#402d8c;">Content here</p>
This element has a border color of #402d8c.
<div style="border:1px solid #402d8c;">Content here</div>
.text {color:#402d8c;}
.background {background-color:#402d8c;}
.border {border:1px solid #402d8c;}
Shades and Tints of #402d8c
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, #030206 is the darkest color, while #f8f7fc is the lightest one.
-
#030206
#030206rgb(3,2,6) -
#0a0715
#0a0715rgb(10,7,21) -
#100c24
#100c24rgb(16,12,36) -
#171033
#171033rgb(23,16,51) -
#1e1542
#1e1542rgb(30,21,66) -
#251a51
#251a51rgb(37,26,81) -
#2c1f5f
#2c1f5frgb(44,31,95) -
#32236e
#32236ergb(50,35,110) -
#39287d
#39287drgb(57,40,125) -
#402d8c
#402d8crgb(64,45,140) -
#47329b
#47329brgb(71,50,155) -
#4e37aa
#4e37aargb(78,55,170) -
#543bb9
#543bb9rgb(84,59,185)
-
#5e44c3
#5e44c3rgb(94,68,195) -
#6b53c8
#6b53c8rgb(107,83,200) -
#7762cd
#7762cdrgb(119,98,205) -
#8471d1
#8471d1rgb(132,113,209) -
#9180d6
#9180d6rgb(145,128,214) -
#9e8fdb
#9e8fdbrgb(158,143,219) -
#ab9de0
#ab9de0rgb(171,157,224) -
#b8ace4
#b8ace4rgb(184,172,228) -
#c4bbe9
#c4bbe9rgb(196,187,233) -
#d1caee
#d1caeergb(209,202,238) -
#ded9f3
#ded9f3rgb(222,217,243) -
#ebe8f8
#ebe8f8rgb(235,232,248) -
#f8f7fc
#f8f7fcrgb(248,247,252)
Tones of #402d8c
A tone is produced by adding gray to any pure hue. In this case, #5a5861 is the less saturated color, while #2602b7 is the most saturated one.
-
#5a5861
#5a5861rgb(90,88,97) -
#555168
#555168rgb(85,81,104) -
#514970
#514970rgb(81,73,112) -
#4d4277
#4d4277rgb(77,66,119) -
#493b7e
#493b7ergb(73,59,126) -
#443485
#443485rgb(68,52,133) -
#402d8c
#402d8crgb(64,45,140) -
#3c2693
#3c2693rgb(60,38,147) -
#371f9a
#371f9argb(55,31,154) -
#3318a1
#3318a1rgb(51,24,161) -
#2f11a8
#2f11a8rgb(47,17,168) -
#2b09b0
#2b09b0rgb(43,9,176) -
#2602b7
#2602b7rgb(38,2,183)
Color Blindness Simulator
Below, you can see how #402d8c 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.
