#31255b hex color
In a RGB color space, hex #31255b is composed of 19.2% red, 14.5% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 59.3% magenta, 0% yellow and 64.3% black. It has a hue angle of 253.3 degrees, a saturation of 42.2% and a lightness of 25.1%. #31255b color hex could be obtained by blending #624ab6 with #000000. Closest websafe color is: #333366.
-
- R 19
- G 15
- B 36
RGB color chart
-
- C 46
- M 59
- Y 0
- K 64
CMYK color chart
● #31255b color description : Very dark desaturated blue.
The hexadecimal color #31255b has RGB values of R:49, G:37, B:91 and CMYK values of C:0.46, M:0.59, Y:0, K:0.64. Its decimal value is 3220827.
Hex triplet | 31255b | #31255b |
---|---|---|
RGB Decimal | 49, 37, 91 | rgb(49,37,91) |
RGB Percent | 19.2, 14.5, 35.7 | rgb(19.2%,14.5%,35.7%) |
CMYK | 46, 59, 0, 64 | |
HSL | 253.3°, 42.2, 25.1 | hsl(253.3,42.2%,25.1%) |
HSV (or HSB) | 253.3°, 59.3, 35.7 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 18.934, 20.633, -30.67 |
---|---|
XYZ | 3.816, 2.731, 10.223 |
xyY | 0.228, 0.163, 2.731 |
CIE-LCH | 18.934, 36.964, 303.93 |
CIE-LUV | 18.934, 1.098, -35.089 |
Hunter-Lab | 16.527, 12.295, -25.106 |
Binary | 00110001, 00100101, 01011011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #31255b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #31255b
This text has a font color of #31255b.
<span style="color:#31255b;">Text here</span>
#31255b background color
This paragraph has a background color of #31255b.
<p style="background-color:#31255b;">Content here</p>
#31255b border color
This element has a border color of #31255b.
<div style="border:1px solid #31255b;">Content here</div>
CSS codes
.text {color:#31255b;}
.background {background-color:#31255b;}
.border {border:1px solid #31255b;}
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, #040307 is the darkest color, while #f9f8fc is the lightest one.
-
#040307
#040307
rgb(4,3,7)
-
#0b0915
#0b0915
rgb(11,9,21)
-
#130e23
#130e23
rgb(19,14,35)
-
#1a1431
#1a1431
rgb(26,20,49)
-
#221a3f
#221a3f
rgb(34,26,63)
-
#291f4d
#291f4d
rgb(41,31,77)
-
#31255b
#31255b
rgb(49,37,91)
-
#392b69
#392b69
rgb(57,43,105)
-
#403077
#403077
rgb(64,48,119)
-
#483685
#483685
rgb(72,54,133)
-
#4f3c93
#4f3c93
rgb(79,60,147)
-
#5741a1
#5741a1
rgb(87,65,161)
-
#5e47af
#5e47af
rgb(94,71,175)
Shade Color Variation
-
#6851b8
#6851b8
rgb(104,81,184)
-
#745fbe
#745fbe
rgb(116,95,190)
-
#806dc4
#806dc4
rgb(128,109,196)
-
#8c7bc9
#8c7bc9
rgb(140,123,201)
-
#9889cf
#9889cf
rgb(152,137,207)
-
#a597d5
#a597d5
rgb(165,151,213)
-
#b1a5da
#b1a5da
rgb(177,165,218)
-
#bdb3e0
#bdb3e0
rgb(189,179,224)
-
#c9c1e6
#c9c1e6
rgb(201,193,230)
-
#d5cfeb
#d5cfeb
rgb(213,207,235)
-
#e1dcf1
#e1dcf1
rgb(225,220,241)
-
#edeaf7
#edeaf7
rgb(237,234,247)
-
#f9f8fc
#f9f8fc
rgb(249,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3f3e42 is the less saturated color, while #1e037d is the most saturated one.
-
#3f3e42
#3f3e42
rgb(63,62,66)
-
#3c3947
#3c3947
rgb(60,57,71)
-
#39344c
#39344c
rgb(57,52,76)
-
#362f51
#362f51
rgb(54,47,81)
-
#342a56
#342a56
rgb(52,42,86)
-
#31255b
#31255b
rgb(49,37,91)
-
#2e2060
#2e2060
rgb(46,32,96)
-
#2c1b65
#2c1b65
rgb(44,27,101)
-
#29166a
#29166a
rgb(41,22,106)
-
#26116f
#26116f
rgb(38,17,111)
-
#230c74
#230c74
rgb(35,12,116)
-
#210779
#210779
rgb(33,7,121)
-
#1e037d
#1e037d
rgb(30,3,125)
Tone Color Variation
Below, you can see how #31255b 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