#172C82
Blue
HEX
RGB
HSL
About #172C82 Blue
#172C82 is a blue color. In the RGB color model, it is composed of 23 red, 44 green, and 130 blue. In the HSL color space, it has a hue of 228°, saturation of 70%, and lightness of 30%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #172C82 in your CSS, SCSS, or Tailwind projects.
Color Properties
228°
Hue
70%
Saturation
30%
Lightness
Blue
Color Harmonies
Colors that work well with #172C82 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #172C82 against white and black backgrounds.
Aa#172C82 on White
Contrast Ratio12.22:1
AA ✓AA Large ✓AAA ✓
Aa#172C82 on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #172C82 across different color formats.
| Format | Value |
|---|---|
| HEX | #172C82 |
| RGB | rgb(23, 44, 130) |
| HSL | hsl(228, 70%, 30%) |
| RGB Decimal | 23, 44, 130 |
| RGB Percent | 9.0%, 17.3%, 51.0% |
| CMYK (approx.) | 82%, 66%, 0%, 49% |
Related Palettes
12 palettes using #172C82 or similar colors