#5a5ab2 hex color
In a RGB color space, hex #5a5ab2 is composed of 35.3% red, 35.3% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 49.4% cyan, 49.4% magenta, 0% yellow and 30.2% black. It has a hue angle of 240 degrees, a saturation of 36.4% and a lightness of 52.5%. #5a5ab2 color hex could be obtained by blending #b4b4ff with #000065. Closest websafe color is: #666699.
-
- R 35
- G 35
- B 70
RGB color chart
-
- C 49
- M 49
- Y 0
- K 30
CMYK color chart
● #5a5ab2 color description : Dark moderate blue.
The hexadecimal color #5a5ab2 has RGB values of R:90, G:90, B:178 and CMYK values of C:0.49, M:0.49, Y:0, K:0.3. Its decimal value is 5921458.
Hex triplet | 5a5ab2 | #5a5ab2 |
---|---|---|
RGB Decimal | 90, 90, 178 | rgb(90,90,178) |
RGB Percent | 35.3, 35.3, 69.8 | rgb(35.3%,35.3%,69.8%) |
CMYK | 49, 49, 0, 30 | |
HSL | 240°, 36.4, 52.5 | hsl(240,36.4%,52.5%) |
HSV (or HSB) | 240°, 49.4, 69.8 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 42.307, 24.216, -47.031 |
---|---|
XYZ | 15.907, 12.7, 43.73 |
xyY | 0.22, 0.176, 12.7 |
CIE-LCH | 42.307, 52.899, 297.244 |
CIE-LUV | 42.307, -5.152, -71.373 |
Hunter-Lab | 35.637, 17.311, -47.809 |
Binary | 01011010, 01011010, 10110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a5ab2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a5ab2
This text has a font color of #5a5ab2.
<span style="color:#5a5ab2;">Text here</span>
#5a5ab2 background color
This paragraph has a background color of #5a5ab2.
<p style="background-color:#5a5ab2;">Content here</p>
#5a5ab2 border color
This element has a border color of #5a5ab2.
<div style="border:1px solid #5a5ab2;">Content here</div>
CSS codes
.text {color:#5a5ab2;}
.background {background-color:#5a5ab2;}
.border {border:1px solid #5a5ab2;}
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, #040409 is the darkest color, while #fafafd is the lightest one.
-
#040409
#040409
rgb(4,4,9)
-
#0a0a16
#0a0a16
rgb(10,10,22)
-
#111124
#111124
rgb(17,17,36)
-
#171731
#171731
rgb(23,23,49)
-
#1d1d3e
#1d1d3e
rgb(29,29,62)
-
#23234c
#23234c
rgb(35,35,76)
-
#2a2a59
#2a2a59
rgb(42,42,89)
-
#303066
#303066
rgb(48,48,102)
-
#363674
#363674
rgb(54,54,116)
-
#3c3c81
#3c3c81
rgb(60,60,129)
-
#43438f
#43438f
rgb(67,67,143)
-
#49499c
#49499c
rgb(73,73,156)
-
#4f4fa9
#4f4fa9
rgb(79,79,169)
Shade Color Variation
-
#5a5ab2
#5a5ab2
rgb(90,90,178)
-
#6767b8
#6767b8
rgb(103,103,184)
-
#7575be
#7575be
rgb(117,117,190)
-
#8282c5
#8282c5
rgb(130,130,197)
-
#8f8fcb
#8f8fcb
rgb(143,143,203)
-
#9d9dd1
#9d9dd1
rgb(157,157,209)
-
#aaaad7
#aaaad7
rgb(170,170,215)
-
#b8b8de
#b8b8de
rgb(184,184,222)
-
#c5c5e4
#c5c5e4
rgb(197,197,228)
-
#d2d2ea
#d2d2ea
rgb(210,210,234)
-
#e0e0f0
#e0e0f0
rgb(224,224,240)
-
#ededf7
#ededf7
rgb(237,237,247)
-
#fafafd
#fafafd
rgb(250,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7f7f8d is the less saturated color, while #1010fc is the most saturated one.
-
#7f7f8d
#7f7f8d
rgb(127,127,141)
-
#767696
#767696
rgb(118,118,150)
-
#6d6d9f
#6d6d9f
rgb(109,109,159)
-
#6363a9
#6363a9
rgb(99,99,169)
-
#5a5ab2
#5a5ab2
rgb(90,90,178)
-
#5151bb
#5151bb
rgb(81,81,187)
-
#4747c5
#4747c5
rgb(71,71,197)
-
#3e3ece
#3e3ece
rgb(62,62,206)
-
#3535d7
#3535d7
rgb(53,53,215)
-
#2b2be1
#2b2be1
rgb(43,43,225)
-
#2222ea
#2222ea
rgb(34,34,234)
-
#1919f3
#1919f3
rgb(25,25,243)
-
#1010fc
#1010fc
rgb(16,16,252)
Tone Color Variation
Below, you can see how #5a5ab2 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