#402796 hex color
In a RGB color space, hex #402796 is composed of 25.1% red, 15.3% green and 58.8% blue. Whereas in a CMYK color space, it is composed of 57.3% cyan, 74% magenta, 0% yellow and 41.2% black. It has a hue angle of 253.5 degrees, a saturation of 58.7% and a lightness of 37.1%. #402796 color hex could be obtained by blending #804eff with #00002d. Closest websafe color is: #333399.
-
- R 25
- G 15
- B 59
RGB color chart
-
- C 57
- M 74
- Y 0
- K 41
CMYK color chart
● #402796 color description : Dark blue.
The hexadecimal color #402796 has RGB values of R:64, G:39, B:150 and CMYK values of C:0.57, M:0.74, Y:0, K:0.41. Its decimal value is 4204438.
Hex triplet | 402796 | #402796 |
---|---|---|
RGB Decimal | 64, 39, 150 | rgb(64,39,150) |
RGB Percent | 25.1, 15.3, 58.8 | rgb(25.1%,15.3%,58.8%) |
CMYK | 57, 74, 0, 41 | |
HSL | 253.5°, 58.7, 37.1 | hsl(253.5,58.7%,37.1%) |
HSV (or HSB) | 253.5°, 74, 58.8 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.989, 41.231, -56.768 |
---|---|
XYZ | 8.344, 4.743, 29.328 |
xyY | 0.197, 0.112, 4.743 |
CIE-LCH | 25.989, 70.161, 305.991 |
CIE-LUV | 25.989, 0.49, -72.117 |
Hunter-Lab | 21.778, 30.278, -64.601 |
Binary | 01000000, 00100111, 10010110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402796. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402796
This text has a font color of #402796.
<span style="color:#402796;">Text here</span>
#402796 background color
This paragraph has a background color of #402796.
<p style="background-color:#402796;">Content here</p>
#402796 border color
This element has a border color of #402796.
<div style="border:1px solid #402796;">Content here</div>
CSS codes
.text {color:#402796;}
.background {background-color:#402796;}
.border {border:1px solid #402796;}
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, #04030a is the darkest color, while #faf9fe is the lightest one.
-
#04030a
#04030a
rgb(4,3,10)
-
#0b0719
#0b0719
rgb(11,7,25)
-
#120b29
#120b29
rgb(18,11,41)
-
#180f39
#180f39
rgb(24,15,57)
-
#1f1348
#1f1348
rgb(31,19,72)
-
#251758
#251758
rgb(37,23,88)
-
#2c1b67
#2c1b67
rgb(44,27,103)
-
#331f77
#331f77
rgb(51,31,119)
-
#392386
#392386
rgb(57,35,134)
-
#402796
#402796
rgb(64,39,150)
-
#472ba6
#472ba6
rgb(71,43,166)
-
#4d2fb5
#4d2fb5
rgb(77,47,181)
-
#5433c5
#5433c5
rgb(84,51,197)
Shade Color Variation
-
#5f3fcd
#5f3fcd
rgb(95,63,205)
-
#6c4ed1
#6c4ed1
rgb(108,78,209)
-
#795ed5
#795ed5
rgb(121,94,213)
-
#866dd9
#866dd9
rgb(134,109,217)
-
#927ddd
#927ddd
rgb(146,125,221)
-
#9f8ce1
#9f8ce1
rgb(159,140,225)
-
#ac9ce5
#ac9ce5
rgb(172,156,229)
-
#b9abe9
#b9abe9
rgb(185,171,233)
-
#c6bbed
#c6bbed
rgb(198,187,237)
-
#d3cbf1
#d3cbf1
rgb(211,203,241)
-
#e0daf5
#e0daf5
rgb(224,218,245)
-
#edeaf9
#edeaf9
rgb(237,234,249)
-
#faf9fe
#faf9fe
rgb(250,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5a63 is the less saturated color, while #2c03ba is the most saturated one.
-
#5c5a63
#5c5a63
rgb(92,90,99)
-
#58536a
#58536a
rgb(88,83,106)
-
#544b72
#544b72
rgb(84,75,114)
-
#504479
#504479
rgb(80,68,121)
-
#4c3d80
#4c3d80
rgb(76,61,128)
-
#483687
#483687
rgb(72,54,135)
-
#442e8f
#442e8f
rgb(68,46,143)
-
#402796
#402796
rgb(64,39,150)
-
#3c209d
#3c209d
rgb(60,32,157)
-
#3818a5
#3818a5
rgb(56,24,165)
-
#3411ac
#3411ac
rgb(52,17,172)
-
#300ab3
#300ab3
rgb(48,10,179)
-
#2c03ba
#2c03ba
rgb(44,3,186)
Tone Color Variation
Below, you can see how #402796 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