#31158c Color Information
In a RGB color space, hex #31158c is composed of 19.2% red, 8.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 65% cyan, 85% magenta, 0% yellow and 45.1% black. It has a hue angle of 254.1 degrees, a saturation of 73.9% and a lightness of 31.6%. #31158c color hex could be obtained by blending #622aff with #000019. Closest websafe color is: #330099.
-
- R 19
- G 8
- B 55
-
- C 65
- M 85
- Y 0
- K 45
● #31158c color description : Dark blue.
#31158c Color Conversion
The hexadecimal color #31158c has RGB values of R:49, G:21, B:140 and CMYK values of C:0.65, M:0.85, Y:0, K:0.45. Its decimal value is 3216780.
| Hex triplet | 31158c | #31158c |
|---|---|---|
| RGB Decimal | 49, 21, 140 | rgb(49,21,140) |
| RGB Percent | 19.2, 8.2, 54.9 | rgb(19.2%,8.2%,54.9%) |
| CMYK | 65, 85, 0, 45 | |
| HSL | 254.1°, 73.9, 31.6 | hsl(254.1,73.9%,31.6%) |
| HSV (or HSB) | 254.1°, 85, 54.9 | |
| Web Safe | 330099 | #330099 |
| CIE-LAB | 20.371, 45.229, -59.88 |
|---|---|
| XYZ | 6.268, 3.083, 25.074 |
| xyY | 0.182, 0.09, 3.083 |
| CIE-LCH | 20.371, 75.042, 307.065 |
| CIE-LUV | 20.371, -0.414, -66.508 |
| Hunter-Lab | 17.557, 32.996, -72.385 |
| Binary | 00110001, 00010101, 10001100 |
Color Schemes with #31158c
Alternatives to #31158c
Below, you can see some colors close to #31158c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#31158c Preview
This text has a font color of #31158c.
<span style="color:#31158c;">Text here</span>
This paragraph has a background color of #31158c.
<p style="background-color:#31158c;">Content here</p>
This element has a border color of #31158c.
<div style="border:1px solid #31158c;">Content here</div>
.text {color:#31158c;}
.background {background-color:#31158c;}
.border {border:1px solid #31158c;}
Shades and Tints of #31158c
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, #010104 is the darkest color, while #f4f1fd is the lightest one.
-
#010104
#010104rgb(1,1,4) -
#070315
#070315rgb(7,3,21) -
#0d0626
#0d0626rgb(13,6,38) -
#130837
#130837rgb(19,8,55) -
#190b48
#190b48rgb(25,11,72) -
#1f0d59
#1f0d59rgb(31,13,89) -
#25106a
#25106argb(37,16,106) -
#2b127b
#2b127brgb(43,18,123) -
#31158c
#31158crgb(49,21,140) -
#37189d
#37189drgb(55,24,157) -
#3d1aae
#3d1aaergb(61,26,174) -
#431dbf
#431dbfrgb(67,29,191) -
#491fd0
#491fd0rgb(73,31,208)
-
#5025de
#5025dergb(80,37,222) -
#5e36e1
#5e36e1rgb(94,54,225) -
#6c47e3
#6c47e3rgb(108,71,227) -
#7958e6
#7958e6rgb(121,88,230) -
#8769e9
#8769e9rgb(135,105,233) -
#957aeb
#957aebrgb(149,122,235) -
#a28bee
#a28beergb(162,139,238) -
#b09cf0
#b09cf0rgb(176,156,240) -
#beadf3
#beadf3rgb(190,173,243) -
#cbbef5
#cbbef5rgb(203,190,245) -
#d9cff8
#d9cff8rgb(217,207,248) -
#e7e0fa
#e7e0fargb(231,224,250) -
#f4f1fd
#f4f1fdrgb(244,241,253)
Tones of #31158c
A tone is produced by adding gray to any pure hue. In this case, #4f4d54 is the less saturated color, while #27029f is the most saturated one.
-
#4f4d54
#4f4d54rgb(79,77,84) -
#4b475a
#4b475argb(75,71,90) -
#484061
#484061rgb(72,64,97) -
#453a67
#453a67rgb(69,58,103) -
#41346d
#41346drgb(65,52,109) -
#3e2e73
#3e2e73rgb(62,46,115) -
#3b2879
#3b2879rgb(59,40,121) -
#382180
#382180rgb(56,33,128) -
#341b86
#341b86rgb(52,27,134) -
#31158c
#31158crgb(49,21,140) -
#2e0f92
#2e0f92rgb(46,15,146) -
#2a0998
#2a0998rgb(42,9,152) -
#27029f
#27029frgb(39,2,159)
Color Blindness Simulator
Below, you can see how #31158c 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.
