#5f42c4 Color Information
In a RGB color space, hex #5f42c4 is composed of 37.3% red, 25.9% green and 76.9% blue. Whereas in a CMYK color space, it is composed of 51.5% cyan, 66.3% magenta, 0% yellow and 23.1% black. It has a hue angle of 253.4 degrees, a saturation of 52.4% and a lightness of 51.4%. #5f42c4 color hex could be obtained by blending #be84ff with #000089. Closest websafe color is: #6633cc.
-
- R 37
- G 26
- B 77
-
- C 52
- M 66
- Y 0
- K 23
● #5f42c4 color description : Moderate blue.
#5f42c4 Color Conversion
The hexadecimal color #5f42c4 has RGB values of R:95, G:66, B:196 and CMYK values of C:0.52, M:0.66, Y:0, K:0.23. Its decimal value is 6243012.
Hex triplet | 5f42c4 | #5f42c4 |
---|---|---|
RGB Decimal | 95, 66, 196 | rgb(95,66,196) |
RGB Percent | 37.3, 25.9, 76.9 | rgb(37.3%,25.9%,76.9%) |
CMYK | 52, 66, 0, 23 | |
HSL | 253.4°, 52.4, 51.4 | hsl(253.4,52.4%,51.4%) |
HSV (or HSB) | 253.4°, 66.3, 76.9 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 38.401, 45.164, -63.864 |
---|---|
XYZ | 16.63, 10.314, 53.336 |
xyY | 0.207, 0.128, 10.314 |
CIE-LCH | 38.401, 78.22, 305.268 |
CIE-LUV | 38.401, 1.451, -93.943 |
Hunter-Lab | 32.116, 36.223, -75.983 |
Binary | 01011111, 01000010, 11000100 |
Color Schemes with #5f42c4
Alternatives to #5f42c4
Below, you can see some colors close to #5f42c4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f42c4 Preview
This text has a font color of #5f42c4.
<span style="color:#5f42c4;">Text here</span>
This paragraph has a background color of #5f42c4.
<p style="background-color:#5f42c4;">Content here</p>
This element has a border color of #5f42c4.
<div style="border:1px solid #5f42c4;">Content here</div>
.text {color:#5f42c4;}
.background {background-color:#5f42c4;}
.border {border:1px solid #5f42c4;}
Shades and Tints of #5f42c4
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, #020205 is the darkest color, while #f7f5fc is the lightest one.
-
#020205
#020205
rgb(2,2,5)
-
#090614
#090614
rgb(9,6,20)
-
#100b23
#100b23
rgb(16,11,35)
-
#171032
#171032
rgb(23,16,50)
-
#1e1441
#1e1441
rgb(30,20,65)
-
#251950
#251950
rgb(37,25,80)
-
#2c1e5f
#2c1e5f
rgb(44,30,95)
-
#33226e
#33226e
rgb(51,34,110)
-
#3a277d
#3a277d
rgb(58,39,125)
-
#412c8c
#412c8c
rgb(65,44,140)
-
#48309b
#48309b
rgb(72,48,155)
-
#4f35aa
#4f35aa
rgb(79,53,170)
-
#563ab9
#563ab9
rgb(86,58,185)
-
#5f42c4
#5f42c4
rgb(95,66,196)
-
#6c51c9
#6c51c9
rgb(108,81,201)
-
#7860cd
#7860cd
rgb(120,96,205)
-
#856fd2
#856fd2
rgb(133,111,210)
-
#927ed7
#927ed7
rgb(146,126,215)
-
#9e8ddb
#9e8ddb
rgb(158,141,219)
-
#ab9ce0
#ab9ce0
rgb(171,156,224)
-
#b8abe5
#b8abe5
rgb(184,171,229)
-
#c4bae9
#c4bae9
rgb(196,186,233)
-
#d1c9ee
#d1c9ee
rgb(209,201,238)
-
#ded7f3
#ded7f3
rgb(222,215,243)
-
#eae6f7
#eae6f7
rgb(234,230,247)
-
#f7f5fc
#f7f5fc
rgb(247,245,252)
Tones of #5f42c4
A tone is produced by adding gray to any pure hue. In this case, #7f7b8b is the less saturated color, while #3f09fd is the most saturated one.
-
#7f7b8b
#7f7b8b
rgb(127,123,139)
-
#797294
#797294
rgb(121,114,148)
-
#74689e
#74689e
rgb(116,104,158)
-
#6f5fa7
#6f5fa7
rgb(111,95,167)
-
#6a55b1
#6a55b1
rgb(106,85,177)
-
#644cba
#644cba
rgb(100,76,186)
-
#5f42c4
#5f42c4
rgb(95,66,196)
-
#5a38ce
#5a38ce
rgb(90,56,206)
-
#542fd7
#542fd7
rgb(84,47,215)
-
#4f25e1
#4f25e1
rgb(79,37,225)
-
#4a1cea
#4a1cea
rgb(74,28,234)
-
#4512f4
#4512f4
rgb(69,18,244)
-
#3f09fd
#3f09fd
rgb(63,9,253)
Color Blindness Simulator
Below, you can see how #5f42c4 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.