#5f5198 hex color
In a RGB color space, hex #5f5198 is composed of 37.3% red, 31.8% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 46.7% magenta, 0% yellow and 40.4% black. It has a hue angle of 251.8 degrees, a saturation of 30.5% and a lightness of 45.7%. #5f5198 color hex could be obtained by blending #bea2ff with #000031. Closest websafe color is: #666699.
-
- R 37
- G 32
- B 60
RGB color chart
-
- C 38
- M 47
- Y 0
- K 40
CMYK color chart
● #5f5198 color description : Dark moderate blue.
The hexadecimal color #5f5198 has RGB values of R:95, G:81, B:152 and CMYK values of C:0.38, M:0.47, Y:0, K:0.4. Its decimal value is 6246808.
Hex triplet | 5f5198 | #5f5198 |
---|---|---|
RGB Decimal | 95, 81, 152 | rgb(95,81,152) |
RGB Percent | 37.3, 31.8, 59.6 | rgb(37.3%,31.8%,59.6%) |
CMYK | 38, 47, 0, 40 | |
HSL | 251.8°, 30.5, 45.7 | hsl(251.8,30.5%,45.7%) |
HSV (or HSB) | 251.8°, 46.7, 59.6 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 38.872, 23.249, -37.029 |
---|---|
XYZ | 13.328, 10.585, 31.045 |
xyY | 0.243, 0.193, 10.585 |
CIE-LCH | 38.872, 43.722, 302.123 |
CIE-LUV | 38.872, 1.599, -55.169 |
Hunter-Lab | 32.534, 16.192, -33.802 |
Binary | 01011111, 01010001, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f5198. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f5198
This text has a font color of #5f5198.
<span style="color:#5f5198;">Text here</span>
#5f5198 background color
This paragraph has a background color of #5f5198.
<p style="background-color:#5f5198;">Content here</p>
#5f5198 border color
This element has a border color of #5f5198.
<div style="border:1px solid #5f5198;">Content here</div>
CSS codes
.text {color:#5f5198;}
.background {background-color:#5f5198;}
.border {border:1px solid #5f5198;}
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, #07060b is the darkest color, while #fefdfe is the lightest one.
-
#07060b
#07060b
rgb(7,6,11)
-
#0f0d18
#0f0d18
rgb(15,13,24)
-
#171425
#171425
rgb(23,20,37)
-
#1f1a32
#1f1a32
rgb(31,26,50)
-
#27213e
#27213e
rgb(39,33,62)
-
#2f284b
#2f284b
rgb(47,40,75)
-
#372f58
#372f58
rgb(55,47,88)
-
#3f3665
#3f3665
rgb(63,54,101)
-
#473d72
#473d72
rgb(71,61,114)
-
#4f437e
#4f437e
rgb(79,67,126)
-
#574a8b
#574a8b
rgb(87,74,139)
-
#5f5198
#5f5198
rgb(95,81,152)
-
#6758a5
#6758a5
rgb(103,88,165)
Shade Color Variation
-
#7264ac
#7264ac
rgb(114,100,172)
-
#7e71b3
#7e71b3
rgb(126,113,179)
-
#897dba
#897dba
rgb(137,125,186)
-
#958ac1
#958ac1
rgb(149,138,193)
-
#a197c8
#a197c8
rgb(161,151,200)
-
#aca4ce
#aca4ce
rgb(172,164,206)
-
#b8b1d5
#b8b1d5
rgb(184,177,213)
-
#c3bddc
#c3bddc
rgb(195,189,220)
-
#cfcae3
#cfcae3
rgb(207,202,227)
-
#dbd7ea
#dbd7ea
rgb(219,215,234)
-
#e6e4f1
#e6e4f1
rgb(230,228,241)
-
#f2f1f7
#f2f1f7
rgb(242,241,247)
-
#fefdfe
#fefdfe
rgb(254,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6f6c7d is the less saturated color, while #2e00e9 is the most saturated one.
-
#6f6c7d
#6f6c7d
rgb(111,108,125)
-
#6a6386
#6a6386
rgb(106,99,134)
-
#645a8f
#645a8f
rgb(100,90,143)
-
#5f5198
#5f5198
rgb(95,81,152)
-
#5a48a1
#5a48a1
rgb(90,72,161)
-
#543faa
#543faa
rgb(84,63,170)
-
#4f36b3
#4f36b3
rgb(79,54,179)
-
#492dbc
#492dbc
rgb(73,45,188)
-
#4424c5
#4424c5
rgb(68,36,197)
-
#3e1bce
#3e1bce
rgb(62,27,206)
-
#3912d7
#3912d7
rgb(57,18,215)
-
#3409e0
#3409e0
rgb(52,9,224)
-
#2e00e9
#2e00e9
rgb(46,0,233)
Tone Color Variation
Below, you can see how #5f5198 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