#5158f6 hex color
In a RGB color space, hex #5158f6 is composed of 31.8% red, 34.5% green and 96.5% blue. Whereas in a CMYK color space, it is composed of 67.1% cyan, 64.2% magenta, 0% yellow and 3.5% black. It has a hue angle of 237.5 degrees, a saturation of 90.2% and a lightness of 64.1%. #5158f6 color hex could be obtained by blending #a2b0ff with #0000ed. Closest websafe color is: #6666ff.
-
- R 32
- G 35
- B 96
RGB color chart
-
- C 67
- M 64
- Y 0
- K 4
CMYK color chart
● #5158f6 color description : Soft blue.
The hexadecimal color #5158f6 has RGB values of R:81, G:88, B:246 and CMYK values of C:0.67, M:0.64, Y:0, K:0.04. Its decimal value is 5331190.
Hex triplet | 5158f6 | #5158f6 |
---|---|---|
RGB Decimal | 81, 88, 246 | rgb(81,88,246) |
RGB Percent | 31.8, 34.5, 96.5 | rgb(31.8%,34.5%,96.5%) |
CMYK | 67, 64, 0, 4 | |
HSL | 237.5°, 90.2, 64.1 | hsl(237.5,90.2%,64.1%) |
HSV (or HSB) | 237.5°, 67.1, 96.5 | |
Web Safe | 6666ff | #6666ff |
CIE-LAB | 46.152, 45.986, -79.78 |
---|---|
XYZ | 23.514, 15.381, 88.913 |
xyY | 0.184, 0.12, 15.381 |
CIE-LCH | 46.152, 92.084, 299.96 |
CIE-LUV | 46.152, -10.379, -121.567 |
Hunter-Lab | 39.219, 38.389, -106.963 |
Binary | 01010001, 01011000, 11110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5158f6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5158f6
This text has a font color of #5158f6.
<span style="color:#5158f6;">Text here</span>
#5158f6 background color
This paragraph has a background color of #5158f6.
<p style="background-color:#5158f6;">Content here</p>
#5158f6 border color
This element has a border color of #5158f6.
<div style="border:1px solid #5158f6;">Content here</div>
CSS codes
.text {color:#5158f6;}
.background {background-color:#5158f6;}
.border {border:1px solid #5158f6;}
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, #01010d is the darkest color, while #f9f9ff is the lightest one.
-
#01010d
#01010d
rgb(1,1,13)
-
#02031f
#02031f
rgb(2,3,31)
-
#030532
#030532
rgb(3,5,50)
-
#040644
#040644
rgb(4,6,68)
-
#050857
#050857
rgb(5,8,87)
-
#050a6a
#050a6a
rgb(5,10,106)
-
#060b7c
#060b7c
rgb(6,11,124)
-
#070d8f
#070d8f
rgb(7,13,143)
-
#080fa2
#080fa2
rgb(8,15,162)
-
#0911b4
#0911b4
rgb(9,17,180)
-
#0a12c7
#0a12c7
rgb(10,18,199)
-
#0b14da
#0b14da
rgb(11,20,218)
-
#0c16ec
#0c16ec
rgb(12,22,236)
Shade Color Variation
-
#1922f3
#1922f3
rgb(25,34,243)
-
#2c34f4
#2c34f4
rgb(44,52,244)
-
#3e46f5
#3e46f5
rgb(62,70,245)
-
#5158f6
#5158f6
rgb(81,88,246)
-
#646af7
#646af7
rgb(100,106,247)
-
#767cf8
#767cf8
rgb(118,124,248)
-
#898ef9
#898ef9
rgb(137,142,249)
-
#9ca0fa
#9ca0fa
rgb(156,160,250)
-
#aeb2fb
#aeb2fb
rgb(174,178,251)
-
#c1c3fc
#c1c3fc
rgb(193,195,252)
-
#d4d5fd
#d4d5fd
rgb(212,213,253)
-
#e6e7fe
#e6e7fe
rgb(230,231,254)
-
#f9f9ff
#f9f9ff
rgb(249,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #9e9fa9 is the less saturated color, while #4a52fd is the most saturated one.
-
#9e9fa9
#9e9fa9
rgb(158,159,169)
-
#9798b0
#9798b0
rgb(151,152,176)
-
#9092b7
#9092b7
rgb(144,146,183)
-
#898cbe
#898cbe
rgb(137,140,190)
-
#8285c5
#8285c5
rgb(130,133,197)
-
#7b7fcc
#7b7fcc
rgb(123,127,204)
-
#7478d3
#7478d3
rgb(116,120,211)
-
#6d72da
#6d72da
rgb(109,114,218)
-
#666be1
#666be1
rgb(102,107,225)
-
#5f65e8
#5f65e8
rgb(95,101,232)
-
#585eef
#585eef
rgb(88,94,239)
-
#5158f6
#5158f6
rgb(81,88,246)
-
#4a52fd
#4a52fd
rgb(74,82,253)
Tone Color Variation
Below, you can see how #5158f6 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