#172040 Color Information

In a RGB color space, hex #172040 is composed of 9% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 64.1% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 226.8 degrees, a saturation of 47.1% and a lightness of 17.1%. #172040 color hex could be obtained by blending #2e4080 with #000000. Closest websafe color is: #003333.

    • R 9
    • G 13
    • B 25
    RGB color chart
    • C 64
    • M 50
    • Y 0
    • K 75
    CMYK color chart

#172040 color description : Very dark blue.

#172040 Color Conversion

The hexadecimal color #172040 has RGB values of R:23, G:32, B:64 and CMYK values of C:0.64, M:0.5, Y:0, K:0.75. Its decimal value is 1515584.

Hex triplet 172040 #172040
RGB Decimal 23, 32, 64 rgb(23,32,64)
RGB Percent 9, 12.5, 25.1 rgb(9%,12.5%,25.1%)
CMYK 64, 50, 0, 75
HSL 226.8°, 47.1, 17.1 hsl(226.8,47.1%,17.1%)
HSV (or HSB) 226.8°, 64.1, 25.1
Web Safe 003333 #003333
CIE-LAB 13.14, 7.549, -21.671
XYZ 1.795, 1.585, 5.062
xyY 0.213, 0.188, 1.585
CIE-LCH 13.14, 22.948, 289.206
CIE-LUV 13.14, -3.702, -20.207
Hunter-Lab 12.591, 3.415, -15.022
Binary 00010111, 00100000, 01000000

Color Schemes with #172040

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

Alternatives to #172040

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

Similar Colors

#172040 Preview

Text with hexadecimal color #172040

This text has a font color of #172040.

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

This paragraph has a background color of #172040.

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

This element has a border color of #172040.

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

Shades and Tints of #172040

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

Shade Color Variation
Tint Color Variation

Tones of #172040

A tone is produced by adding gray to any pure hue. In this case, #2b2b2c is the less saturated color, while #031554 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #172040 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
  • #212121 Achromatopsia 0.005% of the population
  • #1f2127 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1e2c4a Protanopia 1% of men
  • #172d49 Deuteranopia 1% of men
  • #183034 Tritanopia 0.001% of the population
Trichromacy
  • #1b2746 Protanomaly 1% of men, 0.01% of women
  • #172845 Deuteranomaly 6% of men, 0.4% of women
  • #172a38 Tritanomaly 0.01% of the population