#402798 Color Information
In a RGB color space, hex #402798 is composed of 25.1% red, 15.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 74.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 253.3 degrees, a saturation of 59.2% and a lightness of 37.5%. #402798 color hex could be obtained by blending #804eff with #000031. Closest websafe color is: #333399.
-
- R 25
- G 15
- B 60
-
- C 58
- M 74
- Y 0
- K 40
● #402798 color description : Dark blue.
#402798 Color Conversion
The hexadecimal color #402798 has RGB values of R:64, G:39, B:152 and CMYK values of C:0.58, M:0.74, Y:0, K:0.4. Its decimal value is 4204440.
Hex triplet | 402798 | #402798 |
---|---|---|
RGB Decimal | 64, 39, 152 | rgb(64,39,152) |
RGB Percent | 25.1, 15.3, 59.6 | rgb(25.1%,15.3%,59.6%) |
CMYK | 58, 74, 0, 40 | |
HSL | 253.3°, 59.2, 37.5 | hsl(253.3,59.2%,37.5%) |
HSV (or HSB) | 253.3°, 74.3, 59.6 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 26.18, 41.841, -57.683 |
---|---|
XYZ | 8.506, 4.808, 30.184 |
xyY | 0.196, 0.111, 4.808 |
CIE-LCH | 26.18, 71.26, 305.956 |
CIE-LUV | 26.18, 0.318, -73.361 |
Hunter-Lab | 21.927, 30.876, -66.269 |
Binary | 01000000, 00100111, 10011000 |
Color Schemes with #402798
Alternatives to #402798
Below, you can see some colors close to #402798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402798 Preview
This text has a font color of #402798.
<span style="color:#402798;">Text here</span>
This paragraph has a background color of #402798.
<p style="background-color:#402798;">Content here</p>
This element has a border color of #402798.
<div style="border:1px solid #402798;">Content here</div>
.text {color:#402798;}
.background {background-color:#402798;}
.border {border:1px solid #402798;}
Shades and Tints of #402798
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, #05030c is the darkest color, while #fcfbfe is the lightest one.
-
#05030c
#05030c
rgb(5,3,12)
-
#0b071b
#0b071b
rgb(11,7,27)
-
#120b2b
#120b2b
rgb(18,11,43)
-
#190f3a
#190f3a
rgb(25,15,58)
-
#1f134a
#1f134a
rgb(31,19,74)
-
#26175a
#26175a
rgb(38,23,90)
-
#2c1b69
#2c1b69
rgb(44,27,105)
-
#331f79
#331f79
rgb(51,31,121)
-
#392388
#392388
rgb(57,35,136)
-
#402798
#402798
rgb(64,39,152)
-
#472ba8
#472ba8
rgb(71,43,168)
-
#4d2fb7
#4d2fb7
rgb(77,47,183)
-
#5433c7
#5433c7
rgb(84,51,199)
-
#5f40ce
#5f40ce
rgb(95,64,206)
-
#6c4fd2
#6c4fd2
rgb(108,79,210)
-
#795fd6
#795fd6
rgb(121,95,214)
-
#866eda
#866eda
rgb(134,110,218)
-
#937ede
#937ede
rgb(147,126,222)
-
#a08ee2
#a08ee2
rgb(160,142,226)
-
#ad9de6
#ad9de6
rgb(173,157,230)
-
#baadea
#baadea
rgb(186,173,234)
-
#c7bcee
#c7bcee
rgb(199,188,238)
-
#d4ccf2
#d4ccf2
rgb(212,204,242)
-
#e1dcf6
#e1dcf6
rgb(225,220,246)
-
#efebfa
#efebfa
rgb(239,235,250)
-
#fcfbfe
#fcfbfe
rgb(252,251,254)
Tones of #402798
A tone is produced by adding gray to any pure hue. In this case, #5d5a65 is the less saturated color, while #2c02bd is the most saturated one.
-
#5d5a65
#5d5a65
rgb(93,90,101)
-
#59536c
#59536c
rgb(89,83,108)
-
#544c73
#544c73
rgb(84,76,115)
-
#50447b
#50447b
rgb(80,68,123)
-
#4c3d82
#4c3d82
rgb(76,61,130)
-
#483689
#483689
rgb(72,54,137)
-
#442e91
#442e91
rgb(68,46,145)
-
#402798
#402798
rgb(64,39,152)
-
#3c209f
#3c209f
rgb(60,32,159)
-
#3818a7
#3818a7
rgb(56,24,167)
-
#3411ae
#3411ae
rgb(52,17,174)
-
#300ab5
#300ab5
rgb(48,10,181)
-
#2c02bd
#2c02bd
rgb(44,2,189)
Color Blindness Simulator
Below, you can see how #402798 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.