#171f42 Color Information

In a RGB color space, hex #171f42 is composed of 9% red, 12.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 65.2% cyan, 53% magenta, 0% yellow and 74.1% black. It has a hue angle of 228.8 degrees, a saturation of 48.3% and a lightness of 17.5%. #171f42 color hex could be obtained by blending #2e3e84 with #000000. Closest websafe color is: #003333.

    • R 9
    • G 12
    • B 26
    RGB color chart
    • C 65
    • M 53
    • Y 0
    • K 74
    CMYK color chart

#171f42 color description : Very dark blue.

#171f42 Color Conversion

The hexadecimal color #171f42 has RGB values of R:23, G:31, B:66 and CMYK values of C:0.65, M:0.53, Y:0, K:0.74. Its decimal value is 1515330.

Hex triplet 171f42 #171f42
RGB Decimal 23, 31, 66 rgb(23,31,66)
RGB Percent 9, 12.2, 25.9 rgb(9%,12.2%,25.9%)
CMYK 65, 53, 0, 74
HSL 228.8°, 48.3, 17.5 hsl(228.8,48.3%,17.5%)
HSV (or HSB) 228.8°, 65.2, 25.9
Web Safe 003333 #003333
CIE-LAB 12.956, 9.116, -23.366
XYZ 1.827, 1.555, 5.358
xyY 0.209, 0.178, 1.555
CIE-LCH 12.956, 25.081, 291.312
CIE-LUV 12.956, -3.477, -21.697
Hunter-Lab 12.472, 4.317, -16.742
Binary 00010111, 00011111, 01000010

Color Schemes with #171f42

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

Alternatives to #171f42

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

Similar Colors

#171f42 Preview

Text with hexadecimal color #171f42

This text has a font color of #171f42.

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

This paragraph has a background color of #171f42.

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

This element has a border color of #171f42.

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

Shades and Tints of #171f42

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

Shade Color Variation
Tint Color Variation

Tones of #171f42

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

Tone Color Variation

Color Blindness Simulator

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

  • #212121 Achromatopsia 0.005% of the population
  • #1f2128 Atypical Achromatopsia 0.001% of the population
  • #1b2b4c Protanopia 1% of men
  • #102d4a Deuteranopia 1% of men
  • #163034 Tritanopia 0.001% of the population
  • #192748 Protanomaly 1% of men, 0.01% of women
  • #122847 Deuteranomaly 6% of men, 0.4% of women
  • #162a39 Tritanomaly 0.01% of the population