#171f40 Color Information

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

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

#171f40 color description : Very dark blue.

#171f40 Color Conversion

The hexadecimal color #171f40 has RGB values of R:23, G:31, B:64 and CMYK values of C:0.64, M:0.52, Y:0, K:0.75. Its decimal value is 1515328.

Hex triplet 171f40 #171f40
RGB Decimal 23, 31, 64 rgb(23,31,64)
RGB Percent 9, 12.2, 25.1 rgb(9%,12.2%,25.1%)
CMYK 64, 52, 0, 75
HSL 228.3°, 47.1, 17.1 hsl(228.3,47.1%,17.1%)
HSV (or HSB) 228.3°, 64.1, 25.1
Web Safe 003333 #003333
CIE-LAB 12.811, 8.307, -22.196
XYZ 1.769, 1.532, 5.053
xyY 0.212, 0.183, 1.532
CIE-LCH 12.811, 23.7, 290.519
CIE-LUV 12.811, -3.428, -20.454
Hunter-Lab 12.378, 3.841, -15.537
Binary 00010111, 00011111, 01000000

Color Schemes with #171f40

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

Alternatives to #171f40

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

Similar Colors

#171f40 Preview

Text with hexadecimal color #171f40

This text has a font color of #171f40.

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

This paragraph has a background color of #171f40.

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

This element has a border color of #171f40.

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

Shades and Tints of #171f40

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 #171f40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #171f40 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.

  • #202020 Achromatopsia 0.005% of the population
  • #1e2026 Atypical Achromatopsia 0.001% of the population
  • #1c2b4a Protanopia 1% of men
  • #142d48 Deuteranopia 1% of men
  • #173033 Tritanopia 0.001% of the population
  • #1a2746 Protanomaly 1% of men, 0.01% of women
  • #152845 Deuteranomaly 6% of men, 0.4% of women
  • #172938 Tritanomaly 0.01% of the population