#172a7f Color Information

In a RGB color space, hex #172a7f is composed of 9% red, 16.5% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 81.9% cyan, 66.9% magenta, 0% yellow and 50.2% black. It has a hue angle of 229 degrees, a saturation of 69.3% and a lightness of 29.4%. #172a7f color hex could be obtained by blending #2e54fe with #000000. Closest websafe color is: #003366.

    • R 9
    • G 16
    • B 50
    RGB color chart
    • C 82
    • M 67
    • Y 0
    • K 50
    CMYK color chart

#172a7f color description : Dark blue.

#172a7f Color Conversion

The hexadecimal color #172a7f has RGB values of R:23, G:42, B:127 and CMYK values of C:0.82, M:0.67, Y:0, K:0.5. Its decimal value is 1518207.

Hex triplet 172a7f #172a7f
RGB Decimal 23, 42, 127 rgb(23,42,127)
RGB Percent 9, 16.5, 49.8 rgb(9%,16.5%,49.8%)
CMYK 82, 67, 0, 50
HSL 229°, 69.3, 29.4 hsl(229,69.3%,29.4%)
HSV (or HSB) 229°, 81.9, 49.8
Web Safe 003366 #003366
CIE-LAB 21.469, 25.985, -49.96
XYZ 5.011, 3.37, 20.464
xyY 0.174, 0.117, 3.37
CIE-LCH 21.469, 56.314, 297.479
CIE-LUV 21.469, -7.381, -58.331
Hunter-Lab 18.358, 16.601, -53.242
Binary 00010111, 00101010, 01111111

Color Schemes with #172a7f

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

Alternatives to #172a7f

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

Similar Colors

#172a7f Preview

Text with hexadecimal color #172a7f

This text has a font color of #172a7f.

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

This paragraph has a background color of #172a7f.

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

This element has a border color of #172a7f.

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

Shades and Tints of #172a7f

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, #02040b is the darkest color, while #f9fafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #172a7f

A tone is produced by adding gray to any pure hue. In this case, #4b4b4b is the less saturated color, while #061f90 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #172a7f 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #292d3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f66 Deuteranopia 1% of men
  • #004447 Tritanopia 0.001% of the population
Trichromacy
  • #083579 Protanomaly 1% of men, 0.01% of women
  • #08376f Deuteranomaly 6% of men, 0.4% of women
  • #083a5b Tritanomaly 0.01% of the population