#402d7b Color Information
In a RGB color space, hex #402d7b is composed of 25.1% red, 17.6% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 63.4% magenta, 0% yellow and 51.8% black. It has a hue angle of 254.6 degrees, a saturation of 46.4% and a lightness of 32.9%. #402d7b color hex could be obtained by blending #805af6 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 48
-
- C 48
- M 63
- Y 0
- K 52
● #402d7b color description : Dark moderate blue.
#402d7b Color Conversion
The hexadecimal color #402d7b has RGB values of R:64, G:45, B:123 and CMYK values of C:0.48, M:0.63, Y:0, K:0.52. Its decimal value is 4205947.
| Hex triplet | 402d7b | #402d7b |
|---|---|---|
| RGB Decimal | 64, 45, 123 | rgb(64,45,123) |
| RGB Percent | 25.1, 17.6, 48.2 | rgb(25.1%,17.6%,48.2%) |
| CMYK | 48, 63, 0, 52 | |
| HSL | 254.6°, 46.4, 32.9 | hsl(254.6,46.4%,32.9%) |
| HSV (or HSB) | 254.6°, 63.4, 48.2 | |
| Web Safe | 333366 | #333366 |
| CIE-LAB | 24.942, 29.322, -41.636 |
|---|---|
| XYZ | 6.627, 4.397, 19.237 |
| xyY | 0.219, 0.145, 4.397 |
| CIE-LCH | 24.942, 50.925, 305.155 |
| CIE-LUV | 24.942, 1.823, -53.379 |
| Hunter-Lab | 20.968, 19.722, -39.717 |
| Binary | 01000000, 00101101, 01111011 |
Color Schemes with #402d7b
Alternatives to #402d7b
Below, you can see some colors close to #402d7b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d7b Preview
This text has a font color of #402d7b.
<span style="color:#402d7b;">Text here</span>
This paragraph has a background color of #402d7b.
<p style="background-color:#402d7b;">Content here</p>
This element has a border color of #402d7b.
<div style="border:1px solid #402d7b;">Content here</div>
.text {color:#402d7b;}
.background {background-color:#402d7b;}
.border {border:1px solid #402d7b;}
Shades and Tints of #402d7b
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, #040308 is the darkest color, while #faf9fd is the lightest one.
-
#040308
#040308rgb(4,3,8) -
#0c0816
#0c0816rgb(12,8,22) -
#130d25
#130d25rgb(19,13,37) -
#1b1333
#1b1333rgb(27,19,51) -
#221842
#221842rgb(34,24,66) -
#2a1d50
#2a1d50rgb(42,29,80) -
#31225e
#31225ergb(49,34,94) -
#39286d
#39286drgb(57,40,109) -
#402d7b
#402d7brgb(64,45,123) -
#473289
#473289rgb(71,50,137) -
#4f3898
#4f3898rgb(79,56,152) -
#563da6
#563da6rgb(86,61,166) -
#5e42b4
#5e42b4rgb(94,66,180)
-
#684cbe
#684cbergb(104,76,190) -
#745bc3
#745bc3rgb(116,91,195) -
#8069c8
#8069c8rgb(128,105,200) -
#8c77cd
#8c77cdrgb(140,119,205) -
#9986d3
#9986d3rgb(153,134,211) -
#a594d8
#a594d8rgb(165,148,216) -
#b1a3dd
#b1a3ddrgb(177,163,221) -
#bdb1e2
#bdb1e2rgb(189,177,226) -
#c9bfe8
#c9bfe8rgb(201,191,232) -
#d5ceed
#d5ceedrgb(213,206,237) -
#e1dcf2
#e1dcf2rgb(225,220,242) -
#eeeaf7
#eeeaf7rgb(238,234,247) -
#faf9fd
#faf9fdrgb(250,249,253)
Tones of #402d7b
A tone is produced by adding gray to any pure hue. In this case, #545454 is the less saturated color, while #2c06a2 is the most saturated one.
-
#545454
#545454rgb(84,84,84) -
#514d5b
#514d5brgb(81,77,91) -
#4d4761
#4d4761rgb(77,71,97) -
#4a4068
#4a4068rgb(74,64,104) -
#473a6e
#473a6ergb(71,58,110) -
#433375
#433375rgb(67,51,117) -
#402d7b
#402d7brgb(64,45,123) -
#3d2781
#3d2781rgb(61,39,129) -
#392088
#392088rgb(57,32,136) -
#361a8e
#361a8ergb(54,26,142) -
#331395
#331395rgb(51,19,149) -
#2f0d9b
#2f0d9brgb(47,13,155) -
#2c06a2
#2c06a2rgb(44,6,162)
Color Blindness Simulator
Below, you can see how #402d7b 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.
