#5a5fa1 hex color
In a RGB color space, hex #5a5fa1 is composed of 35.3% red, 37.3% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 44.1% cyan, 41% magenta, 0% yellow and 36.9% black. It has a hue angle of 235.8 degrees, a saturation of 28.3% and a lightness of 49.2%. #5a5fa1 color hex could be obtained by blending #b4beff with #000043. Closest websafe color is: #666699.
-
- R 35
- G 37
- B 63
RGB color chart
-
- C 44
- M 41
- Y 0
- K 37
CMYK color chart
● #5a5fa1 color description : Mostly desaturated dark blue.
The hexadecimal color #5a5fa1 has RGB values of R:90, G:95, B:161 and CMYK values of C:0.44, M:0.41, Y:0, K:0.37. Its decimal value is 5922721.
Hex triplet | 5a5fa1 | #5a5fa1 |
---|---|---|
RGB Decimal | 90, 95, 161 | rgb(90,95,161) |
RGB Percent | 35.3, 37.3, 63.1 | rgb(35.3%,37.3%,63.1%) |
CMYK | 44, 41, 0, 37 | |
HSL | 235.8°, 28.3, 49.2 | hsl(235.8,28.3%,49.2%) |
HSV (or HSB) | 235.8°, 44.1, 63.1 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 42.659, 15.794, -36.434 |
---|---|
XYZ | 14.74, 12.931, 35.435 |
xyY | 0.234, 0.205, 12.931 |
CIE-LCH | 42.659, 39.71, 293.436 |
CIE-LUV | 42.659, -5.915, -54.844 |
Hunter-Lab | 35.96, 10.241, -33.254 |
Binary | 01011010, 01011111, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a5fa1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a5fa1
This text has a font color of #5a5fa1.
<span style="color:#5a5fa1;">Text here</span>
#5a5fa1 background color
This paragraph has a background color of #5a5fa1.
<p style="background-color:#5a5fa1;">Content here</p>
#5a5fa1 border color
This element has a border color of #5a5fa1.
<div style="border:1px solid #5a5fa1;">Content here</div>
CSS codes
.text {color:#5a5fa1;}
.background {background-color:#5a5fa1;}
.border {border:1px solid #5a5fa1;}
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, #06060a is the darkest color, while #fcfdfe is the lightest one.
-
#06060a
#06060a
rgb(6,6,10)
-
#0d0d17
#0d0d17
rgb(13,13,23)
-
#141523
#141523
rgb(20,21,35)
-
#1b1c30
#1b1c30
rgb(27,28,48)
-
#22243c
#22243c
rgb(34,36,60)
-
#292b49
#292b49
rgb(41,43,73)
-
#303256
#303256
rgb(48,50,86)
-
#373a62
#373a62
rgb(55,58,98)
-
#3e416f
#3e416f
rgb(62,65,111)
-
#45497b
#45497b
rgb(69,73,123)
-
#4c5088
#4c5088
rgb(76,80,136)
-
#535894
#535894
rgb(83,88,148)
-
#5a5fa1
#5a5fa1
rgb(90,95,161)
Shade Color Variation
-
#656aa9
#656aa9
rgb(101,106,169)
-
#7276b0
#7276b0
rgb(114,118,176)
-
#7f83b7
#7f83b7
rgb(127,131,183)
-
#8b8fbe
#8b8fbe
rgb(139,143,190)
-
#989bc5
#989bc5
rgb(152,155,197)
-
#a4a7cc
#a4a7cc
rgb(164,167,204)
-
#b1b3d3
#b1b3d3
rgb(177,179,211)
-
#bec0da
#bec0da
rgb(190,192,218)
-
#cacce1
#cacce1
rgb(202,204,225)
-
#d7d8e8
#d7d8e8
rgb(215,216,232)
-
#e3e4ef
#e3e4ef
rgb(227,228,239)
-
#f0f0f7
#f0f0f7
rgb(240,240,247)
-
#fcfdfe
#fcfdfe
rgb(252,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #777884 is the less saturated color, while #0314f8 is the most saturated one.
-
#777884
#777884
rgb(119,120,132)
-
#6d708e
#6d708e
rgb(109,112,142)
-
#646797
#646797
rgb(100,103,151)
-
#5a5fa1
#5a5fa1
rgb(90,95,161)
-
#5057ab
#5057ab
rgb(80,87,171)
-
#474eb4
#474eb4
rgb(71,78,180)
-
#3d46be
#3d46be
rgb(61,70,190)
-
#333ec8
#333ec8
rgb(51,62,200)
-
#2a36d1
#2a36d1
rgb(42,54,209)
-
#202ddb
#202ddb
rgb(32,45,219)
-
#1625e5
#1625e5
rgb(22,37,229)
-
#0d1dee
#0d1dee
rgb(13,29,238)
-
#0314f8
#0314f8
rgb(3,20,248)
Tone Color Variation
Below, you can see how #5a5fa1 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