#31178b Color Information

In a RGB color space, hex #31178b is composed of 19.2% red, 9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 64.7% cyan, 83.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 253.4 degrees, a saturation of 71.6% and a lightness of 31.8%. #31178b color hex could be obtained by blending #622eff with #000017. Closest websafe color is: #330099.

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

#31178b color description : Dark blue.

#31178b Color Conversion

The hexadecimal color #31178b has RGB values of R:49, G:23, B:139 and CMYK values of C:0.65, M:0.83, Y:0, K:0.45. Its decimal value is 3217291.

Hex triplet 31178b #31178b
RGB Decimal 49, 23, 139 rgb(49,23,139)
RGB Percent 19.2, 9, 54.5 rgb(19.2%,9%,54.5%)
CMYK 65, 83, 0, 45
HSL 253.4°, 71.6, 31.8 hsl(253.4,71.6%,31.8%)
HSV (or HSB) 253.4°, 83.5, 54.5
Web Safe 330099 #330099
CIE-LAB 20.556, 44.056, -58.95
XYZ 6.232, 3.13, 24.7
xyY 0.183, 0.092, 3.13
CIE-LCH 20.556, 73.594, 306.772
CIE-LUV 20.556, -0.527, -66.014
Hunter-Lab 17.691, 31.926, -70.399
Binary 00110001, 00010111, 10001011

Color Schemes with #31178b

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

Alternatives to #31178b

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

Similar Colors

#31178b Preview

Text with hexadecimal color #31178b

This text has a font color of #31178b.

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

This paragraph has a background color of #31178b.

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

This element has a border color of #31178b.

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

Shades and Tints of #31178b

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

Shade Color Variation
Tint Color Variation

Tones of #31178b

A tone is produced by adding gray to any pure hue. In this case, #504f53 is the less saturated color, while #27049e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31178b 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #2d283f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a71 Protanopia 1% of men
  • #003d62 Deuteranopia 1% of men
  • #004246 Tritanopia 0.001% of the population
Trichromacy
  • #112d7a Protanomaly 1% of men, 0.01% of women
  • #112f71 Deuteranomaly 6% of men, 0.4% of women
  • #11325f Tritanomaly 0.01% of the population