#5f51b9 hex color
In a RGB color space, hex #5f51b9 is composed of 37.3% red, 31.8% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 48.6% cyan, 56.2% magenta, 0% yellow and 27.5% black. It has a hue angle of 248.1 degrees, a saturation of 42.6% and a lightness of 52.2%. #5f51b9 color hex could be obtained by blending #bea2ff with #000073. Closest websafe color is: #6666cc.
-
- R 37
- G 32
- B 73
RGB color chart
-
- C 49
- M 56
- Y 0
- K 27
CMYK color chart
● #5f51b9 color description : Moderate blue.
The hexadecimal color #5f51b9 has RGB values of R:95, G:81, B:185 and CMYK values of C:0.49, M:0.56, Y:0, K:0.27. Its decimal value is 6246841.
Hex triplet | 5f51b9 | #5f51b9 |
---|---|---|
RGB Decimal | 95, 81, 185 | rgb(95,81,185) |
RGB Percent | 37.3, 31.8, 72.5 | rgb(37.3%,31.8%,72.5%) |
CMYK | 49, 56, 0, 27 | |
HSL | 248.1°, 42.6, 52.2 | hsl(248.1,42.6%,52.2%) |
HSV (or HSB) | 248.1°, 56.2, 72.5 | |
Web Safe | 6666cc | #6666cc |
CIE-LAB | 40.929, 33.073, -53.332 |
---|---|
XYZ | 16.417, 11.82, 47.313 |
xyY | 0.217, 0.156, 11.82 |
CIE-LCH | 40.929, 62.754, 301.804 |
CIE-LUV | 40.929, -1.17, -80.557 |
Hunter-Lab | 34.38, 25.07, -57.526 |
Binary | 01011111, 01010001, 10111001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f51b9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f51b9
This text has a font color of #5f51b9.
<span style="color:#5f51b9;">Text here</span>
#5f51b9 background color
This paragraph has a background color of #5f51b9.
<p style="background-color:#5f51b9;">Content here</p>
#5f51b9 border color
This element has a border color of #5f51b9.
<div style="border:1px solid #5f51b9;">Content here</div>
CSS codes
.text {color:#5f51b9;}
.background {background-color:#5f51b9;}
.border {border:1px solid #5f51b9;}
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, #040308 is the darkest color, while #f9f9fd is the lightest one.
-
#040308
#040308
rgb(4,3,8)
-
#0b0916
#0b0916
rgb(11,9,22)
-
#110e24
#110e24
rgb(17,14,36)
-
#181432
#181432
rgb(24,20,50)
-
#1f1a40
#1f1a40
rgb(31,26,64)
-
#261f4e
#261f4e
rgb(38,31,78)
-
#2c255c
#2c255c
rgb(44,37,92)
-
#332b6a
#332b6a
rgb(51,43,106)
-
#3a3078
#3a3078
rgb(58,48,120)
-
#413686
#413686
rgb(65,54,134)
-
#473b94
#473b94
rgb(71,59,148)
-
#4e41a2
#4e41a2
rgb(78,65,162)
-
#5547b0
#5547b0
rgb(85,71,176)
Shade Color Variation
-
#5f51b9
#5f51b9
rgb(95,81,185)
-
#6c5fbf
#6c5fbf
rgb(108,95,191)
-
#796dc4
#796dc4
rgb(121,109,196)
-
#867bca
#867bca
rgb(134,123,202)
-
#9289d0
#9289d0
rgb(146,137,208)
-
#9f97d5
#9f97d5
rgb(159,151,213)
-
#aca5db
#aca5db
rgb(172,165,219)
-
#b9b3e0
#b9b3e0
rgb(185,179,224)
-
#c6c1e6
#c6c1e6
rgb(198,193,230)
-
#d3cfec
#d3cfec
rgb(211,207,236)
-
#e0ddf1
#e0ddf1
rgb(224,221,241)
-
#ecebf7
#ecebf7
rgb(236,235,247)
-
#f9f9fd
#f9f9fd
rgb(249,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #81808a is the less saturated color, while #2f0ffb is the most saturated one.
-
#81808a
#81808a
rgb(129,128,138)
-
#7a7793
#7a7793
rgb(122,119,147)
-
#746d9d
#746d9d
rgb(116,109,157)
-
#6d64a6
#6d64a6
rgb(109,100,166)
-
#665ab0
#665ab0
rgb(102,90,176)
-
#5f51b9
#5f51b9
rgb(95,81,185)
-
#5848c2
#5848c2
rgb(88,72,194)
-
#513ecc
#513ecc
rgb(81,62,204)
-
#4a35d5
#4a35d5
rgb(74,53,213)
-
#442bdf
#442bdf
rgb(68,43,223)
-
#3d22e8
#3d22e8
rgb(61,34,232)
-
#3619f1
#3619f1
rgb(54,25,241)
-
#2f0ffb
#2f0ffb
rgb(47,15,251)
Tone Color Variation
Below, you can see how #5f51b9 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