#402dff hex color
In a RGB color space, hex #402dff is composed of 25.1% red, 17.6% green and 100% blue. Whereas in a CMYK color space, it is composed of 74.9% cyan, 82.4% magenta, 0% yellow and 0% black. It has a hue angle of 245.4 degrees, a saturation of 100% and a lightness of 58.8%. #402dff color hex could be obtained by blending #805aff with #0000ff. Closest websafe color is: #3333ff.
-
- R 25
- G 18
- B 100
RGB color chart
-
- C 75
- M 82
- Y 0
- K 0
CMYK color chart
● #402dff color description : Vivid blue.
The hexadecimal color #402dff has RGB values of R:64, G:45, B:255 and CMYK values of C:0.75, M:0.82, Y:0, K:0. Its decimal value is 4206079.
Hex triplet | 402dff | #402dff |
---|---|---|
RGB Decimal | 64, 45, 255 | rgb(64,45,255) |
RGB Percent | 25.1, 17.6, 100 | rgb(25.1%,17.6%,100%) |
CMYK | 75, 82, 0, 0 | |
HSL | 245.4°, 100, 58.8 | hsl(245.4,100%,58.8%) |
HSV (or HSB) | 245.4°, 82.4, 100 | |
Web Safe | 3333ff | #3333ff |
CIE-LAB | 38.173, 69.241, -98.014 |
---|---|
XYZ | 21.099, 10.185, 95.456 |
xyY | 0.166, 0.08, 10.185 |
CIE-LCH | 38.173, 120.004, 305.239 |
CIE-LUV | 38.173, -7.18, -133.573 |
Hunter-Lab | 31.915, 62.158, -154.995 |
Binary | 01000000, 00101101, 11111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402dff. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402dff
This text has a font color of #402dff.
<span style="color:#402dff;">Text here</span>
#402dff background color
This paragraph has a background color of #402dff.
<p style="background-color:#402dff;">Content here</p>
#402dff border color
This element has a border color of #402dff.
<div style="border:1px solid #402dff;">Content here</div>
CSS codes
.text {color:#402dff;}
.background {background-color:#402dff;}
.border {border:1px solid #402dff;}
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, #010006 is the darkest color, while #f2f1ff is the lightest one.
-
#010006
#010006
rgb(1,0,6)
-
#020019
#020019
rgb(2,0,25)
-
#04002d
#04002d
rgb(4,0,45)
-
#060041
#060041
rgb(6,0,65)
-
#080054
#080054
rgb(8,0,84)
-
#090068
#090068
rgb(9,0,104)
-
#0b007b
#0b007b
rgb(11,0,123)
-
#0d008f
#0d008f
rgb(13,0,143)
-
#0f00a3
#0f00a3
rgb(15,0,163)
-
#1000b6
#1000b6
rgb(16,0,182)
-
#1200ca
#1200ca
rgb(18,0,202)
-
#1400de
#1400de
rgb(20,0,222)
-
#1600f1
#1600f1
rgb(22,0,241)
Shade Color Variation
-
#1c06ff
#1c06ff
rgb(28,6,255)
-
#2e19ff
#2e19ff
rgb(46,25,255)
-
#402dff
#402dff
rgb(64,45,255)
-
#5241ff
#5241ff
rgb(82,65,255)
-
#6454ff
#6454ff
rgb(100,84,255)
-
#7668ff
#7668ff
rgb(118,104,255)
-
#877bff
#877bff
rgb(135,123,255)
-
#998fff
#998fff
rgb(153,143,255)
-
#aba3ff
#aba3ff
rgb(171,163,255)
-
#bdb6ff
#bdb6ff
rgb(189,182,255)
-
#cfcaff
#cfcaff
rgb(207,202,255)
-
#e1deff
#e1deff
rgb(225,222,255)
-
#f2f1ff
#f2f1ff
rgb(242,241,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #8f8e9e is the less saturated color, while #402dff is the most saturated one.
-
#8f8e9e
#8f8e9e
rgb(143,142,158)
-
#8986a6
#8986a6
rgb(137,134,166)
-
#827eae
#827eae
rgb(130,126,174)
-
#7c76b6
#7c76b6
rgb(124,118,182)
-
#756ebe
#756ebe
rgb(117,110,190)
-
#6e66c6
#6e66c6
rgb(110,102,198)
-
#685dcf
#685dcf
rgb(104,93,207)
-
#6155d7
#6155d7
rgb(97,85,215)
-
#5a4ddf
#5a4ddf
rgb(90,77,223)
-
#5445e7
#5445e7
rgb(84,69,231)
-
#4d3def
#4d3def
rgb(77,61,239)
-
#4735f7
#4735f7
rgb(71,53,247)
-
#402dff
#402dff
rgb(64,45,255)
Tone Color Variation
Below, you can see how #402dff 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.
Monochromacy
Dichromacy