#402f8c Color Information
In a RGB color space, hex #402f8c is composed of 25.1% red, 18.4% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 66.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 251 degrees, a saturation of 49.7% and a lightness of 36.7%. #402f8c color hex could be obtained by blending #805eff with #000019. Closest websafe color is: #333399.
-
- R 25
- G 18
- B 55
-
- C 54
- M 66
- Y 0
- K 45
● #402f8c color description : Dark moderate blue.
#402f8c Color Conversion
The hexadecimal color #402f8c has RGB values of R:64, G:47, B:140 and CMYK values of C:0.54, M:0.66, Y:0, K:0.45. Its decimal value is 4206476.
Hex triplet | 402f8c | #402f8c |
---|---|---|
RGB Decimal | 64, 47, 140 | rgb(64,47,140) |
RGB Percent | 25.1, 18.4, 54.9 | rgb(25.1%,18.4%,54.9%) |
CMYK | 54, 66, 0, 45 | |
HSL | 251°, 49.7, 36.7 | hsl(251,49.7%,36.7%) |
HSV (or HSB) | 251°, 66.4, 54.9 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.781, 33.469, -49.298 |
---|---|
XYZ | 7.864, 5.016, 25.363 |
xyY | 0.206, 0.131, 5.016 |
CIE-LCH | 26.781, 59.586, 304.173 |
CIE-LUV | 26.781, -0.09, -64.321 |
Hunter-Lab | 22.397, 23.477, -51.465 |
Binary | 01000000, 00101111, 10001100 |
Color Schemes with #402f8c
Alternatives to #402f8c
Below, you can see some colors close to #402f8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402f8c Preview
This text has a font color of #402f8c.
<span style="color:#402f8c;">Text here</span>
This paragraph has a background color of #402f8c.
<p style="background-color:#402f8c;">Content here</p>
This element has a border color of #402f8c.
<div style="border:1px solid #402f8c;">Content here</div>
.text {color:#402f8c;}
.background {background-color:#402f8c;}
.border {border:1px solid #402f8c;}
Shades and Tints of #402f8c
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 #f9f8fd is the lightest one.
-
#040308
#040308
rgb(4,3,8)
-
#0a0817
#0a0817
rgb(10,8,23)
-
#110c25
#110c25
rgb(17,12,37)
-
#181134
#181134
rgb(24,17,52)
-
#1e1643
#1e1643
rgb(30,22,67)
-
#251b51
#251b51
rgb(37,27,81)
-
#2c2060
#2c2060
rgb(44,32,96)
-
#33256f
#33256f
rgb(51,37,111)
-
#392a7d
#392a7d
rgb(57,42,125)
-
#402f8c
#402f8c
rgb(64,47,140)
-
#47349b
#47349b
rgb(71,52,155)
-
#4d39a9
#4d39a9
rgb(77,57,169)
-
#543eb8
#543eb8
rgb(84,62,184)
-
#5e48c2
#5e48c2
rgb(94,72,194)
-
#6b57c6
#6b57c6
rgb(107,87,198)
-
#7865cb
#7865cb
rgb(120,101,203)
-
#8574d0
#8574d0
rgb(133,116,208)
-
#9283d5
#9283d5
rgb(146,131,213)
-
#9f91da
#9f91da
rgb(159,145,218)
-
#aca0df
#aca0df
rgb(172,160,223)
-
#b8afe4
#b8afe4
rgb(184,175,228)
-
#c5bde9
#c5bde9
rgb(197,189,233)
-
#d2ccee
#d2ccee
rgb(210,204,238)
-
#dfdbf3
#dfdbf3
rgb(223,219,243)
-
#ece9f8
#ece9f8
rgb(236,233,248)
-
#f9f8fd
#f9f8fd
rgb(249,248,253)
Tones of #402f8c
A tone is produced by adding gray to any pure hue. In this case, #5b5a61 is the less saturated color, while #2504b7 is the most saturated one.
-
#5b5a61
#5b5a61
rgb(91,90,97)
-
#575368
#575368
rgb(87,83,104)
-
#524c6f
#524c6f
rgb(82,76,111)
-
#4e4576
#4e4576
rgb(78,69,118)
-
#493d7e
#493d7e
rgb(73,61,126)
-
#453685
#453685
rgb(69,54,133)
-
#402f8c
#402f8c
rgb(64,47,140)
-
#3b2893
#3b2893
rgb(59,40,147)
-
#37219a
#37219a
rgb(55,33,154)
-
#3219a2
#3219a2
rgb(50,25,162)
-
#2e12a9
#2e12a9
rgb(46,18,169)
-
#290bb0
#290bb0
rgb(41,11,176)
-
#2504b7
#2504b7
rgb(37,4,183)
Color Blindness Simulator
Below, you can see how #402f8c 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.