#402d8b Color Information
In a RGB color space, hex #402d8b is composed of 25.1% red, 17.6% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 67.6% magenta, 0% yellow and 45.5% black. It has a hue angle of 252.1 degrees, a saturation of 51.1% and a lightness of 36.1%. #402d8b color hex could be obtained by blending #805aff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
-
- C 54
- M 68
- Y 0
- K 45
● #402d8b color description : Dark moderate blue.
#402d8b Color Conversion
The hexadecimal color #402d8b has RGB values of R:64, G:45, B:139 and CMYK values of C:0.54, M:0.68, Y:0, K:0.45. Its decimal value is 4205963.
| Hex triplet | 402d8b | #402d8b |
|---|---|---|
| RGB Decimal | 64, 45, 139 | rgb(64,45,139) |
| RGB Percent | 25.1, 17.6, 54.5 | rgb(25.1%,17.6%,54.5%) |
| CMYK | 54, 68, 0, 45 | |
| HSL | 252.1°, 51.1, 36.1 | hsl(252.1,51.1%,36.1%) |
| HSV (or HSB) | 252.1°, 67.6, 54.5 | |
| Web Safe | 333399 | #333399 |
| CIE-LAB | 26.247, 34.364, -49.548 |
|---|---|
| XYZ | 7.712, 4.831, 24.951 |
| xyY | 0.206, 0.129, 4.831 |
| CIE-LCH | 26.247, 60.299, 304.743 |
| CIE-LUV | 26.247, 0.393, -64.11 |
| Hunter-Lab | 21.979, 24.171, -51.922 |
| Binary | 01000000, 00101101, 10001011 |
Color Schemes with #402d8b
Alternatives to #402d8b
Below, you can see some colors close to #402d8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d8b Preview
This text has a font color of #402d8b.
<span style="color:#402d8b;">Text here</span>
This paragraph has a background color of #402d8b.
<p style="background-color:#402d8b;">Content here</p>
This element has a border color of #402d8b.
<div style="border:1px solid #402d8b;">Content here</div>
.text {color:#402d8b;}
.background {background-color:#402d8b;}
.border {border:1px solid #402d8b;}
Shades and Tints of #402d8b
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 #f7f6fc is the lightest one.
-
#030206
#030206rgb(3,2,6) -
#090714
#090714rgb(9,7,20) -
#100b23
#100b23rgb(16,11,35) -
#171032
#171032rgb(23,16,50) -
#1e1541
#1e1541rgb(30,21,65) -
#251a50
#251a50rgb(37,26,80) -
#2c1f5f
#2c1f5frgb(44,31,95) -
#32236d
#32236drgb(50,35,109) -
#39287c
#39287crgb(57,40,124) -
#402d8b
#402d8brgb(64,45,139) -
#47329a
#47329argb(71,50,154) -
#4e37a9
#4e37a9rgb(78,55,169) -
#543bb7
#543bb7rgb(84,59,183)
-
#5e44c2
#5e44c2rgb(94,68,194) -
#6a53c7
#6a53c7rgb(106,83,199) -
#7762cc
#7762ccrgb(119,98,204) -
#8470d1
#8470d1rgb(132,112,209) -
#917fd6
#917fd6rgb(145,127,214) -
#9e8eda
#9e8edargb(158,142,218) -
#aa9ddf
#aa9ddfrgb(170,157,223) -
#b7ace4
#b7ace4rgb(183,172,228) -
#c4bbe9
#c4bbe9rgb(196,187,233) -
#d1c9ee
#d1c9eergb(209,201,238) -
#ddd8f2
#ddd8f2rgb(221,216,242) -
#eae7f7
#eae7f7rgb(234,231,247) -
#f7f6fc
#f7f6fcrgb(247,246,252)
Tones of #402d8b
A tone is produced by adding gray to any pure hue. In this case, #595761 is the less saturated color, while #2703b5 is the most saturated one.
-
#595761
#595761rgb(89,87,97) -
#555068
#555068rgb(85,80,104) -
#51496f
#51496frgb(81,73,111) -
#4d4276
#4d4276rgb(77,66,118) -
#483b7d
#483b7drgb(72,59,125) -
#443484
#443484rgb(68,52,132) -
#402d8b
#402d8brgb(64,45,139) -
#3c2692
#3c2692rgb(60,38,146) -
#381f99
#381f99rgb(56,31,153) -
#3318a0
#3318a0rgb(51,24,160) -
#2f11a7
#2f11a7rgb(47,17,167) -
#2b0aae
#2b0aaergb(43,10,174) -
#2703b5
#2703b5rgb(39,3,181)
Color Blindness Simulator
Below, you can see how #402d8b 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.
