#402f8b Color Information
In a RGB color space, hex #402f8b is composed of 25.1% red, 18.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 66.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.1 degrees, a saturation of 49.5% and a lightness of 36.5%. #402f8b color hex could be obtained by blending #805eff with #000017. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
-
- C 54
- M 66
- Y 0
- K 45
● #402f8b color description : Dark moderate blue.
#402f8b Color Conversion
The hexadecimal color #402f8b has RGB values of R:64, G:47, B:139 and CMYK values of C:0.54, M:0.66, Y:0, K:0.45. Its decimal value is 4206475.
Hex triplet | 402f8b | #402f8b |
---|---|---|
RGB Decimal | 64, 47, 139 | rgb(64,47,139) |
RGB Percent | 25.1, 18.4, 54.5 | rgb(25.1%,18.4%,54.5%) |
CMYK | 54, 66, 0, 45 | |
HSL | 251.1°, 49.5, 36.5 | hsl(251.1,49.5%,36.5%) |
HSV (or HSB) | 251.1°, 66.2, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.697, 33.15, -48.814 |
---|---|
XYZ | 7.79, 4.987, 24.977 |
xyY | 0.206, 0.132, 4.987 |
CIE-LCH | 26.697, 59.006, 304.18 |
CIE-LUV | 26.697, -0.008, -63.657 |
Hunter-Lab | 22.331, 23.189, -50.682 |
Binary | 01000000, 00101111, 10001011 |
Color Schemes with #402f8b
Alternatives to #402f8b
Below, you can see some colors close to #402f8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402f8b Preview
This text has a font color of #402f8b.
<span style="color:#402f8b;">Text here</span>
This paragraph has a background color of #402f8b.
<p style="background-color:#402f8b;">Content here</p>
This element has a border color of #402f8b.
<div style="border:1px solid #402f8b;">Content here</div>
.text {color:#402f8b;}
.background {background-color:#402f8b;}
.border {border:1px solid #402f8b;}
Shades and Tints of #402f8b
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, #030207 is the darkest color, while #f8f7fc is the lightest one.
-
#030207
#030207
rgb(3,2,7)
-
#0a0716
#0a0716
rgb(10,7,22)
-
#110c24
#110c24
rgb(17,12,36)
-
#181133
#181133
rgb(24,17,51)
-
#1e1642
#1e1642
rgb(30,22,66)
-
#251b50
#251b50
rgb(37,27,80)
-
#2c205f
#2c205f
rgb(44,32,95)
-
#33256e
#33256e
rgb(51,37,110)
-
#392a7c
#392a7c
rgb(57,42,124)
-
#402f8b
#402f8b
rgb(64,47,139)
-
#47349a
#47349a
rgb(71,52,154)
-
#4d39a8
#4d39a8
rgb(77,57,168)
-
#543eb7
#543eb7
rgb(84,62,183)
-
#5e48c1
#5e48c1
rgb(94,72,193)
-
#6b56c6
#6b56c6
rgb(107,86,198)
-
#7865cb
#7865cb
rgb(120,101,203)
-
#8573d0
#8573d0
rgb(133,115,208)
-
#9182d5
#9182d5
rgb(145,130,213)
-
#9e91da
#9e91da
rgb(158,145,218)
-
#ab9fdf
#ab9fdf
rgb(171,159,223)
-
#b8aee4
#b8aee4
rgb(184,174,228)
-
#c5bde9
#c5bde9
rgb(197,189,233)
-
#d2cbee
#d2cbee
rgb(210,203,238)
-
#dfdaf3
#dfdaf3
rgb(223,218,243)
-
#ebe9f7
#ebe9f7
rgb(235,233,247)
-
#f8f7fc
#f8f7fc
rgb(248,247,252)
Tones of #402f8b
A tone is produced by adding gray to any pure hue. In this case, #5b5a60 is the less saturated color, while #2504b6 is the most saturated one.
-
#5b5a60
#5b5a60
rgb(91,90,96)
-
#575367
#575367
rgb(87,83,103)
-
#524c6e
#524c6e
rgb(82,76,110)
-
#4e4476
#4e4476
rgb(78,68,118)
-
#493d7d
#493d7d
rgb(73,61,125)
-
#453684
#453684
rgb(69,54,132)
-
#402f8b
#402f8b
rgb(64,47,139)
-
#3b2892
#3b2892
rgb(59,40,146)
-
#372199
#372199
rgb(55,33,153)
-
#321aa0
#321aa0
rgb(50,26,160)
-
#2e12a8
#2e12a8
rgb(46,18,168)
-
#290baf
#290baf
rgb(41,11,175)
-
#2504b6
#2504b6
rgb(37,4,182)
Color Blindness Simulator
Below, you can see how #402f8b 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.