#31158b Color Information

In a RGB color space, hex #31158b is composed of 19.2% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 64.7% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 254.2 degrees, a saturation of 73.8% and a lightness of 31.4%. #31158b color hex could be obtained by blending #622aff with #000017. Closest websafe color is: #330099.

    • R 19
    • G 8
    • B 55
    RGB color chart
    • C 65
    • M 85
    • Y 0
    • K 45
    CMYK color chart

#31158b color description : Dark blue.

#31158b Color Conversion

The hexadecimal color #31158b has RGB values of R:49, G:21, B:139 and CMYK values of C:0.65, M:0.85, Y:0, K:0.45. Its decimal value is 3216779.

Hex triplet 31158b #31158b
RGB Decimal 49, 21, 139 rgb(49,21,139)
RGB Percent 19.2, 8.2, 54.5 rgb(19.2%,8.2%,54.5%)
CMYK 65, 85, 0, 45
HSL 254.2°, 73.8, 31.4 hsl(254.2,73.8%,31.4%)
HSV (or HSB) 254.2°, 84.9, 54.5
Web Safe 330099 #330099
CIE-LAB 20.256, 44.937, -59.446
XYZ 6.194, 3.053, 24.688
xyY 0.183, 0.09, 3.053
CIE-LCH 20.256, 74.52, 307.086
CIE-LUV 20.256, -0.339, -65.922
Hunter-Lab 17.473, 32.698, -71.538
Binary 00110001, 00010101, 10001011

Color Schemes with #31158b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #31158b

Below, you can see some colors close to #31158b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#31158b Preview

Text with hexadecimal color #31158b

This text has a font color of #31158b.

<span style="color:#31158b;">Text here</span>
#31158b background color

This paragraph has a background color of #31158b.

<p style="background-color:#31158b;">Content here</p>
#31158b border color

This element has a border color of #31158b.

<div style="border:1px solid #31158b;">Content here</div>
CSS codes
.text {color:#31158b;}
.background {background-color:#31158b;}
.border {border:1px solid #31158b;}

Shades and Tints of #31158b

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, #010003 is the darkest color, while #f4f1fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #31158b

A tone is produced by adding gray to any pure hue. In this case, #4e4c54 is the less saturated color, while #27039d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31158b 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2c273e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d61 Deuteranopia 1% of men
  • #004145 Tritanopia 0.001% of the population
Trichromacy
  • #112c7a Protanomaly 1% of men, 0.01% of women
  • #112e70 Deuteranomaly 6% of men, 0.4% of women
  • #11315e Tritanomaly 0.01% of the population