#1F166A
Blue
HEX
RGB
HSL
About #1F166A Blue
#1F166A is a blue color. In the RGB color model, it is composed of 31 red, 22 green, and 106 blue. In the HSL color space, it has a hue of 246°, saturation of 66%, and lightness of 25%.
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 #1F166A in your CSS, SCSS, or Tailwind projects.
Color Properties
246°
Hue
66%
Saturation
25%
Lightness
Blue
Color Harmonies
Colors that work well with #1F166A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F166A against white and black backgrounds.
Aa#1F166A on White
Contrast Ratio15.2:1
AA ✓AA Large ✓AAA ✓
Aa#1F166A on Black
Contrast Ratio1.38:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F166A across different color formats.
| Format | Value |
|---|---|
| HEX | #1F166A |
| RGB | rgb(31, 22, 106) |
| HSL | hsl(246, 66%, 25%) |
| RGB Decimal | 31, 22, 106 |
| RGB Percent | 12.2%, 8.6%, 41.6% |
| CMYK (approx.) | 71%, 79%, 0%, 58% |
Related Palettes
12 palettes using #1F166A or similar colors