#172540 Color Information

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

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

#172540 color description : Very dark blue.

#172540 Color Conversion

The hexadecimal color #172540 has RGB values of R:23, G:37, B:64 and CMYK values of C:0.64, M:0.42, Y:0, K:0.75. Its decimal value is 1516864.

Hex triplet 172540 #172540
RGB Decimal 23, 37, 64 rgb(23,37,64)
RGB Percent 9, 14.5, 25.1 rgb(9%,14.5%,25.1%)
CMYK 64, 42, 0, 75
HSL 219.5°, 47.1, 17.1 hsl(219.5,47.1%,17.1%)
HSV (or HSB) 219.5°, 64.1, 25.1
Web Safe 003333 #003333
CIE-LAB 14.819, 3.806, -19.005
XYZ 1.94, 1.875, 5.11
xyY 0.217, 0.21, 1.875
CIE-LCH 14.819, 19.382, 281.326
CIE-LUV 14.819, -5.183, -18.604
Hunter-Lab 13.694, 1.324, -12.538
Binary 00010111, 00100101, 01000000

Color Schemes with #172540

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

Alternatives to #172540

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

Similar Colors

#172540 Preview

Text with hexadecimal color #172540

This text has a font color of #172540.

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

This paragraph has a background color of #172540.

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

This element has a border color of #172540.

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

Shades and Tints of #172540

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

Shade Color Variation
Tint Color Variation

Tones of #172540

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #172540 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
  • #242424 Achromatopsia 0.005% of the population
  • #21242a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #262f49 Protanopia 1% of men
  • #213049 Deuteranopia 1% of men
  • #1a3438 Tritanopia 0.001% of the population
Trichromacy
  • #202b46 Protanomaly 1% of men, 0.01% of women
  • #1d2c46 Deuteranomaly 6% of men, 0.4% of women
  • #182e3a Tritanomaly 0.01% of the population