#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
#05030crgb(5,3,12) -
#0b071b
#0b071brgb(11,7,27) -
#120b2b
#120b2brgb(18,11,43) -
#190f3a
#190f3argb(25,15,58) -
#1f134a
#1f134argb(31,19,74) -
#26175a
#26175argb(38,23,90) -
#2c1b69
#2c1b69rgb(44,27,105) -
#331f79
#331f79rgb(51,31,121) -
#392388
#392388rgb(57,35,136) -
#402798
#402798rgb(64,39,152) -
#472ba8
#472ba8rgb(71,43,168) -
#4d2fb7
#4d2fb7rgb(77,47,183) -
#5433c7
#5433c7rgb(84,51,199)
-
#5f40ce
#5f40cergb(95,64,206) -
#6c4fd2
#6c4fd2rgb(108,79,210) -
#795fd6
#795fd6rgb(121,95,214) -
#866eda
#866edargb(134,110,218) -
#937ede
#937edergb(147,126,222) -
#a08ee2
#a08ee2rgb(160,142,226) -
#ad9de6
#ad9de6rgb(173,157,230) -
#baadea
#baadeargb(186,173,234) -
#c7bcee
#c7bceergb(199,188,238) -
#d4ccf2
#d4ccf2rgb(212,204,242) -
#e1dcf6
#e1dcf6rgb(225,220,246) -
#efebfa
#efebfargb(239,235,250) -
#fcfbfe
#fcfbfergb(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
#5d5a65rgb(93,90,101) -
#59536c
#59536crgb(89,83,108) -
#544c73
#544c73rgb(84,76,115) -
#50447b
#50447brgb(80,68,123) -
#4c3d82
#4c3d82rgb(76,61,130) -
#483689
#483689rgb(72,54,137) -
#442e91
#442e91rgb(68,46,145) -
#402798
#402798rgb(64,39,152) -
#3c209f
#3c209frgb(60,32,159) -
#3818a7
#3818a7rgb(56,24,167) -
#3411ae
#3411aergb(52,17,174) -
#300ab5
#300ab5rgb(48,10,181) -
#2c02bd
#2c02bdrgb(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.
