#1F1F2E
Dark Blue
HEX
RGB
HSL
About #1F1F2E Dark Blue
#1F1F2E is a dark blue color. In the RGB color model, it is composed of 31 red, 31 green, and 46 blue. In the HSL color space, it has a hue of 240°, saturation of 19%, and lightness of 15%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #1F1F2E in your CSS, SCSS, or Tailwind projects.
Color Properties
240°
Hue
19%
Saturation
15%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #1F1F2E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F1F2E against white and black backgrounds.
Aa#1F1F2E on White
Contrast Ratio16.23:1
AA ✓AA Large ✓AAA ✓
Aa#1F1F2E on Black
Contrast Ratio1.29:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F1F2E across different color formats.
| Format | Value |
|---|---|
| HEX | #1F1F2E |
| RGB | rgb(31, 31, 46) |
| HSL | hsl(240, 19%, 15%) |
| RGB Decimal | 31, 31, 46 |
| RGB Percent | 12.2%, 12.2%, 18.0% |
| CMYK (approx.) | 33%, 33%, 0%, 82% |
Related Palettes
12 palettes using #1F1F2E or similar colors