#172a42 Color Information

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

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

#172a42 color description : Very dark blue.

#172a42 Color Conversion

The hexadecimal color #172a42 has RGB values of R:23, G:42, B:66 and CMYK values of C:0.65, M:0.36, Y:0, K:0.74. Its decimal value is 1518146.

Hex triplet 172a42 #172a42
RGB Decimal 23, 42, 66 rgb(23,42,66)
RGB Percent 9, 16.5, 25.9 rgb(9%,16.5%,25.9%)
CMYK 65, 36, 0, 74
HSL 213.5°, 48.3, 17.5 hsl(213.5,48.3%,17.5%)
HSV (or HSB) 213.5°, 65.2, 25.9
Web Safe 003333 #003333
CIE-LAB 16.657, 0.96, -17.494
XYZ 2.164, 2.231, 5.471
xyY 0.219, 0.226, 2.231
CIE-LCH 16.657, 17.521, 273.14
CIE-LUV 16.657, -6.819, -17.862
Hunter-Lab 14.938, -0.276, -11.257
Binary 00010111, 00101010, 01000010

Color Schemes with #172a42

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

Alternatives to #172a42

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

Similar Colors

#172a42 Preview

Text with hexadecimal color #172a42

This text has a font color of #172a42.

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

This paragraph has a background color of #172a42.

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

This element has a border color of #172a42.

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

Shades and Tints of #172a42

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

Shade Color Variation
Tint Color Variation

Tones of #172a42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #172a42 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
  • #272727 Achromatopsia 0.005% of the population
  • #24282c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2b334a Protanopia 1% of men
  • #27344c Deuteranopia 1% of men
  • #1a383c Tritanopia 0.001% of the population
Trichromacy
  • #243047 Protanomaly 1% of men, 0.01% of women
  • #213048 Deuteranomaly 6% of men, 0.4% of women
  • #19333e Tritanomaly 0.01% of the population